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.273/2.273, allocations: 390.5 MB / 398 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.00126/0.00126, allocations: 180 kB / 491.2 MB, free: 1.609 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.449/1.449, allocations: 221.5 MB / 0.7868 GB, free: 13.35 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.001103/0.001102, allocations: 95.62 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.847e-05/1.85e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2864, allocations: 143 MB / 1.212 GB, free: 39.59 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.206/1.492, allocations: 424.9 MB / 1.627 GB, free: 6.191 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/1.492, allocations: 91.38 kB / 1.627 GB, free: 6.145 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.883/3.376, allocations: 0.5412 GB / 2.169 GB, free: 29.48 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.543e-06/3.376, allocations: 0 / 2.169 GB, free: 29.48 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002657/3.376, allocations: 47.92 kB / 2.169 GB, free: 29.44 MB / 1.151 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.004918/3.381, allocations: 1.708 MB / 2.17 GB, free: 27.67 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/3.381, allocations: 12.03 kB / 2.17 GB, free: 27.66 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/3.382, allocations: 237.9 kB / 2.17 GB, free: 27.42 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004031/3.386, allocations: 1.712 MB / 2.172 GB, free: 25.65 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/3.386, allocations: 31.95 kB / 2.172 GB, free: 25.62 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/3.387, allocations: 63.94 kB / 2.172 GB, free: 25.56 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001494/3.388, allocations: 0.6912 MB / 2.173 GB, free: 24.87 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/3.39, allocations: 0.8857 MB / 2.174 GB, free: 23.95 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/3.39, allocations: 0 / 2.174 GB, free: 23.95 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.504e-05/3.39, allocations: 0 / 2.174 GB, free: 23.95 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.928e-05/3.39, allocations: 38 kB / 2.174 GB, free: 23.91 MB / 1.151 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.007029/3.397, allocations: 4.52 MB / 2.178 GB, free: 19.17 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007843/3.398, allocations: 493.2 kB / 2.179 GB, free: 18.68 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/3.398, allocations: 250.2 kB / 2.179 GB, free: 18.43 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005224/3.399, allocations: 0.8277 MB / 2.18 GB, free: 17.41 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/3.399, allocations: 39.11 kB / 2.18 GB, free: 17.37 MB / 1.151 GB Notification: Performance of pre-optimization done (n=59): time 4.028e-06/3.399, allocations: 4 kB / 2.18 GB, free: 17.36 MB / 1.151 GB Notification: Performance of matching and sorting (n=59): time 0.004082/3.403, allocations: 0.9862 MB / 2.181 GB, free: 16.37 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/3.403, allocations: 59.97 kB / 2.181 GB, free: 16.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/3.404, allocations: 0.8909 MB / 2.182 GB, free: 15.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.509e-05/3.405, allocations: 29.7 kB / 2.182 GB, free: 15.36 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/3.405, allocations: 0.6323 MB / 2.182 GB, free: 14.72 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/3.405, allocations: 197 kB / 2.183 GB, free: 14.53 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/3.405, allocations: 0 / 2.183 GB, free: 14.53 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.155e-05/3.405, allocations: 330 kB / 2.183 GB, free: 14.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/3.406, allocations: 189.5 kB / 2.183 GB, free: 14.01 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/3.406, allocations: 413.5 kB / 2.183 GB, free: 13.52 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006243/3.407, allocations: 282.6 kB / 2.184 GB, free: 13.24 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/3.407, allocations: 3.953 kB / 2.184 GB, free: 13.24 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00393/3.411, allocations: 1.135 MB / 2.185 GB, free: 12.09 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003509/3.411, allocations: 1.407 MB / 2.186 GB, free: 10.59 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/3.411, allocations: 4 kB / 2.186 GB, free: 10.58 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000405/3.411, allocations: 112.7 kB / 2.186 GB, free: 10.47 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/3.412, allocations: 159.8 kB / 2.186 GB, free: 10.31 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009674/3.413, allocations: 0.7397 MB / 2.187 GB, free: 9.547 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/3.414, allocations: 123.3 kB / 2.187 GB, free: 9.426 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-05/3.414, allocations: 35.98 kB / 2.187 GB, free: 9.391 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/3.414, allocations: 4 kB / 2.187 GB, free: 9.387 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003651/3.418, allocations: 0.974 MB / 2.188 GB, free: 8.406 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/3.418, allocations: 8.281 kB / 2.188 GB, free: 8.398 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003076/3.418, allocations: 104.7 kB / 2.188 GB, free: 8.293 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005789/3.419, allocations: 163.8 kB / 2.189 GB, free: 8.133 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009158/3.42, allocations: 0.7513 MB / 2.189 GB, free: 7.355 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/3.421, allocations: 107.5 kB / 2.189 GB, free: 7.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.246e-05/3.421, allocations: 35.98 kB / 2.189 GB, free: 7.215 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi.COP:VARIABLE(min = 0.0 unit = "1" ) "Coefficient of performance" type: Real 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 () * 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.0002843/3.422, allocations: 126 kB / 2.189 GB, free: 7.086 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003531/3.422, allocations: 126.5 kB / 2.19 GB, free: 6.961 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004061/3.426, allocations: 1.101 MB / 2.191 GB, free: 5.848 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/3.426, allocations: 8 kB / 2.191 GB, free: 5.84 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/3.426, allocations: 0 / 2.191 GB, free: 5.84 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003548/3.43, allocations: 1.029 MB / 2.192 GB, free: 4.777 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006361/3.436, allocations: 2.32 MB / 2.194 GB, free: 2.371 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/3.436, allocations: 4 kB / 2.194 GB, free: 2.367 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/3.437, allocations: 120.2 kB / 2.194 GB, free: 2.25 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003126/3.437, allocations: 100.7 kB / 2.194 GB, free: 2.148 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.668e-05/3.437, allocations: 11.98 kB / 2.194 GB, free: 2.137 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9565/4.394, allocations: 2.124 MB / 2.196 GB, free: 239.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.672e-05/4.394, allocations: 6.094 kB / 2.196 GB, free: 239.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006446/4.4, allocations: 1.672 MB / 2.198 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/4.401, allocations: 315.8 kB / 2.198 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/4.402, allocations: 6.578 kB / 2.198 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008323/4.402, allocations: 63.02 kB / 2.198 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/4.403, allocations: 57.56 kB / 2.198 GB, free: 239.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.392e-05/4.403, allocations: 33.08 kB / 2.198 GB, free: 239.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001551/4.404, allocations: 0.6842 MB / 2.199 GB, free: 239.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.11e-07/4.404, allocations: 0 / 2.199 GB, free: 239.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004099/4.408, allocations: 0.7816 MB / 2.2 GB, free: 239.1 MB / 1.151 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 () * 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.002487/4.411, allocations: 0.7366 MB / 2.201 GB, free: 239 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003759/4.415, allocations: 1.021 MB / 2.202 GB, free: 239 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/4.415, allocations: 4.078 kB / 2.202 GB, free: 239 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00145/4.416, allocations: 494.9 kB / 2.202 GB, free: 238.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/4.42, allocations: 0.5583 MB / 2.203 GB, free: 238.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004384/4.424, allocations: 1.697 MB / 2.204 GB, free: 238.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/4.425, allocations: 1.194 MB / 2.205 GB, free: 237.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002108/4.428, allocations: 337.4 kB / 2.206 GB, free: 237.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/4.428, allocations: 76.48 kB / 2.206 GB, free: 237.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.443e-06/4.428, allocations: 0 / 2.206 GB, free: 237.6 MB / 1.151 GB Notification: Performance of Templates: time 0.07274/4.501, allocations: 27.22 MB / 2.232 GB, free: 237.2 MB / 1.151 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