Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 249.3 MB / 261.8 MB, free: 5.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009963/0.0009965, allocations: 178.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.1 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001033/0.001032, allocations: 83.11 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.965e-05/3.969e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2399, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.592/1.832, allocations: 406 MB / 1.288 GB, free: 260.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/1.832, allocations: 88.83 kB / 1.288 GB, free: 260.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.594/3.426, allocations: 0.5393 GB / 1.828 GB, free: 97.98 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.523e-06/3.426, allocations: 0 / 1.828 GB, free: 97.98 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000144/3.426, allocations: 43.33 kB / 1.828 GB, free: 97.95 MB / 0.8698 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.002816/3.429, allocations: 1.604 MB / 1.829 GB, free: 96.31 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/3.429, allocations: 8.031 kB / 1.829 GB, free: 96.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002997/3.432, allocations: 0.6068 MB / 1.83 GB, free: 95.69 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/3.435, allocations: 1.574 MB / 1.831 GB, free: 94.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/3.435, allocations: 123.9 kB / 1.831 GB, free: 93.97 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/3.435, allocations: 99.94 kB / 1.832 GB, free: 93.87 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/3.437, allocations: 1.19 MB / 1.833 GB, free: 92.65 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/3.437, allocations: 0 / 1.833 GB, free: 92.65 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.694e-05/3.437, allocations: 36 kB / 1.833 GB, free: 92.62 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/3.437, allocations: 24 kB / 1.833 GB, free: 92.59 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/3.439, allocations: 1.125 MB / 1.834 GB, free: 91.47 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.006836/3.445, allocations: 5.425 MB / 1.839 GB, free: 85.86 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/3.447, allocations: 0.9251 MB / 1.84 GB, free: 84.92 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005624/3.447, allocations: 494.8 kB / 1.841 GB, free: 84.44 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005922/3.448, allocations: 1.072 MB / 1.842 GB, free: 83.13 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006952/3.449, allocations: 0.5536 MB / 1.842 GB, free: 82.56 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=60): time 3.287e-06/3.449, allocations: 0 / 1.842 GB, free: 82.56 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60): time 0.001505/3.45, allocations: 0.9892 MB / 1.843 GB, free: 81.57 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/3.45, allocations: 55.97 kB / 1.843 GB, free: 81.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/3.452, allocations: 1.224 MB / 1.844 GB, free: 80.27 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.578e-05/3.452, allocations: 41.7 kB / 1.844 GB, free: 80.22 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004117/3.452, allocations: 0.6652 MB / 1.845 GB, free: 79.55 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/3.452, allocations: 201.8 kB / 1.845 GB, free: 79.36 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/3.452, allocations: 8 kB / 1.845 GB, free: 79.35 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.865e-05/3.452, allocations: 338 kB / 1.846 GB, free: 79.01 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005096/3.453, allocations: 421.6 kB / 1.846 GB, free: 78.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/3.454, allocations: 0.6419 MB / 1.847 GB, free: 77.86 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005517/3.454, allocations: 441.1 kB / 1.847 GB, free: 77.43 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/3.454, allocations: 4 kB / 1.847 GB, free: 77.42 MB / 0.8698 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001498/3.456, allocations: 1.134 MB / 1.848 GB, free: 76.28 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/3.456, allocations: 12.12 kB / 1.848 GB, free: 76.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/3.456, allocations: 4 kB / 1.848 GB, free: 76.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/3.456, allocations: 8 kB / 1.848 GB, free: 76.26 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/3.457, allocations: 267.6 kB / 1.848 GB, free: 76 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/3.457, allocations: 15.94 kB / 1.848 GB, free: 75.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/3.458, allocations: 226.8 kB / 1.849 GB, free: 75.76 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/3.459, allocations: 55.97 kB / 1.849 GB, free: 75.7 MB / 0.8698 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 () * 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.0001818/3.459, allocations: 156.7 kB / 1.849 GB, free: 75.54 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/3.459, allocations: 146.2 kB / 1.849 GB, free: 75.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/3.461, allocations: 1.188 MB / 1.85 GB, free: 74.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/3.461, allocations: 11.98 kB / 1.85 GB, free: 74.18 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/3.461, allocations: 0 / 1.85 GB, free: 74.18 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001157/3.462, allocations: 1.009 MB / 1.851 GB, free: 73.14 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003559/3.465, allocations: 2.787 MB / 1.854 GB, free: 70.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/3.466, allocations: 4 kB / 1.854 GB, free: 70.28 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/3.467, allocations: 227.9 kB / 1.854 GB, free: 70.06 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/3.467, allocations: 8 kB / 1.854 GB, free: 70.05 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-05/3.467, allocations: 27.97 kB / 1.854 GB, free: 70.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/3.467, allocations: 8 kB / 1.854 GB, free: 70.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/3.467, allocations: 3.953 kB / 1.854 GB, free: 70.01 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/3.469, allocations: 2.012 MB / 1.856 GB, free: 67.88 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006651/3.47, allocations: 406.9 kB / 1.856 GB, free: 67.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/3.47, allocations: 19.94 kB / 1.856 GB, free: 67.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/3.471, allocations: 147.8 kB / 1.857 GB, free: 67.29 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/3.471, allocations: 52.44 kB / 1.857 GB, free: 67.24 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-05/3.471, allocations: 51.95 kB / 1.857 GB, free: 67.19 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00122/3.473, allocations: 0.9737 MB / 1.858 GB, free: 66.22 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/3.473, allocations: 0 / 1.858 GB, free: 66.22 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001433/3.474, allocations: 0.4914 MB / 1.858 GB, free: 65.73 MB / 0.8698 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 () * 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.001075/3.475, allocations: 0.659 MB / 1.859 GB, free: 65.11 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001305/3.476, allocations: 0.9289 MB / 1.86 GB, free: 64.18 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/3.476, allocations: 0 / 1.86 GB, free: 64.18 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006225/3.477, allocations: 0.4963 MB / 1.86 GB, free: 63.69 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/3.48, allocations: 0.74 MB / 1.861 GB, free: 62.95 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/3.484, allocations: 2.005 MB / 1.863 GB, free: 60.88 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005568/3.484, allocations: 1.248 MB / 1.864 GB, free: 59.61 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001477/3.486, allocations: 311.4 kB / 1.864 GB, free: 59.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/3.486, allocations: 127.4 kB / 1.864 GB, free: 59.17 MB / 0.8698 GB Notification: Performance of SimCode: time 1.573e-06/3.486, allocations: 4 kB / 1.865 GB, free: 59.17 MB / 0.8698 GB Notification: Performance of Templates: time 0.0484/3.535, allocations: 31.74 MB / 1.895 GB, free: 27.61 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches