Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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.001355/0.001355, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001539/0.001539, allocations: 212.7 kB / 23.01 MB, free: 4.566 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.257/3.257, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") [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.002032/0.002032, allocations: 62.03 kB / 1.178 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3771, allocations: 180.2 MB / 1.354 GB, free: 8.082 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.06234/0.4394, allocations: 54.69 MB / 1.407 GB, free: 1.199 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01864/0.4581, allocations: 11.55 MB / 1.419 GB, free: 5.629 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002686/0.4607, allocations: 87.25 kB / 1.419 GB, free: 5.543 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002561/0.4633, allocations: 0.7957 MB / 1.42 GB, free: 4.742 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006733/0.47, allocations: 2.313 MB / 1.422 GB, free: 2.418 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004016/0.4741, allocations: 1.444 MB / 1.423 GB, free: 0.9844 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00649/0.4805, allocations: 4.031 MB / 1.427 GB, free: 12.95 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002055/0.4826, allocations: 1.01 MB / 1.428 GB, free: 11.9 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004499/0.4871, allocations: 1.664 MB / 1.43 GB, free: 10.24 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.4894, allocations: 1.132 MB / 1.431 GB, free: 9.102 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003044/0.4898, allocations: 140 kB / 1.431 GB, free: 8.965 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002945/0.4927, allocations: 1.127 MB / 1.432 GB, free: 7.836 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005389/0.4932, allocations: 470.2 kB / 1.433 GB, free: 7.375 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.4946, allocations: 0.859 MB / 1.433 GB, free: 6.512 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005105/0.4997, allocations: 2.651 MB / 1.436 GB, free: 3.852 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4997, allocations: 0 / 1.436 GB, free: 3.852 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4997, allocations: 0 / 1.436 GB, free: 3.852 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.943e-05/0.4997, allocations: 0 / 1.436 GB, free: 3.852 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.004166/0.5039, allocations: 2.003 MB / 1.438 GB, free: 1.809 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.5039, allocations: 12.03 kB / 1.438 GB, free: 1.797 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003577/0.5075, allocations: 0.5812 MB / 1.439 GB, free: 1.215 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/0.5105, allocations: 1.356 MB / 1.44 GB, free: 15.81 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.5107, allocations: 145.4 kB / 1.44 GB, free: 15.66 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.5109, allocations: 96 kB / 1.44 GB, free: 15.56 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003189/0.5141, allocations: 1.354 MB / 1.441 GB, free: 14.17 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.5141, allocations: 4 kB / 1.441 GB, free: 14.17 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.5142, allocations: 43.88 kB / 1.442 GB, free: 14.12 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.973e-05/0.5143, allocations: 28 kB / 1.442 GB, free: 14.1 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003859/0.5181, allocations: 1.421 MB / 1.443 GB, free: 12.68 MB / 1.139 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.009327/0.5274, allocations: 5.3 MB / 1.448 GB, free: 7.141 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/0.5304, allocations: 1.033 MB / 1.449 GB, free: 6.098 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.5321, allocations: 0.5722 MB / 1.45 GB, free: 5.52 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003833/0.5324, allocations: 100.4 kB / 1.45 GB, free: 5.422 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00185/0.5343, allocations: 0.6852 MB / 1.45 GB, free: 4.727 MB / 1.139 GB Notification: Performance of pre-optimization done (n=60): time 2.505e-06/0.5343, allocations: 3.938 kB / 1.45 GB, free: 4.723 MB / 1.139 GB Notification: Performance of matching and sorting (n=60): time 0.005397/0.5397, allocations: 1.757 MB / 1.452 GB, free: 2.957 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.5398, allocations: 55.91 kB / 1.452 GB, free: 2.891 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/0.542, allocations: 1.417 MB / 1.454 GB, free: 1.465 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.5421, allocations: 41.7 kB / 1.454 GB, free: 1.418 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000663/0.5428, allocations: 0.6588 MB / 1.454 GB, free: 0.75 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.543, allocations: 214.2 kB / 1.454 GB, free: 0.5391 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002979/0.5433, allocations: 170.5 kB / 1.455 GB, free: 376 kB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.5435, allocations: 334 kB / 1.455 GB, free: 36 kB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.5451, allocations: 0.5562 MB / 1.455 GB, free: 15.48 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.5469, allocations: 0.7574 MB / 1.456 GB, free: 14.64 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003229/0.5501, allocations: 1.19 MB / 1.457 GB, free: 13.39 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.5501, allocations: 4 kB / 1.457 GB, free: 13.38 MB / 1.154 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004091/0.5542, allocations: 1.445 MB / 1.459 GB, free: 11.93 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.5543, allocations: 14 kB / 1.459 GB, free: 11.92 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.5543, allocations: 8 kB / 1.459 GB, free: 11.91 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.5543, allocations: 8 kB / 1.459 GB, free: 11.9 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.5556, allocations: 247.7 kB / 1.459 GB, free: 11.66 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.5556, allocations: 11.94 kB / 1.459 GB, free: 11.65 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.5571, allocations: 191.2 kB / 1.459 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.913e-05/0.5572, allocations: 39.98 kB / 1.459 GB, free: 11.42 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,onOff.pulseStart,$PRE.onOff.pulseStart,onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0007023/0.5579, allocations: 365.5 kB / 1.46 GB, free: 11.05 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/0.5583, allocations: 158.9 kB / 1.46 GB, free: 10.9 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003984/0.5623, allocations: 1.421 MB / 1.461 GB, free: 9.465 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.5623, allocations: 11.98 kB / 1.461 GB, free: 9.453 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5623, allocations: 0 / 1.461 GB, free: 9.453 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003378/0.5657, allocations: 1.273 MB / 1.462 GB, free: 8.152 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006606/0.5723, allocations: 2.94 MB / 1.465 GB, free: 5.125 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.5723, allocations: 4 kB / 1.465 GB, free: 5.121 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.5735, allocations: 200 kB / 1.466 GB, free: 4.926 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.5735, allocations: 4.094 kB / 1.466 GB, free: 4.922 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.042e-05/0.5735, allocations: 31.91 kB / 1.466 GB, free: 4.891 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.248e-06/0.5736, allocations: 7.938 kB / 1.466 GB, free: 4.883 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5736, allocations: 4 kB / 1.466 GB, free: 4.879 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00579/0.5793, allocations: 2.257 MB / 1.468 GB, free: 2.578 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008775/0.5802, allocations: 286.7 kB / 1.468 GB, free: 2.297 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.5805, allocations: 15.98 kB / 1.468 GB, free: 2.281 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.5817, allocations: 111.9 kB / 1.468 GB, free: 2.172 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.5818, allocations: 52.34 kB / 1.468 GB, free: 2.121 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.225e-05/0.5819, allocations: 39.95 kB / 1.468 GB, free: 2.082 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001547/0.5835, allocations: 1.003 MB / 1.469 GB, free: 1.082 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.5835, allocations: 0 / 1.469 GB, free: 1.082 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001419/0.5849, allocations: 467.1 kB / 1.47 GB, free: 0.625 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,onOff.y,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * 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.0007925/0.5857, allocations: 428.5 kB / 1.47 GB, free: 204 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003711/0.5894, allocations: 1.25 MB / 1.471 GB, free: 14.95 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.5894, allocations: 0 / 1.471 GB, free: 14.95 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001821/0.5912, allocations: 0.632 MB / 1.472 GB, free: 14.32 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003559/0.5948, allocations: 0.7652 MB / 1.473 GB, free: 13.57 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005299/0.6001, allocations: 2.756 MB / 1.475 GB, free: 10.75 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009409/0.601, allocations: 1.213 MB / 1.477 GB, free: 9.5 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006203/0.6016, allocations: 139.3 kB / 1.477 GB, free: 9.363 MB / 1.17 GB Notification: Performance of SimCode: time 1.062e-06/0.6016, allocations: 4 kB / 1.477 GB, free: 9.359 MB / 1.17 GB Notification: Performance of Templates: time 0.04362/0.6453, allocations: 26.63 MB / 1.503 GB, free: 14.88 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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: 16.31315815198468]