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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001773/0.001773, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.002293/0.002293, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.727/2.727, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003402, allocations: 8 kB / 0.8707 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8412/0.8415, allocations: 153.7 MB / 1.021 GB, free: 1.137 MB / 0.7638 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.0463/0.8879, allocations: 44.77 MB / 1.065 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01659/0.9045, allocations: 9.914 MB / 1.074 GB, free: 10.31 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002625/0.9072, allocations: 47.69 kB / 1.074 GB, free: 10.27 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.00265/0.9099, allocations: 0.7035 MB / 1.075 GB, free: 9.559 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.007162/0.9171, allocations: 2.048 MB / 1.077 GB, free: 7.508 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.004713/0.9218, allocations: 1.561 MB / 1.078 GB, free: 5.977 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.004725/0.9265, allocations: 2.332 MB / 1.081 GB, free: 3.645 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.9281, allocations: 0.9643 MB / 1.082 GB, free: 2.66 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/0.9301, allocations: 1.031 MB / 1.083 GB, free: 1.625 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009808/0.9311, allocations: 0.6999 MB / 1.083 GB, free: 0.9219 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.9312, allocations: 52 kB / 1.083 GB, free: 0.8711 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002224/0.9335, allocations: 0.6671 MB / 1.084 GB, free: 208 kB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 0.0003306/0.9338, allocations: 294.8 kB / 1.084 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004035/0.9342, allocations: 340.8 kB / 1.085 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002096/0.9363, allocations: 1.785 MB / 1.086 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.9363, allocations: 0 / 1.086 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9364, allocations: 0 / 1.086 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.494e-05/0.9364, allocations: 0 / 1.086 GB, free: 13.79 MB / 0.8419 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.003317/0.9397, allocations: 1.734 MB / 1.088 GB, free: 12 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.9398, allocations: 11.98 kB / 1.088 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003312/0.9431, allocations: 0.6262 MB / 1.089 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002993/0.9461, allocations: 1.433 MB / 1.09 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.9462, allocations: 123.7 kB / 1.09 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.9464, allocations: 99.88 kB / 1.09 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002676/0.9491, allocations: 1.264 MB / 1.092 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.9491, allocations: 0 / 1.092 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.782e-05/0.9492, allocations: 36 kB / 1.092 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.9493, allocations: 24 kB / 1.092 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003208/0.9525, allocations: 1.249 MB / 1.093 GB, free: 7.039 MB / 0.8419 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.007307/0.9598, allocations: 4.931 MB / 1.098 GB, free: 1.859 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/0.9624, allocations: 0.8979 MB / 1.099 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008356/0.9633, allocations: 1.065 MB / 1.1 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001576/0.9649, allocations: 0.5846 MB / 1.1 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=60): time 2.856e-06/0.9649, allocations: 0 / 1.1 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=60): time 0.00456/0.9695, allocations: 1.516 MB / 1.102 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.9695, allocations: 55.97 kB / 1.102 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.9714, allocations: 1.339 MB / 1.103 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.9715, allocations: 37.7 kB / 1.103 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005882/0.9721, allocations: 0.6502 MB / 1.104 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.9723, allocations: 205 kB / 1.104 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.9724, allocations: 16 kB / 1.104 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.9725, allocations: 338 kB / 1.104 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.9739, allocations: 481.6 kB / 1.105 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.9754, allocations: 0.6598 MB / 1.105 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.9767, allocations: 498.9 kB / 1.106 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.9768, allocations: 4 kB / 1.106 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003389/0.9802, allocations: 1.284 MB / 1.107 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.9802, allocations: 8.094 kB / 1.107 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.9802, allocations: 7.938 kB / 1.107 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/0.9802, allocations: 12 kB / 1.107 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.9815, allocations: 275.8 kB / 1.107 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.9815, allocations: 11.98 kB / 1.107 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.9831, allocations: 236.4 kB / 1.108 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.9832, allocations: 51.97 kB / 1.108 GB, free: 7.277 MB / 0.8575 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.y,$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 (92): * Single equations (assignments): 92 * 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.0006539/0.9838, allocations: 361.5 kB / 1.108 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.984, allocations: 146.2 kB / 1.108 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003384/0.9874, allocations: 1.273 MB / 1.109 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.9875, allocations: 8 kB / 1.109 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.9875, allocations: 0 / 1.109 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002828/0.9903, allocations: 1.111 MB / 1.11 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005411/0.9957, allocations: 2.597 MB / 1.113 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.9958, allocations: 8.25 kB / 1.113 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.9968, allocations: 215.7 kB / 1.113 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.968e-06/0.9969, allocations: 4 kB / 1.113 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-05/0.9969, allocations: 27.97 kB / 1.113 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.9969, allocations: 8 kB / 1.113 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.997, allocations: 7.953 kB / 1.113 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004792/1.002, allocations: 2.043 MB / 1.115 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007375/1.003, allocations: 366.8 kB / 1.116 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/1.003, allocations: 15.94 kB / 1.116 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/1.004, allocations: 147.8 kB / 1.116 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.004, allocations: 48.48 kB / 1.116 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.266e-05/1.004, allocations: 51.97 kB / 1.116 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001248/1.005, allocations: 0.9362 MB / 1.117 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/1.005, allocations: 3.938 kB / 1.117 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001224/1.007, allocations: 455.3 kB / 1.117 GB, free: 13.2 MB / 0.8731 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 (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.0007853/1.007, allocations: 440.2 kB / 1.118 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003124/1.011, allocations: 1.098 MB / 1.119 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.011, allocations: 0 / 1.119 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001525/1.012, allocations: 0.566 MB / 1.119 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003298/1.015, allocations: 0.7106 MB / 1.12 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004771/1.02, allocations: 2.984 MB / 1.123 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007946/1.021, allocations: 1.256 MB / 1.124 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001549/1.023, allocations: 327 kB / 1.124 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003933/1.023, allocations: 135.4 kB / 1.125 GB, free: 5.617 MB / 0.8731 GB Notification: Performance of SimCode: time 7.21e-07/1.023, allocations: 3.938 kB / 1.125 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of Templates: time 0.04377/1.067, allocations: 26.94 MB / 1.151 GB, free: 11.02 MB / 0.9044 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