Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.00142/0.00142, allocations: 114.3 kB / 16.37 MB, free: 6 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.001536/0.001536, allocations: 195.9 kB / 17.31 MB, free: 5.613 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.736/2.736, allocations: 437.1 MB / 0.7112 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 73.66 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3482, allocations: 151.6 MB / 1.019 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.7013/1.049, allocations: 74.74 MB / 1.092 GB, free: 20.08 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03757/1.087, allocations: 21.48 MB / 1.113 GB, free: 16.08 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004722/1.092, allocations: 101.6 kB / 1.113 GB, free: 16.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01094/1.103, allocations: 4.589 MB / 1.117 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01034/1.113, allocations: 3.082 MB / 1.12 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006359/1.12, allocations: 2.202 MB / 1.122 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01394/1.134, allocations: 7.989 MB / 1.13 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003945/1.138, allocations: 1.983 MB / 1.132 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005474/1.143, allocations: 2.143 MB / 1.134 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00343/1.147, allocations: 1.574 MB / 1.136 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0009539/1.147, allocations: 209.8 kB / 1.136 GB, free: 5.516 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006092/1.154, allocations: 1.999 MB / 1.138 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001493/1.155, allocations: 0.7746 MB / 1.139 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002971/1.158, allocations: 1.404 MB / 1.14 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01037/1.169, allocations: 4.41 MB / 1.144 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/1.169, allocations: 1.406 kB / 1.144 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.215e-06/1.169, allocations: 3.938 kB / 1.144 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.244e-05/1.169, allocations: 0 / 1.144 GB, free: 1.289 MB / 0.8419 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.008891/1.178, allocations: 3.189 MB / 1.148 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/1.178, allocations: 13.92 kB / 1.148 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007112/1.185, allocations: 1.149 MB / 1.149 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006874/1.192, allocations: 2.951 MB / 1.152 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/1.192, allocations: 145.1 kB / 1.152 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002801/1.192, allocations: 133.1 kB / 1.152 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004592/1.197, allocations: 1.932 MB / 1.154 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/1.197, allocations: 0 / 1.154 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/1.197, allocations: 53.22 kB / 1.154 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/1.197, allocations: 31.44 kB / 1.154 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005655/1.203, allocations: 2.05 MB / 1.156 GB, free: 10.06 MB / 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.01557/1.218, allocations: 8.501 MB / 1.164 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004862/1.223, allocations: 1.628 MB / 1.166 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00206/1.225, allocations: 0.729 MB / 1.166 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006842/1.232, allocations: 3.848 MB / 1.17 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/1.232, allocations: 41.62 kB / 1.17 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001479/1.234, allocations: 111 kB / 1.17 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=57): time 5.17e-06/1.234, allocations: 0 / 1.17 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of matching and sorting (n=57): time 0.01346/1.247, allocations: 3.066 MB / 1.173 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/1.247, allocations: 59.44 kB / 1.173 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004936/1.252, allocations: 2.638 MB / 1.176 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002602/1.253, allocations: 41.7 kB / 1.176 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009191/1.253, allocations: 1.114 MB / 1.177 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002397/1.254, allocations: 209.1 kB / 1.177 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005232/1.254, allocations: 334.5 kB / 1.178 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.393e-05/1.254, allocations: 309.1 kB / 1.178 GB, free: 8.316 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002336/1.257, allocations: 0.9128 MB / 1.179 GB, free: 7.402 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002789/1.259, allocations: 1.34 MB / 1.18 GB, free: 5.891 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004625/1.264, allocations: 2.01 MB / 1.182 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/1.264, allocations: 4 kB / 1.182 GB, free: 3.723 MB / 0.8731 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.007524/1.272, allocations: 2.736 MB / 1.185 GB, free: 0.9766 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/1.272, allocations: 12.09 kB / 1.185 GB, free: 0.9648 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/1.272, allocations: 12 kB / 1.185 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/1.273, allocations: 0.5121 MB / 1.185 GB, free: 448 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/1.275, allocations: 367.5 kB / 1.186 GB, free: 80 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/1.277, allocations: 1.126 MB / 1.187 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/1.28, allocations: 220.3 kB / 1.187 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/1.28, allocations: 67.95 kB / 1.187 GB, free: 14.64 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.001376/1.281, allocations: 0.5598 MB / 1.188 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006979/1.282, allocations: 244.8 kB / 1.188 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006363/1.289, allocations: 2.102 MB / 1.19 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/1.289, allocations: 8 kB / 1.19 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/1.289, allocations: 0 / 1.19 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/1.289, allocations: 7.984 kB / 1.19 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009901/1.299, allocations: 4.083 MB / 1.194 GB, free: 7.516 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/1.299, allocations: 4 kB / 1.194 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/1.3, allocations: 208 kB / 1.194 GB, free: 7.309 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001165/1.301, allocations: 0.4926 MB / 1.194 GB, free: 6.812 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.348e-05/1.301, allocations: 27.97 kB / 1.195 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002188/1.303, allocations: 1.103 MB / 1.196 GB, free: 5.656 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/1.303, allocations: 7.938 kB / 1.196 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007237/1.31, allocations: 2.169 MB / 1.198 GB, free: 3.426 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/1.312, allocations: 497.6 kB / 1.198 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004198/1.312, allocations: 16 kB / 1.198 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/1.314, allocations: 167.8 kB / 1.198 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/1.314, allocations: 52.38 kB / 1.198 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/1.315, allocations: 47.89 kB / 1.198 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002964/1.317, allocations: 1.815 MB / 1.2 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.3e-07/1.318, allocations: 0 / 1.2 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002725/1.32, allocations: 0.7334 MB / 1.201 GB, free: 92 kB / 0.8887 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.001753/1.322, allocations: 0.7125 MB / 1.202 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005931/1.328, allocations: 1.991 MB / 1.204 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.328, allocations: 3.938 kB / 1.204 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00272/1.331, allocations: 0.851 MB / 1.204 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005197/1.336, allocations: 1.156 MB / 1.206 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007456/1.343, allocations: 4.117 MB / 1.21 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/1.345, allocations: 1.636 MB / 1.211 GB, free: 5.547 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001933/1.347, allocations: 462.5 kB / 1.212 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005433/1.347, allocations: 187.4 kB / 1.212 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of SimCode: time 5.31e-07/1.347, allocations: 0 / 1.212 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of Templates: time 0.07641/1.424, allocations: 47.31 MB / 1.258 GB, free: 6.23 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches