Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|absIndSte.QEva_flow|absIndSte.QGen_flow|absIndSte.QCon_flow|absIndSte.sta_a1.T|absIndSte.sta_b1.T|absIndSte.sta_a2.T|absIndSte.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001551/0.001551, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.884/2.884, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 67.36 kB / 0.8984 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3328, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05314/0.3859, allocations: 53.15 MB / 1.104 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01806/0.4041, allocations: 11.54 MB / 1.115 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/0.4066, allocations: 51.69 kB / 1.115 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.4094, allocations: 0.6334 MB / 1.116 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006387/0.4158, allocations: 1.983 MB / 1.118 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003628/0.4195, allocations: 1.254 MB / 1.119 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006749/0.4262, allocations: 5.044 MB / 1.124 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002598/0.4288, allocations: 1.095 MB / 1.125 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00352/0.4324, allocations: 1.19 MB / 1.126 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/0.4351, allocations: 1.097 MB / 1.127 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005155/0.4356, allocations: 68 kB / 1.127 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003471/0.4391, allocations: 0.9548 MB / 1.128 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007578/0.4399, allocations: 366.6 kB / 1.129 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.4417, allocations: 0.781 MB / 1.129 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004627/0.4463, allocations: 2.516 MB / 1.132 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4463, allocations: 0 / 1.132 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4464, allocations: 0 / 1.132 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.894e-05/0.4465, allocations: 3.938 kB / 1.132 GB, free: 6.855 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.005889/0.4524, allocations: 2.022 MB / 1.134 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.4524, allocations: 8.031 kB / 1.134 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003724/0.4561, allocations: 0.5725 MB / 1.134 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002804/0.459, allocations: 1.371 MB / 1.136 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002035/0.4592, allocations: 115.7 kB / 1.136 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002832/0.4595, allocations: 96 kB / 1.136 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003863/0.4634, allocations: 1.358 MB / 1.137 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.4634, allocations: 0 / 1.137 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.4636, allocations: 39.98 kB / 1.137 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-05/0.4636, allocations: 24 kB / 1.137 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004115/0.4678, allocations: 1.429 MB / 1.139 GB, free: 15.67 MB / 0.9044 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.01035/0.4781, allocations: 5.367 MB / 1.144 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00306/0.4812, allocations: 1.071 MB / 1.145 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.4828, allocations: 0.5958 MB / 1.146 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009803/0.4838, allocations: 1.069 MB / 1.147 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001894/0.4858, allocations: 0.6744 MB / 1.147 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=60): time 4.459e-06/0.4858, allocations: 0 / 1.147 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60): time 0.005295/0.4911, allocations: 1.758 MB / 1.149 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/0.4912, allocations: 59.97 kB / 1.149 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002604/0.4938, allocations: 1.401 MB / 1.15 GB, free: 3.141 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.494, allocations: 37.7 kB / 1.151 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007079/0.4947, allocations: 0.6385 MB / 1.151 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000285/0.495, allocations: 209 kB / 1.151 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003986/0.4954, allocations: 170.4 kB / 1.152 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4955, allocations: 333.9 kB / 1.152 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.4972, allocations: 0.5562 MB / 1.152 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.499, allocations: 0.7496 MB / 1.153 GB, free: 360 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003251/0.5023, allocations: 1.193 MB / 1.154 GB, free: 15.09 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.5023, allocations: 4 kB / 1.154 GB, free: 15.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004564/0.5069, allocations: 1.433 MB / 1.156 GB, free: 13.64 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.5069, allocations: 11.94 kB / 1.156 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.5069, allocations: 4 kB / 1.156 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.507, allocations: 8 kB / 1.156 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.5083, allocations: 243.8 kB / 1.156 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.864e-05/0.5083, allocations: 15.92 kB / 1.156 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/0.5103, allocations: 218.8 kB / 1.156 GB, free: 13.15 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.5104, allocations: 35.98 kB / 1.156 GB, free: 13.12 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,onOff.pulseStart,$PRE.onOff.pulseStart,onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001033/0.5115, allocations: 361.6 kB / 1.157 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006083/0.5121, allocations: 154.1 kB / 1.157 GB, free: 12.6 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004086/0.5162, allocations: 1.411 MB / 1.158 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.5162, allocations: 4 kB / 1.158 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.5162, allocations: 4 kB / 1.158 GB, free: 11.17 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003361/0.5196, allocations: 1.271 MB / 1.159 GB, free: 9.875 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007412/0.527, allocations: 2.957 MB / 1.162 GB, free: 6.824 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.5271, allocations: 3.938 kB / 1.162 GB, free: 6.82 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.5283, allocations: 200 kB / 1.162 GB, free: 6.625 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.159e-05/0.5283, allocations: 11.98 kB / 1.162 GB, free: 6.613 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.134e-05/0.5284, allocations: 27.98 kB / 1.162 GB, free: 6.586 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.5284, allocations: 4 kB / 1.162 GB, free: 6.582 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.5284, allocations: 11.92 kB / 1.162 GB, free: 6.57 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006374/0.5348, allocations: 2.227 MB / 1.165 GB, free: 4.301 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.5361, allocations: 355 kB / 1.165 GB, free: 3.934 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005484/0.5366, allocations: 12 kB / 1.165 GB, free: 3.922 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001964/0.5386, allocations: 131.9 kB / 1.165 GB, free: 3.793 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.5388, allocations: 56.42 kB / 1.165 GB, free: 3.734 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.539, allocations: 31.97 kB / 1.165 GB, free: 3.703 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002323/0.5413, allocations: 0.983 MB / 1.166 GB, free: 2.723 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5413, allocations: 0 / 1.166 GB, free: 2.723 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002244/0.5436, allocations: 459.3 kB / 1.167 GB, free: 2.273 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,onOff.y,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001359/0.5449, allocations: 451.9 kB / 1.167 GB, free: 1.832 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003812/0.5488, allocations: 1.274 MB / 1.168 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5488, allocations: 0 / 1.168 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001879/0.5507, allocations: 0.6558 MB / 1.169 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004389/0.5551, allocations: 0.7127 MB / 1.17 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00581/0.5609, allocations: 3.136 MB / 1.173 GB, free: 12 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009277/0.5618, allocations: 1.221 MB / 1.174 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001591/0.5635, allocations: 313.8 kB / 1.174 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004886/0.564, allocations: 123.3 kB / 1.174 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of SimCode: time 5.71e-07/0.564, allocations: 4 kB / 1.174 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of Templates: time 0.05658/0.6205, allocations: 28.68 MB / 1.202 GB, free: 13.96 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches