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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.567/2.567, allocations: 393.5 MB / 408.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 179.8 kB / 0.4902 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.707/1.707, allocations: 223.1 MB / 0.7992 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009629/0.000963, allocations: 107.9 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.0004071, allocations: 13.72 kB / 1.09 GB, free: 213.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3315, allocations: 143 MB / 1.229 GB, free: 85.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.242/1.573, allocations: 426.8 MB / 1.646 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003686/1.574, allocations: 99.06 kB / 1.646 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.08/3.654, allocations: 0.5708 GB / 2.217 GB, free: 89.16 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.673e-06/3.654, allocations: 0 / 2.217 GB, free: 89.16 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000247/3.654, allocations: 44.14 kB / 2.217 GB, free: 89.12 MB / 1.167 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.006147/3.66, allocations: 1.914 MB / 2.219 GB, free: 87.15 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/3.66, allocations: 8.031 kB / 2.219 GB, free: 87.14 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003911/3.664, allocations: 0.6028 MB / 2.219 GB, free: 86.54 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00456/3.669, allocations: 1.628 MB / 2.221 GB, free: 84.86 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/3.669, allocations: 123.6 kB / 2.221 GB, free: 84.73 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003543/3.669, allocations: 99.95 kB / 2.221 GB, free: 84.63 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00367/3.673, allocations: 1.405 MB / 2.223 GB, free: 83.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/3.673, allocations: 3.938 kB / 2.223 GB, free: 83.19 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/3.673, allocations: 40 kB / 2.223 GB, free: 83.15 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-05/3.673, allocations: 34 kB / 2.223 GB, free: 83.12 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003997/3.677, allocations: 1.534 MB / 2.224 GB, free: 81.58 MB / 1.167 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.009337/3.687, allocations: 5.435 MB / 2.229 GB, free: 75.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/3.69, allocations: 1.208 MB / 2.231 GB, free: 74.68 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007227/3.691, allocations: 1.073 MB / 2.232 GB, free: 73.37 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001786/3.692, allocations: 0.7564 MB / 2.232 GB, free: 72.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=60): time 7.374e-06/3.692, allocations: 0 / 2.232 GB, free: 72.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=60): time 0.005252/3.698, allocations: 1.973 MB / 2.234 GB, free: 70.62 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/3.698, allocations: 71.86 kB / 2.234 GB, free: 70.54 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/3.7, allocations: 1.249 MB / 2.236 GB, free: 69.29 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/3.7, allocations: 41.7 kB / 2.236 GB, free: 69.24 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005425/3.7, allocations: 0.658 MB / 2.236 GB, free: 68.57 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/3.7, allocations: 209 kB / 2.236 GB, free: 68.36 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/3.701, allocations: 16 kB / 2.237 GB, free: 68.35 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.868e-05/3.701, allocations: 330 kB / 2.237 GB, free: 68.02 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/3.702, allocations: 0.607 MB / 2.237 GB, free: 67.41 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/3.704, allocations: 0.84 MB / 2.238 GB, free: 66.48 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/3.705, allocations: 0.6078 MB / 2.239 GB, free: 65.87 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/3.705, allocations: 8 kB / 2.239 GB, free: 65.86 MB / 1.167 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003814/3.709, allocations: 1.528 MB / 2.24 GB, free: 64.32 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/3.709, allocations: 4.375 kB / 2.24 GB, free: 64.32 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/3.709, allocations: 12 kB / 2.24 GB, free: 64.31 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/3.709, allocations: 8 kB / 2.24 GB, free: 64.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/3.711, allocations: 271.6 kB / 2.241 GB, free: 64.04 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/3.711, allocations: 8 kB / 2.241 GB, free: 64.03 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/3.712, allocations: 226.8 kB / 2.241 GB, free: 63.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/3.713, allocations: 63.95 kB / 2.241 GB, free: 63.74 MB / 1.167 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,absIndSte.on,$PRE.onOff.pulseStart,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009447/3.714, allocations: 353.5 kB / 2.241 GB, free: 63.39 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/3.714, allocations: 146.2 kB / 2.241 GB, free: 63.24 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/3.718, allocations: 1.583 MB / 2.243 GB, free: 61.65 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/3.718, allocations: 12 kB / 2.243 GB, free: 61.64 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/3.718, allocations: 3.938 kB / 2.243 GB, free: 61.63 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003104/3.721, allocations: 1.411 MB / 2.244 GB, free: 60.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006425/3.727, allocations: 3.191 MB / 2.247 GB, free: 56.91 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.557e-06/3.727, allocations: 4 kB / 2.247 GB, free: 56.91 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/3.728, allocations: 219.8 kB / 2.248 GB, free: 56.69 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/3.729, allocations: 4 kB / 2.248 GB, free: 56.69 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.511e-05/3.729, allocations: 43.83 kB / 2.248 GB, free: 56.64 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/3.729, allocations: 7.984 kB / 2.248 GB, free: 56.64 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/3.729, allocations: 8 kB / 2.248 GB, free: 56.63 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005759/3.734, allocations: 2.609 MB / 2.25 GB, free: 53.89 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001582/3.736, allocations: 398.8 kB / 2.251 GB, free: 53.48 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003336/3.736, allocations: 24.05 kB / 2.251 GB, free: 53.46 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/3.738, allocations: 143.8 kB / 2.251 GB, free: 53.32 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/3.738, allocations: 48.45 kB / 2.251 GB, free: 53.27 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/3.738, allocations: 51.95 kB / 2.251 GB, free: 53.22 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001975/3.74, allocations: 0.9986 MB / 2.252 GB, free: 52.23 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.51e-07/3.74, allocations: 0 / 2.252 GB, free: 52.23 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00282/3.743, allocations: 499.1 kB / 2.252 GB, free: 51.74 MB / 1.167 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,absIndSte.on,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001827/3.745, allocations: 0.6697 MB / 2.253 GB, free: 51.07 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003725/3.749, allocations: 1.32 MB / 2.254 GB, free: 49.75 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/3.749, allocations: 0 / 2.254 GB, free: 49.75 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/3.75, allocations: 0.6989 MB / 2.255 GB, free: 49.05 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004909/3.755, allocations: 0.7327 MB / 2.256 GB, free: 48.33 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005571/3.761, allocations: 3.129 MB / 2.259 GB, free: 45.14 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/3.762, allocations: 1.256 MB / 2.26 GB, free: 43.86 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001721/3.763, allocations: 319.3 kB / 2.26 GB, free: 43.54 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/3.764, allocations: 131.3 kB / 2.26 GB, free: 43.41 MB / 1.167 GB Notification: Performance of SimCode: time 1.313e-06/3.764, allocations: 0 / 2.26 GB, free: 43.41 MB / 1.167 GB Notification: Performance of Templates: time 0.05221/3.816, allocations: 31.06 MB / 2.291 GB, free: 12.64 MB / 1.167 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","../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches