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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.001378/0.001378, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002364/0.002365, allocations: 197 kB / 16.53 MB, free: 6.664 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.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.834/2.834, allocations: 472.6 MB / 0.7451 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 62.22 kB / 0.9121 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3194, allocations: 159.9 MB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05705/0.3765, allocations: 53.46 MB / 1.12 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01931/0.3958, allocations: 11.51 MB / 1.132 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003641/0.3996, allocations: 59.69 kB / 1.132 GB, free: 9.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002652/0.4022, allocations: 0.7647 MB / 1.132 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007219/0.4095, allocations: 2.16 MB / 1.135 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004069/0.4136, allocations: 1.364 MB / 1.136 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005767/0.4194, allocations: 3.921 MB / 1.14 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00225/0.4216, allocations: 1.279 MB / 1.141 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/0.4254, allocations: 1.407 MB / 1.142 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/0.4273, allocations: 1.07 MB / 1.143 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002637/0.4276, allocations: 144 kB / 1.144 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002772/0.4304, allocations: 1.045 MB / 1.145 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004398/0.4308, allocations: 434.5 kB / 1.145 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.4319, allocations: 0.859 MB / 1.146 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003935/0.4359, allocations: 2.539 MB / 1.148 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.4359, allocations: 4 kB / 1.148 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4359, allocations: 0 / 1.148 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.733e-05/0.436, allocations: 3.938 kB / 1.148 GB, free: 8.223 MB / 0.9044 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.003793/0.4398, allocations: 2.018 MB / 1.15 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.4398, allocations: 12.03 kB / 1.15 GB, free: 6.137 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003585/0.4434, allocations: 0.5725 MB / 1.151 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002438/0.4459, allocations: 1.336 MB / 1.152 GB, free: 4.172 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.446, allocations: 119.7 kB / 1.152 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.4462, allocations: 92 kB / 1.152 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002972/0.4492, allocations: 1.365 MB / 1.154 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.4492, allocations: 0 / 1.154 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.4494, allocations: 36 kB / 1.154 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/0.4494, allocations: 31.94 kB / 1.154 GB, free: 2.492 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003845/0.4533, allocations: 1.432 MB / 1.155 GB, free: 1.059 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.007931/0.4612, allocations: 5.382 MB / 1.16 GB, free: 11.43 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/0.4641, allocations: 1.073 MB / 1.161 GB, free: 10.34 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/0.4657, allocations: 0.6003 MB / 1.162 GB, free: 9.742 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007893/0.4665, allocations: 1.069 MB / 1.163 GB, free: 8.434 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001771/0.4683, allocations: 0.6783 MB / 1.164 GB, free: 7.742 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 2.534e-06/0.4683, allocations: 0 / 1.164 GB, free: 7.742 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.005263/0.4736, allocations: 1.75 MB / 1.165 GB, free: 5.984 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.4736, allocations: 59.97 kB / 1.166 GB, free: 5.914 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.4757, allocations: 1.417 MB / 1.167 GB, free: 4.488 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.4758, allocations: 41.7 kB / 1.167 GB, free: 4.441 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006027/0.4764, allocations: 0.6463 MB / 1.168 GB, free: 3.785 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/0.4766, allocations: 205 kB / 1.168 GB, free: 3.582 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003067/0.4769, allocations: 170.4 kB / 1.168 GB, free: 3.41 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4771, allocations: 337.9 kB / 1.168 GB, free: 3.074 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001568/0.4787, allocations: 0.5484 MB / 1.169 GB, free: 2.527 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.4804, allocations: 0.7536 MB / 1.17 GB, free: 1.695 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003304/0.4837, allocations: 1.197 MB / 1.171 GB, free: 444 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.4838, allocations: 4 kB / 1.171 GB, free: 440 kB / 0.92 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004358/0.4881, allocations: 1.429 MB / 1.172 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.4882, allocations: 17.5 kB / 1.172 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.4882, allocations: 4 kB / 1.172 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.4882, allocations: 8 kB / 1.172 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.4895, allocations: 255.6 kB / 1.172 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.4895, allocations: 8 kB / 1.172 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/0.4913, allocations: 182.9 kB / 1.173 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.4914, allocations: 43.97 kB / 1.173 GB, free: 14.48 MB / 0.9356 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.0009186/0.4923, allocations: 365.5 kB / 1.173 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000333/0.4927, allocations: 146.2 kB / 1.173 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003805/0.4965, allocations: 1.415 MB / 1.174 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.4965, allocations: 8 kB / 1.174 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.4965, allocations: 0 / 1.174 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003219/0.4998, allocations: 1.263 MB / 1.176 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005928/0.5057, allocations: 2.969 MB / 1.179 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.5057, allocations: 4 kB / 1.179 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.5069, allocations: 203.9 kB / 1.179 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.5069, allocations: 8 kB / 1.179 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-05/0.5069, allocations: 23.97 kB / 1.179 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.507, allocations: 4 kB / 1.179 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.507, allocations: 4 kB / 1.179 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005443/0.5124, allocations: 2.231 MB / 1.181 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007127/0.5131, allocations: 354.9 kB / 1.181 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/0.5134, allocations: 12 kB / 1.181 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/0.5146, allocations: 119.9 kB / 1.181 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.5148, allocations: 56.44 kB / 1.182 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-05/0.5148, allocations: 35.95 kB / 1.182 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001351/0.5162, allocations: 0.9986 MB / 1.183 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5162, allocations: 0 / 1.183 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001363/0.5176, allocations: 459.4 kB / 1.183 GB, free: 3.629 MB / 0.9356 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.0008637/0.5185, allocations: 437.9 kB / 1.183 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003823/0.5223, allocations: 1.332 MB / 1.185 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/0.5223, allocations: 4 kB / 1.185 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.5241, allocations: 0.6519 MB / 1.185 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003649/0.5277, allocations: 0.7743 MB / 1.186 GB, free: 480 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004831/0.5326, allocations: 2.686 MB / 1.189 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009773/0.5336, allocations: 1.225 MB / 1.19 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001836/0.5354, allocations: 310.5 kB / 1.19 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000401/0.5358, allocations: 123.3 kB / 1.19 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of SimCode: time 1.062e-06/0.5358, allocations: 0 / 1.19 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of Templates: time 0.05406/0.5899, allocations: 30.32 MB / 1.22 GB, free: 14.07 MB / 0.9825 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