Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.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.001348/0.001348, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 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.001633/0.001633, allocations: 169 kB / 24.28 MB, free: 276 kB / 18.57 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 0.9534/0.9534, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.859/1.859, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.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_11_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_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/2.007e-05, allocations: 3.375 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.0608/0.06082, allocations: 77.43 MB / 0.8627 GB, free: 15.18 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.02271/0.08353, allocations: 21.91 MB / 0.8841 GB, free: 9.215 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.08579, allocations: 134.9 kB / 0.8842 GB, free: 9.082 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.004225/0.09001, allocations: 2.196 MB / 0.8864 GB, free: 6.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.005441/0.09545, allocations: 3.478 MB / 0.8898 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003847/0.0993, allocations: 2.37 MB / 0.8921 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.008575/0.1079, allocations: 9.224 MB / 0.9011 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001742/0.1096, allocations: 1.701 MB / 0.9027 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.1131, allocations: 3.039 MB / 0.9057 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.1146, allocations: 1.43 MB / 0.9071 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002058/0.1148, allocations: 208 kB / 0.9073 GB, free: 1.359 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.1169, allocations: 1.434 MB / 0.9087 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004887/0.1174, allocations: 0.8213 MB / 0.9095 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006996/0.1181, allocations: 0.8961 MB / 0.9104 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.002887/0.121, allocations: 2.931 MB / 0.9132 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.121, allocations: 0 / 0.9132 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.122e-06/0.121, allocations: 0 / 0.9132 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.053e-05/0.121, allocations: 0 / 0.9132 GB, free: 11.26 MB / 0.8698 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.003351/0.1244, allocations: 3.314 MB / 0.9165 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1244, allocations: 8.031 kB / 0.9165 GB, free: 7.875 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00272/0.1271, allocations: 1.036 MB / 0.9175 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002982/0.1301, allocations: 2.675 MB / 0.9201 GB, free: 4.078 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.1302, allocations: 177.9 kB / 0.9203 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.1304, allocations: 128 kB / 0.9204 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.1323, allocations: 1.443 MB / 0.9218 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.1323, allocations: 0 / 0.9218 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.1324, allocations: 52 kB / 0.9219 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.1325, allocations: 32 kB / 0.9219 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.1337, allocations: 0.689 MB / 0.9226 GB, free: 1.43 MB / 0.8698 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.006434/0.1401, allocations: 6.325 MB / 0.9287 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.1413, allocations: 0.6109 MB / 0.9293 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003708/0.1417, allocations: 225.5 kB / 0.9296 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002332/0.144, allocations: 1.805 MB / 0.9313 GB, free: 8.266 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.144, allocations: 41.89 kB / 0.9314 GB, free: 8.215 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003288/0.1444, allocations: 103.4 kB / 0.9315 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=57): time 2.214e-06/0.1444, allocations: 0 / 0.9315 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57): time 0.003536/0.1479, allocations: 1.334 MB / 0.9328 GB, free: 6.77 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.1479, allocations: 59.91 kB / 0.9328 GB, free: 6.699 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.1499, allocations: 2.07 MB / 0.9348 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.428e-05/0.15, allocations: 37.7 kB / 0.9349 GB, free: 4.57 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007505/0.1507, allocations: 1.313 MB / 0.9362 GB, free: 3.246 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.1509, allocations: 206.2 kB / 0.9364 GB, free: 3.043 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/0.1511, allocations: 232.1 kB / 0.9366 GB, free: 2.805 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1512, allocations: 0.516 MB / 0.9371 GB, free: 2.281 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/0.1516, allocations: 197.9 kB / 0.9373 GB, free: 2.09 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006775/0.1523, allocations: 0.9904 MB / 0.9382 GB, free: 0.8047 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009205/0.1532, allocations: 0.8912 MB / 0.9391 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.1532, allocations: 4 kB / 0.9391 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002113/0.1553, allocations: 1.21 MB / 0.9403 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1554, allocations: 16.06 kB / 0.9403 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.1554, allocations: 12 kB / 0.9403 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005784/0.1559, allocations: 255.3 kB / 0.9406 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.1565, allocations: 267.5 kB / 0.9408 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007017/0.1572, allocations: 0.9678 MB / 0.9418 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006783/0.1579, allocations: 123.9 kB / 0.9419 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-05/0.158, allocations: 63.89 kB / 0.9419 GB, free: 12.76 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (110): * Single equations (assignments): 108 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0003302/0.1583, allocations: 224.3 kB / 0.9422 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002541/0.1586, allocations: 254.4 kB / 0.9424 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/0.1604, allocations: 1.011 MB / 0.9434 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.1604, allocations: 7.984 kB / 0.9434 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.1604, allocations: 0 / 0.9434 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1604, allocations: 4 kB / 0.9434 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/0.1636, allocations: 2.541 MB / 0.9459 GB, free: 8.613 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.1636, allocations: 4 kB / 0.9459 GB, free: 8.609 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/0.164, allocations: 151.9 kB / 0.946 GB, free: 8.461 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003383/0.1644, allocations: 243.3 kB / 0.9463 GB, free: 8.219 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/0.1644, allocations: 31.97 kB / 0.9463 GB, free: 8.188 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006398/0.1651, allocations: 0.9483 MB / 0.9472 GB, free: 7.207 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.1651, allocations: 15.86 kB / 0.9472 GB, free: 7.191 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.167, allocations: 1.16 MB / 0.9484 GB, free: 5.961 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/0.1674, allocations: 386.2 kB / 0.9487 GB, free: 5.582 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.1676, allocations: 19.98 kB / 0.9488 GB, free: 5.562 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000593/0.1682, allocations: 91.92 kB / 0.9488 GB, free: 5.473 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.308e-05/0.1683, allocations: 64.27 kB / 0.9489 GB, free: 5.41 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.259e-05/0.1683, allocations: 39.95 kB / 0.9489 GB, free: 5.371 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001103/0.1694, allocations: 1.18 MB / 0.9501 GB, free: 4.184 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1694, allocations: 0 / 0.9501 GB, free: 4.184 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001188/0.1706, allocations: 0.6664 MB / 0.9507 GB, free: 3.516 MB / 0.9011 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.0006422/0.1713, allocations: 0.5027 MB / 0.9512 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.1725, allocations: 0.6765 MB / 0.9519 GB, free: 2.32 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1725, allocations: 4 kB / 0.9519 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005969/0.1731, allocations: 351 kB / 0.9522 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.1754, allocations: 1.118 MB / 0.9533 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/0.1794, allocations: 3.412 MB / 0.9567 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.1797, allocations: 458.6 kB / 0.9571 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0009362/0.1807, allocations: 419 kB / 0.9575 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.181, allocations: 180.4 kB / 0.9577 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of SimCode: time 7.11e-07/0.181, allocations: 0 / 0.9577 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of Templates: time 0.04802/0.229, allocations: 46.47 MB / 1.003 GB, free: 14.84 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.884145396994427]