Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.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.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.487/2.487, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001133/0.001133, allocations: 178.9 kB / 0.4902 GB, free: 2.273 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.626/1.626, allocations: 223.2 MB / 0.7992 GB, free: 14.72 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.001006/0.001006, allocations: 97.08 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004101, allocations: 10.22 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3142, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/1.605, allocations: 425.6 MB / 1.645 GB, free: 4.586 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/1.605, allocations: 90.83 kB / 1.645 GB, free: 4.539 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.955/3.561, allocations: 0.5455 GB / 2.19 GB, free: 133.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.483e-06/3.561, allocations: 0 / 2.19 GB, free: 133.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002163/3.561, allocations: 39.98 kB / 2.191 GB, free: 133.6 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005486/3.566, allocations: 1.995 MB / 2.192 GB, free: 131.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/3.566, allocations: 15.92 kB / 2.192 GB, free: 131.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/3.568, allocations: 237.9 kB / 2.193 GB, free: 131.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00388/3.571, allocations: 1.724 MB / 2.194 GB, free: 129.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.812e-05/3.572, allocations: 78.52 kB / 2.194 GB, free: 129.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/3.572, allocations: 100 kB / 2.195 GB, free: 129.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/3.574, allocations: 1.104 MB / 2.196 GB, free: 128.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/3.574, allocations: 0 / 2.196 GB, free: 128.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/3.574, allocations: 36 kB / 2.196 GB, free: 128.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.382e-05/3.574, allocations: 45.98 kB / 2.196 GB, free: 128.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/3.576, allocations: 0.8978 MB / 2.197 GB, free: 127.2 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.007848/3.583, allocations: 4.727 MB / 2.201 GB, free: 122.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/3.585, allocations: 0.6011 MB / 2.202 GB, free: 121.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008102/3.586, allocations: 0.8277 MB / 2.203 GB, free: 120.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/3.586, allocations: 47.12 kB / 2.203 GB, free: 120.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=59): time 5.831e-06/3.586, allocations: 0 / 2.203 GB, free: 120.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=59): time 0.007366/3.593, allocations: 1.838 MB / 2.204 GB, free: 118.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/3.593, allocations: 59.95 kB / 2.204 GB, free: 118.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/3.595, allocations: 1.114 MB / 2.206 GB, free: 117.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001413/3.595, allocations: 41.7 kB / 2.206 GB, free: 117.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004737/3.596, allocations: 0.622 MB / 2.206 GB, free: 116.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/3.596, allocations: 205 kB / 2.206 GB, free: 116.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/3.596, allocations: 12 kB / 2.206 GB, free: 116.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001139/3.596, allocations: 334 kB / 2.207 GB, free: 116.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005542/3.597, allocations: 277.1 kB / 2.207 GB, free: 116 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007678/3.597, allocations: 0.5005 MB / 2.207 GB, free: 115.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007798/3.598, allocations: 338.8 kB / 2.208 GB, free: 115.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/3.598, allocations: 0 / 2.208 GB, free: 115.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004773/3.603, allocations: 1.341 MB / 2.209 GB, free: 113.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004567/3.603, allocations: 1.431 MB / 2.211 GB, free: 112.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/3.603, allocations: 4 kB / 2.211 GB, free: 112.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006283/3.604, allocations: 140.7 kB / 2.211 GB, free: 112 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/3.605, allocations: 163.8 kB / 2.211 GB, free: 111.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006942/3.605, allocations: 0.7045 MB / 2.212 GB, free: 111.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/3.607, allocations: 159.1 kB / 2.212 GB, free: 111 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.256e-05/3.607, allocations: 31.98 kB / 2.212 GB, free: 111 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/3.607, allocations: 4 kB / 2.212 GB, free: 111 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003987/3.611, allocations: 1.197 MB / 2.213 GB, free: 109.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/3.611, allocations: 4 kB / 2.213 GB, free: 109.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004459/3.611, allocations: 140.8 kB / 2.213 GB, free: 109.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005383/3.612, allocations: 163.7 kB / 2.213 GB, free: 109.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006091/3.613, allocations: 0.7006 MB / 2.214 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/3.614, allocations: 143.2 kB / 2.214 GB, free: 108.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.531e-05/3.614, allocations: 39.98 kB / 2.214 GB, free: 108.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008328/3.615, allocations: 424.8 kB / 2.214 GB, free: 108.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/3.615, allocations: 134.3 kB / 2.215 GB, free: 108 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004323/3.619, allocations: 1.328 MB / 2.216 GB, free: 106.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/3.619, allocations: 8 kB / 2.216 GB, free: 106.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/3.619, allocations: 0 / 2.216 GB, free: 106.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003836/3.623, allocations: 1.209 MB / 2.217 GB, free: 105.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006497/3.63, allocations: 2.667 MB / 2.22 GB, free: 102.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/3.63, allocations: 4 kB / 2.22 GB, free: 102.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004981/3.63, allocations: 120.2 kB / 2.22 GB, free: 102.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004417/3.631, allocations: 140.7 kB / 2.22 GB, free: 102.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/3.631, allocations: 23.98 kB / 2.22 GB, free: 102.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004196/3.635, allocations: 2.506 MB / 2.222 GB, free: 99.69 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/3.635, allocations: 8.078 kB / 2.222 GB, free: 99.68 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005139/3.64, allocations: 1.995 MB / 2.224 GB, free: 97.49 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009456/3.641, allocations: 327.1 kB / 2.225 GB, free: 97.15 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/3.641, allocations: 23.95 kB / 2.225 GB, free: 97.13 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008893/3.642, allocations: 83.83 kB / 2.225 GB, free: 97.05 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/3.642, allocations: 48.38 kB / 2.225 GB, free: 97 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/3.642, allocations: 31.97 kB / 2.225 GB, free: 96.97 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001449/3.644, allocations: 0.8974 MB / 2.226 GB, free: 96.07 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.3e-07/3.644, allocations: 4 kB / 2.226 GB, free: 96.07 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002774/3.647, allocations: 0.7837 MB / 2.226 GB, free: 95.28 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001759/3.648, allocations: 0.7521 MB / 2.227 GB, free: 94.53 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002713/3.651, allocations: 1.089 MB / 2.228 GB, free: 93.45 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/3.651, allocations: 0 / 2.228 GB, free: 93.45 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/3.653, allocations: 0.5955 MB / 2.229 GB, free: 92.84 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004233/3.657, allocations: 0.7492 MB / 2.23 GB, free: 92.11 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005336/3.662, allocations: 2.756 MB / 2.232 GB, free: 89.28 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007394/3.663, allocations: 1.192 MB / 2.233 GB, free: 88.05 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001667/3.665, allocations: 307.1 kB / 2.234 GB, free: 87.75 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/3.665, allocations: 103.4 kB / 2.234 GB, free: 87.65 MB / 1.167 GB Notification: Performance of SimCode: time 1.312e-06/3.665, allocations: 0 / 2.234 GB, free: 87.65 MB / 1.167 GB Notification: Performance of Templates: time 0.05058/3.715, allocations: 32.98 MB / 2.266 GB, free: 55 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_Carnot_y.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches