Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009397/0.0009397, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0009427/0.0009427, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 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.9056/0.9056, allocations: 177.2 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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 2.354/2.354, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.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_latest_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_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.102e-05, allocations: 9.406 kB / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.01633/0.01635, allocations: 22.15 MB / 0.9114 GB, free: 3.543 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01558/0.03192, allocations: 11.77 MB / 0.9229 GB, free: 7.75 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002652/0.03457, allocations: 134.9 kB / 0.923 GB, free: 7.617 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.004092/0.03867, allocations: 1.749 MB / 0.9247 GB, free: 5.859 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.004679/0.04335, allocations: 2.413 MB / 0.927 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.004218/0.04756, allocations: 2.627 MB / 0.9296 GB, free: 0.8047 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.009093/0.05666, allocations: 8.923 MB / 0.9383 GB, free: 7.859 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00268/0.05934, allocations: 1.683 MB / 0.94 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005154/0.06449, allocations: 3.158 MB / 0.9431 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002187/0.06668, allocations: 1.398 MB / 0.9444 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.000452/0.06713, allocations: 204 kB / 0.9446 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.06894, allocations: 0.8384 MB / 0.9454 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0006009/0.06954, allocations: 0.8329 MB / 0.9462 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000985/0.07052, allocations: 0.8961 MB / 0.9471 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003066/0.07359, allocations: 2.518 MB / 0.9496 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.07359, allocations: 0 / 0.9496 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.253e-06/0.0736, allocations: 0 / 0.9496 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.287e-05/0.07364, allocations: 4 kB / 0.9496 GB, free: 12.29 MB / 0.9167 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.003494/0.07713, allocations: 3.287 MB / 0.9528 GB, free: 8.945 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.07718, allocations: 8.625 kB / 0.9528 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002512/0.07969, allocations: 1.044 MB / 0.9538 GB, free: 7.891 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002719/0.08241, allocations: 2.548 MB / 0.9563 GB, free: 5.266 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.08254, allocations: 181.9 kB / 0.9565 GB, free: 5.074 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.08268, allocations: 144 kB / 0.9566 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.08433, allocations: 1.333 MB / 0.9579 GB, free: 3.488 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.08435, allocations: 4 kB / 0.9579 GB, free: 3.484 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.153e-05/0.08445, allocations: 55.94 kB / 0.958 GB, free: 3.43 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.08446, allocations: 28 kB / 0.958 GB, free: 3.402 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007636/0.08523, allocations: 0.5429 MB / 0.9585 GB, free: 2.848 MB / 0.9167 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.007048/0.09227, allocations: 6.442 MB / 0.9648 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009505/0.09323, allocations: 0.5481 MB / 0.9654 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.09348, allocations: 193.5 kB / 0.9655 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002698/0.09618, allocations: 1.802 MB / 0.9673 GB, free: 9.664 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.09621, allocations: 45.88 kB / 0.9674 GB, free: 9.609 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003848/0.09659, allocations: 111.3 kB / 0.9675 GB, free: 9.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=57): time 2.845e-06/0.0966, allocations: 0 / 0.9675 GB, free: 9.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57): time 0.003098/0.09969, allocations: 1.24 MB / 0.9687 GB, free: 8.246 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.09972, allocations: 59.91 kB / 0.9687 GB, free: 8.176 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.1014, allocations: 2.089 MB / 0.9708 GB, free: 6.074 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.445e-05/0.1015, allocations: 45.69 kB / 0.9708 GB, free: 6.023 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007787/0.1022, allocations: 1.345 MB / 0.9721 GB, free: 4.668 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.1024, allocations: 214.2 kB / 0.9723 GB, free: 4.457 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.1026, allocations: 272.3 kB / 0.9726 GB, free: 4.184 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1028, allocations: 0.5198 MB / 0.9731 GB, free: 3.656 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005993/0.1034, allocations: 190.5 kB / 0.9733 GB, free: 3.469 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006828/0.1041, allocations: 1.145 MB / 0.9744 GB, free: 1.957 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009061/0.105, allocations: 1.046 MB / 0.9754 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.105, allocations: 4 kB / 0.9754 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002093/0.1071, allocations: 1.273 MB / 0.9767 GB, free: 15.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1071, allocations: 15.98 kB / 0.9767 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.1071, allocations: 12 kB / 0.9767 GB, free: 15.31 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004113/0.1075, allocations: 271.3 kB / 0.9769 GB, free: 15.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/0.1081, allocations: 299.5 kB / 0.9772 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006461/0.1088, allocations: 0.956 MB / 0.9782 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008579/0.1096, allocations: 123.9 kB / 0.9783 GB, free: 13.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.59e-05/0.1097, allocations: 63.95 kB / 0.9783 GB, free: 13.58 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (128): * Single equations (assignments): 126 * 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.0004462/0.1102, allocations: 244.1 kB / 0.9786 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/0.1104, allocations: 250.4 kB / 0.9788 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00178/0.1122, allocations: 0.9547 MB / 0.9797 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.1122, allocations: 4 kB / 0.9798 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.1122, allocations: 0 / 0.9798 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.1122, allocations: 11.97 kB / 0.9798 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00324/0.1155, allocations: 2.542 MB / 0.9822 GB, free: 9.465 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.1155, allocations: 4 kB / 0.9822 GB, free: 9.461 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003867/0.1159, allocations: 156.1 kB / 0.9824 GB, free: 9.309 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000337/0.1162, allocations: 235.4 kB / 0.9826 GB, free: 9.074 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/0.1163, allocations: 31.97 kB / 0.9827 GB, free: 9.043 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006068/0.1169, allocations: 0.9483 MB / 0.9836 GB, free: 8.062 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.1169, allocations: 3.938 kB / 0.9836 GB, free: 8.059 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.1185, allocations: 1.11 MB / 0.9847 GB, free: 6.879 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005807/0.1191, allocations: 390.1 kB / 0.985 GB, free: 6.496 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.1193, allocations: 15.94 kB / 0.9851 GB, free: 6.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005978/0.1199, allocations: 87.92 kB / 0.9851 GB, free: 6.395 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.1199, allocations: 56.34 kB / 0.9852 GB, free: 6.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.193e-05/0.12, allocations: 39.89 kB / 0.9852 GB, free: 6.301 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001045/0.121, allocations: 1.119 MB / 0.9863 GB, free: 5.176 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.121, allocations: 0 / 0.9863 GB, free: 5.176 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00146/0.1225, allocations: 0.5652 MB / 0.9869 GB, free: 4.609 MB / 0.948 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.0004812/0.123, allocations: 262.8 kB / 0.9871 GB, free: 4.344 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001332/0.1243, allocations: 0.6826 MB / 0.9878 GB, free: 3.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1243, allocations: 0.9375 kB / 0.9878 GB, free: 3.66 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005148/0.1248, allocations: 308.9 kB / 0.9881 GB, free: 3.359 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/0.1272, allocations: 1.116 MB / 0.9892 GB, free: 2.266 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.1316, allocations: 3.46 MB / 0.9926 GB, free: 14.7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.1319, allocations: 462.7 kB / 0.993 GB, free: 14.22 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001154/0.1331, allocations: 417.6 kB / 0.9934 GB, free: 13.82 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001864/0.1349, allocations: 0.9115 MB / 0.9943 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of SimCode: time 1.092e-06/0.1349, allocations: 0 / 0.9943 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of Templates: time 0.06006/0.195, allocations: 47.39 MB / 1.041 GB, free: 14.7 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.654322730842978]