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.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.0009776/0.0009776, allocations: 80.39 kB / 21.47 MB, free: 3.027 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.001069/0.001069, allocations: 168.3 kB / 24.87 MB, free: 8.883 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 1.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.834/1.834, allocations: 377.9 MB / 0.6247 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_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 2.244e-06/2.244e-06, allocations: 0.6562 kB / 0.8128 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.777e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.01849/0.01852, allocations: 22 MB / 0.8343 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01546/0.03398, allocations: 10.82 MB / 0.8448 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002897/0.03687, allocations: 134.9 kB / 0.8449 GB, free: 500 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.003573/0.04045, allocations: 1.741 MB / 0.8466 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.004168/0.04462, allocations: 2.397 MB / 0.849 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00366/0.04828, allocations: 2.288 MB / 0.8512 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.009888/0.05816, allocations: 8.855 MB / 0.8599 GB, free: 1.164 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00264/0.0608, allocations: 1.717 MB / 0.8615 GB, free: 15.39 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004314/0.06512, allocations: 3.097 MB / 0.8646 GB, free: 12.31 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/0.06702, allocations: 1.379 MB / 0.8659 GB, free: 10.93 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003215/0.06735, allocations: 200 kB / 0.8661 GB, free: 10.73 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.06871, allocations: 0.8384 MB / 0.8669 GB, free: 9.895 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005444/0.06926, allocations: 0.8174 MB / 0.8677 GB, free: 9.074 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009513/0.07021, allocations: 0.8883 MB / 0.8686 GB, free: 8.184 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003041/0.07325, allocations: 2.479 MB / 0.871 GB, free: 5.695 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.07326, allocations: 0 / 0.871 GB, free: 5.695 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.162e-06/0.07326, allocations: 0 / 0.871 GB, free: 5.695 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.197e-05/0.0733, allocations: 0 / 0.871 GB, free: 5.695 MB / 0.823 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.003415/0.07671, allocations: 3.229 MB / 0.8742 GB, free: 2.406 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.07675, allocations: 12.03 kB / 0.8742 GB, free: 2.395 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002647/0.07939, allocations: 1.04 MB / 0.8752 GB, free: 1.352 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/0.08194, allocations: 2.488 MB / 0.8776 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.08206, allocations: 177.9 kB / 0.8778 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.08222, allocations: 136 kB / 0.8779 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.08394, allocations: 1.341 MB / 0.8792 GB, free: 13 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.08396, allocations: 4 kB / 0.8792 GB, free: 13 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.08406, allocations: 48 kB / 0.8793 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.08408, allocations: 36 kB / 0.8793 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000822/0.0849, allocations: 0.5429 MB / 0.8798 GB, free: 12.36 MB / 0.8386 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.006769/0.09167, allocations: 6.413 MB / 0.8861 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.09275, allocations: 0.5439 MB / 0.8866 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.09304, allocations: 185.5 kB / 0.8868 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002584/0.09562, allocations: 1.746 MB / 0.8885 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.09566, allocations: 45.88 kB / 0.8886 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004774/0.09613, allocations: 103.4 kB / 0.8887 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=57): time 2.585e-06/0.09614, allocations: 0 / 0.8887 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of matching and sorting (n=57): time 0.003654/0.09979, allocations: 1.24 MB / 0.8899 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.09982, allocations: 59.91 kB / 0.8899 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/0.1016, allocations: 2.014 MB / 0.8919 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.161e-05/0.1017, allocations: 37.7 kB / 0.8919 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000784/0.1025, allocations: 1.325 MB / 0.8932 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.1026, allocations: 222.1 kB / 0.8934 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/0.1029, allocations: 236 kB / 0.8937 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.103, allocations: 0.5198 MB / 0.8942 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/0.1034, allocations: 173.9 kB / 0.8943 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/0.104, allocations: 0.9824 MB / 0.8953 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000834/0.1048, allocations: 0.8483 MB / 0.8961 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.1048, allocations: 4 kB / 0.8961 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002232/0.1071, allocations: 1.159 MB / 0.8973 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1071, allocations: 8 kB / 0.8973 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.1071, allocations: 12 kB / 0.8973 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004245/0.1075, allocations: 252 kB / 0.8975 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.1081, allocations: 267.6 kB / 0.8978 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006865/0.1088, allocations: 0.9482 MB / 0.8987 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008324/0.1096, allocations: 135.9 kB / 0.8988 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-05/0.1097, allocations: 55.95 kB / 0.8989 GB, free: 8.031 MB / 0.8542 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.0004013/0.1101, allocations: 216.3 kB / 0.8991 GB, free: 7.809 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/0.1104, allocations: 254.4 kB / 0.8993 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.1119, allocations: 0.9403 MB / 0.9003 GB, free: 6.609 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.112, allocations: 8 kB / 0.9003 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.112, allocations: 0 / 0.9003 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.112, allocations: 3.984 kB / 0.9003 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/0.1152, allocations: 2.513 MB / 0.9027 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1152, allocations: 4 kB / 0.9027 GB, free: 3.992 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/0.1157, allocations: 156.1 kB / 0.9029 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003467/0.116, allocations: 243.4 kB / 0.9031 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.947e-05/0.1161, allocations: 23.97 kB / 0.9031 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006508/0.1167, allocations: 0.9366 MB / 0.904 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.1167, allocations: 11.88 kB / 0.9041 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.1185, allocations: 1.098 MB / 0.9051 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005444/0.119, allocations: 378.1 kB / 0.9055 GB, free: 1.051 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.1192, allocations: 20 kB / 0.9055 GB, free: 1.031 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000616/0.1198, allocations: 103.8 kB / 0.9056 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/0.1199, allocations: 52.34 kB / 0.9057 GB, free: 0.8789 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.343e-05/0.1199, allocations: 43.89 kB / 0.9057 GB, free: 0.8359 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009576/0.1209, allocations: 1.078 MB / 0.9067 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1209, allocations: 0 / 0.9067 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001215/0.1221, allocations: 0.5691 MB / 0.9073 GB, free: 15.18 MB / 0.8698 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.0004741/0.1226, allocations: 266.7 kB / 0.9076 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001249/0.1238, allocations: 0.6307 MB / 0.9082 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1238, allocations: 4.5 kB / 0.9082 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005355/0.1244, allocations: 308.8 kB / 0.9085 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002431/0.1268, allocations: 1.117 MB / 0.9096 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/0.1313, allocations: 3.389 MB / 0.9129 GB, free: 9.387 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1316, allocations: 454.6 kB / 0.9133 GB, free: 8.91 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001283/0.1329, allocations: 406.1 kB / 0.9137 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/0.1344, allocations: 0.9153 MB / 0.9146 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of SimCode: time 1.743e-06/0.1344, allocations: 0 / 0.9146 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of Templates: time 0.0551/0.1895, allocations: 47.7 MB / 0.9612 GB, free: 8.977 MB / 0.9167 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 6.077036527916789]