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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 105.3 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.637/2.637, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001488, allocations: 71.98 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3628, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.7361/1.099, allocations: 74.73 MB / 1.1 GB, free: 19.7 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03449/1.134, allocations: 21.49 MB / 1.121 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006255/1.14, allocations: 101.3 kB / 1.121 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01311/1.153, allocations: 4.591 MB / 1.125 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0123/1.165, allocations: 3.079 MB / 1.128 GB, free: 3.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007537/1.173, allocations: 2.208 MB / 1.13 GB, free: 2.148 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01887/1.192, allocations: 7.982 MB / 1.138 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005293/1.197, allocations: 1.988 MB / 1.14 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007298/1.204, allocations: 2.142 MB / 1.142 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004113/1.209, allocations: 1.566 MB / 1.144 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0008199/1.209, allocations: 213.3 kB / 1.144 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006987/1.216, allocations: 1.997 MB / 1.146 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001512/1.218, allocations: 0.7823 MB / 1.147 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003864/1.222, allocations: 1.396 MB / 1.148 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01148/1.233, allocations: 4.414 MB / 1.152 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.233, allocations: 0 / 1.152 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/1.233, allocations: 1.219 kB / 1.152 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001449/1.234, allocations: 0 / 1.152 GB, free: 7.293 MB / 0.8575 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.009817/1.243, allocations: 3.188 MB / 1.155 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/1.244, allocations: 9.156 kB / 1.155 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007138/1.251, allocations: 1.146 MB / 1.157 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008357/1.259, allocations: 2.95 MB / 1.159 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002991/1.259, allocations: 153.3 kB / 1.16 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000492/1.26, allocations: 129.2 kB / 1.16 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005449/1.265, allocations: 1.927 MB / 1.162 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/1.265, allocations: 1.5 kB / 1.162 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/1.266, allocations: 60.42 kB / 1.162 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.613e-05/1.266, allocations: 30.69 kB / 1.162 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006405/1.272, allocations: 2.058 MB / 1.164 GB, free: 56 kB / 0.8575 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.01651/1.289, allocations: 8.495 MB / 1.172 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004733/1.293, allocations: 1.627 MB / 1.174 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002014/1.296, allocations: 0.736 MB / 1.174 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00692/1.302, allocations: 3.844 MB / 1.178 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/1.303, allocations: 38.06 kB / 1.178 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001164/1.304, allocations: 114.1 kB / 1.178 GB, free: 4.398 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=57): time 3.126e-06/1.304, allocations: 4 kB / 1.178 GB, free: 4.395 MB / 0.8731 GB Notification: Performance of matching and sorting (n=57): time 0.01265/1.316, allocations: 3.064 MB / 1.181 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/1.316, allocations: 63.91 kB / 1.181 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004428/1.321, allocations: 2.638 MB / 1.184 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000272/1.321, allocations: 45.7 kB / 1.184 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009805/1.322, allocations: 1.107 MB / 1.185 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/1.322, allocations: 209.1 kB / 1.185 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005822/1.323, allocations: 338.4 kB / 1.186 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.323, allocations: 309.1 kB / 1.186 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002341/1.326, allocations: 0.9167 MB / 1.187 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002796/1.328, allocations: 1.343 MB / 1.188 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00479/1.333, allocations: 2.002 MB / 1.19 GB, free: 8.23 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/1.333, allocations: 3.938 kB / 1.19 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.007715/1.341, allocations: 2.732 MB / 1.193 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/1.341, allocations: 12 kB / 1.193 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/1.341, allocations: 8 kB / 1.193 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/1.342, allocations: 0.5086 MB / 1.193 GB, free: 4.949 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/1.344, allocations: 371.4 kB / 1.194 GB, free: 4.586 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/1.346, allocations: 1.126 MB / 1.195 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003039/1.349, allocations: 212.4 kB / 1.195 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/1.35, allocations: 75.95 kB / 1.195 GB, free: 3.152 MB / 0.8887 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.001312/1.351, allocations: 0.5559 MB / 1.195 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008267/1.352, allocations: 244.8 kB / 1.196 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006207/1.358, allocations: 2.106 MB / 1.198 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/1.358, allocations: 8 kB / 1.198 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/1.358, allocations: 0 / 1.198 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.358, allocations: 3.984 kB / 1.198 GB, free: 228 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/1.368, allocations: 4.091 MB / 1.202 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/1.368, allocations: 4 kB / 1.202 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/1.369, allocations: 199.9 kB / 1.202 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/1.37, allocations: 0.4926 MB / 1.202 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.924e-05/1.371, allocations: 31.97 kB / 1.202 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/1.373, allocations: 1.11 MB / 1.204 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/1.373, allocations: 7.969 kB / 1.204 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007033/1.38, allocations: 2.181 MB / 1.206 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001783/1.382, allocations: 493.7 kB / 1.206 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005265/1.382, allocations: 16 kB / 1.206 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/1.384, allocations: 163.8 kB / 1.206 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/1.384, allocations: 56.38 kB / 1.206 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.384, allocations: 43.95 kB / 1.206 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002985/1.387, allocations: 1.823 MB / 1.208 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of sort global known variables: time 6.21e-07/1.387, allocations: 0 / 1.208 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002864/1.39, allocations: 0.7334 MB / 1.209 GB, free: 4.582 MB / 0.9044 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.001758/1.392, allocations: 0.6964 MB / 1.21 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005947/1.398, allocations: 2.003 MB / 1.212 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.398, allocations: 0 / 1.212 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002717/1.401, allocations: 0.8471 MB / 1.212 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005629/1.406, allocations: 1.16 MB / 1.213 GB, free: 15.9 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008665/1.415, allocations: 4.117 MB / 1.218 GB, free: 11.71 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/1.416, allocations: 1.629 MB / 1.219 GB, free: 10.05 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002393/1.419, allocations: 466.9 kB / 1.22 GB, free: 9.594 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006276/1.419, allocations: 195.3 kB / 1.22 GB, free: 9.402 MB / 0.92 GB Notification: Performance of SimCode: time 9.52e-07/1.419, allocations: 4 kB / 1.22 GB, free: 9.398 MB / 0.92 GB Notification: Performance of Templates: time 0.08361/1.503, allocations: 47.28 MB / 1.266 GB, free: 10.74 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches