Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.001418/0.001418, allocations: 112.1 kB / 16.41 MB, free: 6.477 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.001434/0.001434, allocations: 183 kB / 17.34 MB, free: 5.754 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.473/1.473, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.302/2.302, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 64.05 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8646/0.8659, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.06003/0.926, allocations: 53.45 MB / 1.141 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02129/0.9473, allocations: 11.5 MB / 1.152 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003602/0.951, allocations: 64.44 kB / 1.152 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003135/0.9542, allocations: 0.7629 MB / 1.153 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00922/0.9634, allocations: 2.159 MB / 1.155 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004973/0.9684, allocations: 1.383 MB / 1.156 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008081/0.9765, allocations: 3.937 MB / 1.16 GB, free: 2.465 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002676/0.9792, allocations: 1.271 MB / 1.161 GB, free: 1.848 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004607/0.9839, allocations: 1.44 MB / 1.163 GB, free: 1.164 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002855/0.9867, allocations: 1.079 MB / 1.164 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000431/0.9872, allocations: 138.8 kB / 1.164 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004355/0.9915, allocations: 1.051 MB / 1.165 GB, free: 244 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.9926, allocations: 435.8 kB / 1.165 GB, free: 0 / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00261/0.9952, allocations: 0.8546 MB / 1.166 GB, free: 15.46 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.008096/1.003, allocations: 2.584 MB / 1.169 GB, free: 14.47 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/1.003, allocations: 0 / 1.169 GB, free: 14.47 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.857e-06/1.003, allocations: 0 / 1.169 GB, free: 14.47 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.988e-05/1.003, allocations: 5.281 kB / 1.169 GB, free: 14.47 MB / 0.92 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.005903/1.009, allocations: 2.023 MB / 1.171 GB, free: 13.05 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/1.009, allocations: 9.656 kB / 1.171 GB, free: 13.05 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003873/1.013, allocations: 0.5666 MB / 1.171 GB, free: 12.8 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003262/1.017, allocations: 1.4 MB / 1.173 GB, free: 11.72 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/1.017, allocations: 112.4 kB / 1.173 GB, free: 11.65 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/1.017, allocations: 102.7 kB / 1.173 GB, free: 11.61 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/1.021, allocations: 1.352 MB / 1.174 GB, free: 10.82 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/1.021, allocations: 1.25 kB / 1.174 GB, free: 10.82 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/1.021, allocations: 41.11 kB / 1.174 GB, free: 10.79 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.062e-05/1.021, allocations: 27.17 kB / 1.174 GB, free: 10.78 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004191/1.025, allocations: 1.424 MB / 1.176 GB, free: 10.11 MB / 0.92 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.01014/1.035, allocations: 5.359 MB / 1.181 GB, free: 5.789 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/1.039, allocations: 1.072 MB / 1.182 GB, free: 5.273 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/1.04, allocations: 0.6026 MB / 1.183 GB, free: 4.984 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009976/1.041, allocations: 1.062 MB / 1.184 GB, free: 3.734 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001953/1.043, allocations: 0.6848 MB / 1.184 GB, free: 3.344 MB / 0.92 GB Notification: Performance of pre-optimization done (n=60): time 4.258e-06/1.043, allocations: 0 / 1.184 GB, free: 3.344 MB / 0.92 GB Notification: Performance of matching and sorting (n=60): time 0.00599/1.049, allocations: 1.75 MB / 1.186 GB, free: 2.516 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/1.049, allocations: 61.98 kB / 1.186 GB, free: 2.449 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003212/1.053, allocations: 1.412 MB / 1.187 GB, free: 1.691 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001871/1.053, allocations: 39.23 kB / 1.187 GB, free: 1.652 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008237/1.054, allocations: 0.6417 MB / 1.188 GB, free: 1.082 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003596/1.054, allocations: 203 kB / 1.188 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000403/1.054, allocations: 170.4 kB / 1.188 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001775/1.055, allocations: 336.9 kB / 1.189 GB, free: 484 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/1.056, allocations: 0.5536 MB / 1.189 GB, free: 216 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/1.058, allocations: 0.7528 MB / 1.19 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003366/1.062, allocations: 1.189 MB / 1.191 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/1.062, allocations: 6.188 kB / 1.191 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004497/1.066, allocations: 1.43 MB / 1.193 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/1.066, allocations: 12.44 kB / 1.193 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/1.066, allocations: 8.406 kB / 1.193 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.491e-05/1.066, allocations: 11.88 kB / 1.193 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/1.068, allocations: 254.5 kB / 1.193 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/1.068, allocations: 13.11 kB / 1.193 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/1.07, allocations: 182.9 kB / 1.193 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/1.07, allocations: 44.31 kB / 1.193 GB, free: 14.11 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.0009986/1.071, allocations: 368 kB / 1.193 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004463/1.072, allocations: 150.3 kB / 1.194 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00413/1.076, allocations: 1.411 MB / 1.195 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/1.076, allocations: 6.531 kB / 1.195 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/1.076, allocations: 1.062 kB / 1.195 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003469/1.079, allocations: 1.262 MB / 1.196 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007298/1.087, allocations: 2.982 MB / 1.199 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.087, allocations: 2.469 kB / 1.199 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/1.088, allocations: 199.9 kB / 1.199 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.568e-05/1.088, allocations: 5.188 kB / 1.199 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.468e-05/1.088, allocations: 25.34 kB / 1.199 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.375e-05/1.088, allocations: 8.531 kB / 1.199 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.088, allocations: 1.5 kB / 1.199 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006312/1.094, allocations: 2.234 MB / 1.202 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/1.096, allocations: 352.3 kB / 1.202 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005923/1.096, allocations: 14.56 kB / 1.202 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/1.098, allocations: 117.3 kB / 1.202 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/1.098, allocations: 51.16 kB / 1.202 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/1.098, allocations: 38.58 kB / 1.202 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002399/1.101, allocations: 0.9989 MB / 1.203 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.51e-07/1.101, allocations: 0 / 1.203 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00234/1.103, allocations: 463.4 kB / 1.203 GB, free: 7.395 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.001431/1.104, allocations: 451.1 kB / 1.204 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004004/1.108, allocations: 1.278 MB / 1.205 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.108, allocations: 8.062 kB / 1.205 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001994/1.11, allocations: 0.6555 MB / 1.206 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005024/1.115, allocations: 0.7611 MB / 1.207 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005877/1.121, allocations: 2.691 MB / 1.209 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009975/1.122, allocations: 1.217 MB / 1.21 GB, free: 272 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000718/1.123, allocations: 143.3 kB / 1.21 GB, free: 128 kB / 0.9356 GB Notification: Performance of SimCode: time 1.011e-06/1.123, allocations: 0 / 1.21 GB, free: 128 kB / 0.9356 GB Notification: Performance of Templates: time 0.04192/1.165, allocations: 26.55 MB / 1.236 GB, free: 5.781 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches