Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002158/0.002158, allocations: 192 kB / 22.11 MB, free: 4.223 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.662/1.662, allocations: 225.6 MB / 250.8 MB, free: 2.914 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.134/3.134, allocations: 495.8 MB / 0.783 GB, free: 12.26 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QGen_flow|chi.QEva_flow|chi.QCon_flow|chi.CR|chi.PLR|per.PLRMax|per.PLRMin|QEva_QGen.y|QEva_P.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad")
translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QGen_flow|chi.QEva_flow|chi.QCon_flow|chi.CR|chi.PLR|per.PLRMax|per.PLRMin|QEva_QGen.y|QEva_P.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002467, allocations: 67.89 kB / 1.137 GB, free: 12.21 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.297/1.3, allocations: 173.6 MB / 1.307 GB, free: 33.72 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.08273/1.382, allocations: 75.35 MB / 1.38 GB, free: 12.36 MB / 1.092 GB
Notification: Performance of NFInst.instExpressions: time 0.04335/1.426, allocations: 21.53 MB / 1.401 GB, free: 13.11 MB / 1.107 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.006557/1.432, allocations: 132.5 kB / 1.401 GB, free: 13.04 MB / 1.107 GB
Notification: Performance of NFTyping.typeComponents: time 0.009548/1.442, allocations: 2.289 MB / 1.404 GB, free: 11.96 MB / 1.107 GB
Notification: Performance of NFTyping.typeBindings: time 0.01516/1.457, allocations: 3.387 MB / 1.407 GB, free: 10 MB / 1.107 GB
Notification: Performance of NFTyping.typeClassSections: time 0.009989/1.467, allocations: 2.384 MB / 1.409 GB, free: 8.77 MB / 1.107 GB
Notification: Performance of NFFlatten.flatten: time 0.01953/1.486, allocations: 8.061 MB / 1.417 GB, free: 5.488 MB / 1.107 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.004869/1.491, allocations: 1.616 MB / 1.419 GB, free: 4.633 MB / 1.107 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.009008/1.5, allocations: 2.422 MB / 1.421 GB, free: 3.488 MB / 1.107 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.005722/1.506, allocations: 1.654 MB / 1.423 GB, free: 2.715 MB / 1.107 GB
Notification: Performance of NFPackage.collectConstants: time 0.0008952/1.507, allocations: 220.6 kB / 1.423 GB, free: 2.711 MB / 1.107 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.007299/1.514, allocations: 1.789 MB / 1.425 GB, free: 2.152 MB / 1.107 GB
Notification: Performance of NFScalarize.scalarize: time 0.001907/1.516, allocations: 0.8082 MB / 1.426 GB, free: 1.734 MB / 1.107 GB
Notification: Performance of NFVerifyModel.verify: time 0.004418/1.521, allocations: 1.421 MB / 1.427 GB, free: 0.8164 MB / 1.107 GB
Notification: Performance of NFConvertDAE.convert: time 0.01421/1.535, allocations: 4.434 MB / 1.431 GB, free: 14.71 MB / 1.123 GB
Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/1.535, allocations: 0 / 1.431 GB, free: 14.71 MB / 1.123 GB
Notification: Performance of FrontEnd: time 2.205e-06/1.535, allocations: 1.375 kB / 1.431 GB, free: 14.71 MB / 1.123 GB
Notification: Performance of Transformations before backend: time 0.0001315/1.535, allocations: 0 / 1.431 GB, free: 14.71 MB / 1.123 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 317
 * Number of variables: 317
Notification: Performance of Generate backend data structure: time 0.01101/1.546, allocations: 3.219 MB / 1.434 GB, free: 12.33 MB / 1.123 GB
Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/1.546, allocations: 13.03 kB / 1.434 GB, free: 12.33 MB / 1.123 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007537/1.553, allocations: 1.155 MB / 1.436 GB, free: 11.81 MB / 1.123 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.009728/1.563, allocations: 2.934 MB / 1.438 GB, free: 9.809 MB / 1.123 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/1.563, allocations: 153.2 kB / 1.439 GB, free: 9.715 MB / 1.123 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004451/1.564, allocations: 133.1 kB / 1.439 GB, free: 9.672 MB / 1.123 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.006125/1.57, allocations: 1.93 MB / 1.441 GB, free: 8.504 MB / 1.123 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.713e-05/1.57, allocations: 1.062 kB / 1.441 GB, free: 8.504 MB / 1.123 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/1.57, allocations: 52.31 kB / 1.441 GB, free: 8.465 MB / 1.123 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.189e-05/1.57, allocations: 34 kB / 1.441 GB, free: 8.461 MB / 1.123 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006705/1.577, allocations: 2.065 MB / 1.443 GB, free: 7.48 MB / 1.123 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.01971/1.597, allocations: 8.477 MB / 1.451 GB, free: 444 kB / 1.123 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.005491/1.602, allocations: 1.584 MB / 1.452 GB, free: 15.68 MB / 1.139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/1.605, allocations: 0.7084 MB / 1.453 GB, free: 15.34 MB / 1.139 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.008138/1.613, allocations: 2.721 MB / 1.456 GB, free: 13.38 MB / 1.139 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.925e-05/1.613, allocations: 37.84 kB / 1.456 GB, free: 13.34 MB / 1.139 GB
Notification: Performance of preOpt simplifyInStream (simulation): time 0.001409/1.614, allocations: 137.6 kB / 1.456 GB, free: 13.25 MB / 1.139 GB
Notification: Performance of pre-optimization done (n=57): time 4.198e-06/1.614, allocations: 4 kB / 1.456 GB, free: 13.24 MB / 1.139 GB
Notification: Performance of matching and sorting (n=57): time 0.01431/1.628, allocations: 2.997 MB / 1.459 GB, free: 11.8 MB / 1.139 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/1.629, allocations: 61.95 kB / 1.459 GB, free: 11.73 MB / 1.139 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005765/1.634, allocations: 2.658 MB / 1.462 GB, free: 9.586 MB / 1.139 GB
Notification: Performance of collectPreVariables (initialization): time 0.0003866/1.635, allocations: 41.7 kB / 1.462 GB, free: 9.539 MB / 1.139 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001269/1.636, allocations: 1.116 MB / 1.463 GB, free: 8.414 MB / 1.139 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0003975/1.636, allocations: 218.2 kB / 1.463 GB, free: 8.199 MB / 1.139 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006918/1.637, allocations: 338.6 kB / 1.463 GB, free: 7.859 MB / 1.139 GB
Notification: Performance of setup shared object (initialization): time 0.0001717/1.637, allocations: 309.1 kB / 1.464 GB, free: 7.555 MB / 1.139 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002562/1.64, allocations: 0.9206 MB / 1.464 GB, free: 6.637 MB / 1.139 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003214/1.643, allocations: 1.339 MB / 1.466 GB, free: 5.121 MB / 1.139 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005267/1.648, allocations: 2.023 MB / 1.468 GB, free: 2.949 MB / 1.139 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.139e-05/1.648, allocations: 4 kB / 1.468 GB, free: 2.945 MB / 1.139 GB
Notification: Performance of matching and sorting (n=186) (initialization): time 0.009805/1.658, allocations: 2.754 MB / 1.47 GB, free: 184 kB / 1.139 GB
Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/1.658, allocations: 8 kB / 1.47 GB, free: 176 kB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.605e-05/1.658, allocations: 12 kB / 1.47 GB, free: 164 kB / 1.139 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/1.66, allocations: 0.5126 MB / 1.471 GB, free: 15.64 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/1.661, allocations: 371.4 kB / 1.471 GB, free: 15.28 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/1.664, allocations: 1.13 MB / 1.472 GB, free: 14.12 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003682/1.668, allocations: 211.8 kB / 1.473 GB, free: 13.92 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002921/1.668, allocations: 75.95 kB / 1.473 GB, free: 13.84 MB / 1.154 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 49
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (146):
 * Single equations (assignments): 143
 * Array equations: 1
 * Algorithm blocks: 0
 * Record equations: 1
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,7)}
Notification: Performance of prepare postOptimizeDAE: time 0.00172/1.67, allocations: 0.556 MB / 1.473 GB, free: 13.28 MB / 1.154 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/1.671, allocations: 254.2 kB / 1.473 GB, free: 13.03 MB / 1.154 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0072/1.678, allocations: 2.108 MB / 1.475 GB, free: 10.91 MB / 1.154 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/1.678, allocations: 4 kB / 1.476 GB, free: 10.91 MB / 1.154 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.678, allocations: 4 kB / 1.476 GB, free: 10.9 MB / 1.154 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/1.678, allocations: 3.984 kB / 1.476 GB, free: 10.9 MB / 1.154 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/1.691, allocations: 4.087 MB / 1.48 GB, free: 6.711 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/1.691, allocations: 0 / 1.48 GB, free: 6.711 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.692, allocations: 204 kB / 1.48 GB, free: 6.512 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/1.693, allocations: 0.4926 MB / 1.48 GB, free: 6.016 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/1.693, allocations: 35.91 kB / 1.48 GB, free: 5.98 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002572/1.696, allocations: 1.106 MB / 1.481 GB, free: 4.848 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/1.696, allocations: 4 kB / 1.481 GB, free: 4.844 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008457/1.704, allocations: 2.195 MB / 1.483 GB, free: 2.59 MB / 1.154 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002492/1.707, allocations: 426 kB / 1.484 GB, free: 2.172 MB / 1.154 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001205/1.708, allocations: 27.88 kB / 1.484 GB, free: 2.145 MB / 1.154 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002737/1.711, allocations: 163.8 kB / 1.484 GB, free: 1.984 MB / 1.154 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/1.711, allocations: 56.34 kB / 1.484 GB, free: 1.93 MB / 1.154 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/1.711, allocations: 47.89 kB / 1.484 GB, free: 1.883 MB / 1.154 GB
Notification: Performance of sorting global known variables: time 0.0051/1.716, allocations: 1.835 MB / 1.486 GB, free: 48 kB / 1.154 GB
Notification: Performance of sort global known variables: time 1.1e-07/1.716, allocations: 0 / 1.486 GB, free: 48 kB / 1.154 GB
Notification: Performance of remove unused functions: time 0.004274/1.721, allocations: 0.7369 MB / 1.487 GB, free: 15.31 MB / 1.17 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 12
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (62):
 * Single equations (assignments): 55
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 6
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,7)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.001957/1.722, allocations: 0.7004 MB / 1.487 GB, free: 14.61 MB / 1.17 GB
Notification: Performance of simCode: created initialization part: time 0.006369/1.729, allocations: 1.928 MB / 1.489 GB, free: 12.68 MB / 1.17 GB
Notification: Performance of simCode: created event and clocks part: time 9.217e-06/1.729, allocations: 4 kB / 1.489 GB, free: 12.68 MB / 1.17 GB
Notification: Performance of simCode: created simulation system equations: time 0.002829/1.732, allocations: 0.8164 MB / 1.49 GB, free: 11.86 MB / 1.17 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00628/1.738, allocations: 1.164 MB / 1.491 GB, free: 10.73 MB / 1.17 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009754/1.748, allocations: 4.187 MB / 1.495 GB, free: 6.469 MB / 1.17 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/1.749, allocations: 1.629 MB / 1.497 GB, free: 4.805 MB / 1.17 GB
Notification: Performance of simCode: alias equations: time 0.002618/1.752, allocations: 473.8 kB / 1.497 GB, free: 4.344 MB / 1.17 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007413/1.753, allocations: 191.4 kB / 1.497 GB, free: 4.156 MB / 1.17 GB
Notification: Performance of SimCode: time 1.513e-06/1.753, allocations: 0 / 1.497 GB, free: 4.156 MB / 1.17 GB
Notification: Performance of Templates: time 0.09802/1.851, allocations: 48.58 MB / 1.545 GB, free: 4.176 MB / 1.217 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.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: 13.094338244758546]