Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_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.0071/0.0071, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001686/0.001686, allocations: 196.6 kB / 16.68 MB, free: 6.352 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.96/2.96, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.001491, allocations: 63.89 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3962, allocations: 151.6 MB / 1.167 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05926/0.4555, allocations: 53.46 MB / 1.219 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0224/0.478, allocations: 11.5 MB / 1.23 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003798/0.4818, allocations: 63.62 kB / 1.23 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003379/0.4852, allocations: 0.7762 MB / 1.231 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.009897/0.4952, allocations: 2.27 MB / 1.233 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005099/0.5003, allocations: 1.382 MB / 1.234 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008001/0.5083, allocations: 3.945 MB / 1.238 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003173/0.5115, allocations: 1.287 MB / 1.24 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004845/0.5164, allocations: 1.43 MB / 1.241 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002776/0.5192, allocations: 1.081 MB / 1.242 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006238/0.5198, allocations: 140 kB / 1.242 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00391/0.5238, allocations: 1.049 MB / 1.243 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008845/0.5247, allocations: 442.5 kB / 1.244 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002407/0.5271, allocations: 0.8513 MB / 1.244 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008533/0.5356, allocations: 2.588 MB / 1.247 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.299e-05/0.5357, allocations: 4 kB / 1.247 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.719e-06/0.5357, allocations: 0 / 1.247 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001749/0.5359, allocations: 0 / 1.247 GB, free: 4.285 MB / 0.9981 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.00845/0.5444, allocations: 2.082 MB / 1.249 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.5444, allocations: 8.031 kB / 1.249 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003942/0.5484, allocations: 0.5773 MB / 1.25 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003634/0.552, allocations: 1.412 MB / 1.251 GB, free: 100 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.8442/1.396, allocations: 115 kB / 1.251 GB, free: 83.16 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006458/1.397, allocations: 92.03 kB / 1.251 GB, free: 83.16 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00396/1.401, allocations: 1.353 MB / 1.252 GB, free: 83.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/1.401, allocations: 1.438 kB / 1.252 GB, free: 83.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/1.401, allocations: 39.81 kB / 1.252 GB, free: 83.02 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-05/1.401, allocations: 30.97 kB / 1.253 GB, free: 83.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004259/1.405, allocations: 1.424 MB / 1.254 GB, free: 82.85 MB / 0.9981 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.009563/1.415, allocations: 5.358 MB / 1.259 GB, free: 79.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003224/1.418, allocations: 1.073 MB / 1.26 GB, free: 79.41 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001761/1.42, allocations: 0.6001 MB / 1.261 GB, free: 79.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006672/1.421, allocations: 1.073 MB / 1.262 GB, free: 78 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001949/1.423, allocations: 0.6711 MB / 1.262 GB, free: 77.79 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=60): time 3.417e-06/1.423, allocations: 0.5 kB / 1.262 GB, free: 77.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60): time 0.006343/1.429, allocations: 1.764 MB / 1.264 GB, free: 77.26 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/1.429, allocations: 58.34 kB / 1.264 GB, free: 77.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002601/1.432, allocations: 1.414 MB / 1.266 GB, free: 76.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/1.432, allocations: 43.08 kB / 1.266 GB, free: 76.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005594/1.432, allocations: 0.6524 MB / 1.266 GB, free: 76.13 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/1.433, allocations: 216.1 kB / 1.267 GB, free: 75.99 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000295/1.433, allocations: 168.7 kB / 1.267 GB, free: 75.91 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.963e-05/1.433, allocations: 335.9 kB / 1.267 GB, free: 75.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/1.435, allocations: 0.55 MB / 1.268 GB, free: 75.45 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/1.437, allocations: 0.7641 MB / 1.268 GB, free: 75.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003189/1.44, allocations: 1.191 MB / 1.269 GB, free: 74.58 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/1.44, allocations: 1.062 kB / 1.269 GB, free: 74.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004115/1.444, allocations: 1.436 MB / 1.271 GB, free: 74.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/1.444, allocations: 11.75 kB / 1.271 GB, free: 74.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/1.444, allocations: 4.594 kB / 1.271 GB, free: 74.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/1.444, allocations: 14.98 kB / 1.271 GB, free: 74.08 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.445, allocations: 251.5 kB / 1.271 GB, free: 74.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/1.445, allocations: 11.81 kB / 1.271 GB, free: 74.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/1.447, allocations: 190.8 kB / 1.271 GB, free: 74.01 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/1.447, allocations: 44.41 kB / 1.271 GB, free: 74 MB / 0.9981 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.0008463/1.448, allocations: 355.2 kB / 1.272 GB, free: 73.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003332/1.449, allocations: 153 kB / 1.272 GB, free: 73.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003998/1.453, allocations: 1.42 MB / 1.273 GB, free: 73.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/1.453, allocations: 8.312 kB / 1.273 GB, free: 73.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.453, allocations: 1.062 kB / 1.273 GB, free: 73.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00332/1.456, allocations: 1.259 MB / 1.274 GB, free: 72.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006753/1.463, allocations: 2.969 MB / 1.277 GB, free: 71.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.463, allocations: 2.156 kB / 1.277 GB, free: 71.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.464, allocations: 211.1 kB / 1.278 GB, free: 71.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/1.464, allocations: 4.797 kB / 1.278 GB, free: 71.46 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.317e-05/1.464, allocations: 23.36 kB / 1.278 GB, free: 71.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-05/1.464, allocations: 8.969 kB / 1.278 GB, free: 71.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.464, allocations: 6.219 kB / 1.278 GB, free: 71.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005627/1.47, allocations: 2.238 MB / 1.28 GB, free: 70.54 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007798/1.471, allocations: 364.4 kB / 1.28 GB, free: 70.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/1.471, allocations: 17.97 kB / 1.28 GB, free: 70.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.472, allocations: 119.3 kB / 1.28 GB, free: 70.27 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/1.472, allocations: 56.98 kB / 1.28 GB, free: 70.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.453e-05/1.472, allocations: 37.95 kB / 1.28 GB, free: 70.25 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001618/1.474, allocations: 0.9937 MB / 1.281 GB, free: 69.86 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/1.474, allocations: 0 / 1.281 GB, free: 69.86 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001793/1.476, allocations: 466.2 kB / 1.282 GB, free: 69.81 MB / 0.9981 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.000992/1.477, allocations: 455.2 kB / 1.282 GB, free: 69.67 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003796/1.481, allocations: 1.28 MB / 1.283 GB, free: 69.31 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.481, allocations: 1.125 kB / 1.283 GB, free: 69.31 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001803/1.482, allocations: 0.6535 MB / 1.284 GB, free: 69.12 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/1.486, allocations: 0.763 MB / 1.285 GB, free: 68.91 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005266/1.491, allocations: 2.685 MB / 1.287 GB, free: 67.53 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009721/1.492, allocations: 1.226 MB / 1.289 GB, free: 66.76 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001546/1.494, allocations: 305.4 kB / 1.289 GB, free: 66.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004146/1.494, allocations: 129.3 kB / 1.289 GB, free: 66.67 MB / 0.9981 GB Notification: Performance of SimCode: time 1.232e-06/1.494, allocations: 1.25 kB / 1.289 GB, free: 66.67 MB / 0.9981 GB Notification: Performance of Templates: time 0.06311/1.557, allocations: 30.51 MB / 1.319 GB, free: 52.14 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches