Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 110.1 kB / 19.7 MB, free: 2.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 210 kB / 23.01 MB, free: 5.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.715/2.715, allocations: 476.7 MB / 0.7714 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaHigPow.sta_a.T|heaHigPow.sta_b.T|cooLimPow.sta_a.T|cooLimPow.sta_b.T|heaCooUnl.sta_a.T|heaCooUnl.sta_b.T|steSta.sta_b.T|heaHigPow.Q_flow|cooLimPow.Q_flow|heaCooUnl.Q_flow|steSta.Q_flow|heaHigPow.mWat_flow|cooLimPow.mWat_flow|heaCooUnl.mWat_flow|steSta.mWat_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 63.42 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3487, allocations: 170 MB / 1.285 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03304/0.3818, allocations: 30.01 MB / 1.314 GB, free: 13.04 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01158/0.3934, allocations: 7.031 MB / 1.321 GB, free: 5.988 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.3948, allocations: 63.38 kB / 1.321 GB, free: 5.926 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.3967, allocations: 0.707 MB / 1.322 GB, free: 5.215 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004282/0.401, allocations: 1.586 MB / 1.323 GB, free: 3.621 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.4039, allocations: 1.113 MB / 1.324 GB, free: 2.512 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003663/0.4076, allocations: 2.547 MB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.4087, allocations: 0.6582 MB / 1.327 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002107/0.4108, allocations: 1.086 MB / 1.328 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.4121, allocations: 0.8714 MB / 1.329 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.4122, allocations: 68 kB / 1.329 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002128/0.4143, allocations: 0.8772 MB / 1.33 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003619/0.4147, allocations: 294.8 kB / 1.33 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006665/0.4154, allocations: 0.5514 MB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002746/0.4181, allocations: 1.638 MB / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4181, allocations: 0 / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4181, allocations: 0 / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.29e-05/0.4182, allocations: 8 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003024/0.4212, allocations: 1.548 MB / 1.334 GB, free: 8.289 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.4212, allocations: 12.03 kB / 1.334 GB, free: 8.277 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00342/0.4246, allocations: 0.6009 MB / 1.335 GB, free: 7.676 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.4262, allocations: 0.8013 MB / 1.335 GB, free: 6.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.4263, allocations: 58.38 kB / 1.336 GB, free: 6.766 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.4264, allocations: 75.94 kB / 1.336 GB, free: 6.691 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.4288, allocations: 1.107 MB / 1.337 GB, free: 5.504 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.4288, allocations: 0 / 1.337 GB, free: 5.504 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.219e-05/0.4289, allocations: 32 kB / 1.337 GB, free: 5.473 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.4289, allocations: 20 kB / 1.337 GB, free: 5.453 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002982/0.4319, allocations: 0.9961 MB / 1.338 GB, free: 4.457 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006223/0.4382, allocations: 4.92 MB / 1.343 GB, free: 15.26 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002906/0.4411, allocations: 0.877 MB / 1.343 GB, free: 14.37 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.4425, allocations: 461.1 kB / 1.344 GB, free: 13.92 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007385/0.4432, allocations: 169.3 kB / 1.344 GB, free: 13.76 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001638/0.4449, allocations: 0.5759 MB / 1.345 GB, free: 13.17 MB / 1.045 GB Notification: Performance of pre-optimization done (n=61): time 2.815e-06/0.4449, allocations: 7.938 kB / 1.345 GB, free: 13.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=61): time 0.004617/0.4495, allocations: 1.491 MB / 1.346 GB, free: 11.66 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.4495, allocations: 63.89 kB / 1.346 GB, free: 11.59 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.451, allocations: 1.137 MB / 1.347 GB, free: 10.44 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.782e-05/0.4511, allocations: 49.7 kB / 1.347 GB, free: 10.39 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004836/0.4515, allocations: 0.5599 MB / 1.348 GB, free: 9.824 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.4517, allocations: 222.2 kB / 1.348 GB, free: 9.605 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/0.452, allocations: 162.6 kB / 1.348 GB, free: 9.441 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.4522, allocations: 334 kB / 1.348 GB, free: 9.109 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.4536, allocations: 449.6 kB / 1.349 GB, free: 8.668 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001635/0.4552, allocations: 0.7128 MB / 1.35 GB, free: 7.848 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002949/0.4581, allocations: 1.129 MB / 1.351 GB, free: 6.609 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.4582, allocations: 0 / 1.351 GB, free: 6.609 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003527/0.4617, allocations: 1.285 MB / 1.352 GB, free: 5.316 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.4617, allocations: 8 kB / 1.352 GB, free: 5.309 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.4617, allocations: 8 kB / 1.352 GB, free: 5.301 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/0.4618, allocations: 12 kB / 1.352 GB, free: 5.289 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.463, allocations: 272.3 kB / 1.352 GB, free: 5.023 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/0.463, allocations: 15.94 kB / 1.352 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.4641, allocations: 183.2 kB / 1.352 GB, free: 4.828 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.379e-05/0.4642, allocations: 43.98 kB / 1.352 GB, free: 4.785 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004965/0.4647, allocations: 295.5 kB / 1.353 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.4649, allocations: 135.1 kB / 1.353 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003765/0.4687, allocations: 1.411 MB / 1.354 GB, free: 2.93 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/0.4687, allocations: 15.97 kB / 1.354 GB, free: 2.914 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.4687, allocations: 8 kB / 1.354 GB, free: 2.906 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.4687, allocations: 3.984 kB / 1.354 GB, free: 2.902 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005091/0.4738, allocations: 2.394 MB / 1.357 GB, free: 452 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.4738, allocations: 0 / 1.357 GB, free: 452 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.4748, allocations: 187.9 kB / 1.357 GB, free: 264 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.4749, allocations: 8 kB / 1.357 GB, free: 256 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.748e-05/0.4749, allocations: 27.97 kB / 1.357 GB, free: 228 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.4749, allocations: 7.938 kB / 1.357 GB, free: 220 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4749, allocations: 4 kB / 1.357 GB, free: 216 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005082/0.48, allocations: 2.024 MB / 1.359 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004916/0.4805, allocations: 218.9 kB / 1.359 GB, free: 13.94 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.4807, allocations: 15.98 kB / 1.359 GB, free: 13.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008952/0.4816, allocations: 107.9 kB / 1.359 GB, free: 13.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.4817, allocations: 60.44 kB / 1.359 GB, free: 13.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/0.4817, allocations: 35.97 kB / 1.359 GB, free: 13.72 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001025/0.4828, allocations: 0.7841 MB / 1.36 GB, free: 12.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4828, allocations: 96 / 1.36 GB, free: 12.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001102/0.4839, allocations: 351.3 kB / 1.36 GB, free: 12.59 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002025/0.4859, allocations: 0.6413 MB / 1.361 GB, free: 12.1 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003294/0.4892, allocations: 1.092 MB / 1.362 GB, free: 11.01 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.4892, allocations: 0 / 1.362 GB, free: 11.01 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.4908, allocations: 0.5545 MB / 1.363 GB, free: 10.45 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/0.4928, allocations: 464.2 kB / 1.363 GB, free: 10.01 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004989/0.4978, allocations: 2.46 MB / 1.365 GB, free: 7.5 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007672/0.4985, allocations: 1.114 MB / 1.366 GB, free: 6.355 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004136/0.4989, allocations: 119.4 kB / 1.367 GB, free: 6.238 MB / 1.061 GB Notification: Performance of SimCode: time 1.373e-06/0.4989, allocations: 0 / 1.367 GB, free: 6.238 MB / 1.061 GB Notification: Performance of Templates: time 0.0309/0.5298, allocations: 19.4 MB / 1.386 GB, free: 2.996 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.122719678998692]