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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.918/1.918, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.0009467/0.0009467, allocations: 183.6 kB / 490.8 MB, free: 1.898 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.367/1.367, allocations: 221.4 MB / 0.7863 GB, free: 13.61 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.0009164/0.0009163, allocations: 95.92 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.914e-06/7.944e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2757, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.298, allocations: 424.8 MB / 1.626 GB, free: 6.746 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/1.298, allocations: 91.81 kB / 1.627 GB, free: 6.699 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.659/2.957, allocations: 0.5442 GB / 2.171 GB, free: 7.008 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002149/2.957, allocations: 39.98 kB / 2.171 GB, free: 6.969 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.004345/2.962, allocations: 1.727 MB / 2.172 GB, free: 5.176 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/2.962, allocations: 16.03 kB / 2.173 GB, free: 5.16 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/2.963, allocations: 245.8 kB / 2.173 GB, free: 4.918 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00396/2.967, allocations: 1.72 MB / 2.174 GB, free: 3.145 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/2.967, allocations: 35.98 kB / 2.174 GB, free: 3.109 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/2.967, allocations: 56 kB / 2.175 GB, free: 3.055 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001434/2.969, allocations: 0.6952 MB / 2.175 GB, free: 2.359 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/2.97, allocations: 0.8857 MB / 2.176 GB, free: 1.441 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.485e-05/2.97, allocations: 4 kB / 2.176 GB, free: 1.438 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.861e-05/2.97, allocations: 0 / 2.176 GB, free: 1.438 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.736e-05/2.97, allocations: 45.92 kB / 2.176 GB, free: 1.391 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009971/2.98, allocations: 5.1 MB / 2.181 GB, free: 12.05 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/2.982, allocations: 469.1 kB / 2.182 GB, free: 11.59 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000464/2.982, allocations: 250.2 kB / 2.182 GB, free: 11.34 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008511/2.983, allocations: 0.8315 MB / 2.183 GB, free: 10.32 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/2.983, allocations: 39.06 kB / 2.183 GB, free: 10.27 MB / 1.167 GB Notification: Performance of pre-optimization done (n=59): time 3.596e-06/2.983, allocations: 0 / 2.183 GB, free: 10.27 MB / 1.167 GB Notification: Performance of matching and sorting (n=59): time 0.005035/2.988, allocations: 1.027 MB / 2.184 GB, free: 9.234 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/2.988, allocations: 63.89 kB / 2.184 GB, free: 9.16 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/2.99, allocations: 0.887 MB / 2.185 GB, free: 8.262 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001797/2.99, allocations: 29.7 kB / 2.185 GB, free: 8.227 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004667/2.991, allocations: 447.5 kB / 2.185 GB, free: 7.781 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/2.991, allocations: 197 kB / 2.185 GB, free: 7.586 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/2.991, allocations: 0 / 2.185 GB, free: 7.586 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001539/2.991, allocations: 334 kB / 2.186 GB, free: 7.254 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/2.992, allocations: 193.2 kB / 2.186 GB, free: 7.066 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/2.992, allocations: 415.6 kB / 2.186 GB, free: 6.57 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008072/2.993, allocations: 281.9 kB / 2.186 GB, free: 6.297 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/2.993, allocations: 0 / 2.186 GB, free: 6.297 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004898/2.998, allocations: 1.178 MB / 2.188 GB, free: 5.105 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005773/2.999, allocations: 1.405 MB / 2.189 GB, free: 3.602 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/2.999, allocations: 7.938 kB / 2.189 GB, free: 3.594 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004816/2.999, allocations: 108.7 kB / 2.189 GB, free: 3.484 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007134/3, allocations: 159.8 kB / 2.189 GB, free: 3.328 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/3.002, allocations: 0.7826 MB / 2.19 GB, free: 2.52 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/3.003, allocations: 131.2 kB / 2.19 GB, free: 2.391 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/3.004, allocations: 43.92 kB / 2.19 GB, free: 2.348 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/3.004, allocations: 4 kB / 2.19 GB, free: 2.344 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004595/3.008, allocations: 1.022 MB / 2.191 GB, free: 1.316 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/3.008, allocations: 4 kB / 2.191 GB, free: 1.312 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/3.009, allocations: 105.1 kB / 2.191 GB, free: 1.207 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/3.009, allocations: 167.7 kB / 2.191 GB, free: 1.043 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/3.011, allocations: 0.7826 MB / 2.192 GB, free: 240 kB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/3.012, allocations: 115.4 kB / 2.192 GB, free: 124 kB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/3.012, allocations: 39.97 kB / 2.192 GB, free: 84 kB / 1.167 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.4821/3.494, allocations: 123.1 kB / 2.192 GB, free: 376.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004865/3.495, allocations: 118.9 kB / 2.192 GB, free: 376.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004594/3.499, allocations: 1.172 MB / 2.194 GB, free: 376 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/3.499, allocations: 7.188 kB / 2.194 GB, free: 376 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/3.499, allocations: 2.016 kB / 2.194 GB, free: 376 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003666/3.503, allocations: 1.068 MB / 2.195 GB, free: 375.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006026/3.509, allocations: 2.371 MB / 2.197 GB, free: 375.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/3.509, allocations: 3.75 kB / 2.197 GB, free: 375.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/3.51, allocations: 127 kB / 2.197 GB, free: 375.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003116/3.51, allocations: 98.23 kB / 2.197 GB, free: 375.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/3.51, allocations: 14.97 kB / 2.197 GB, free: 375.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003265/3.513, allocations: 2.076 MB / 2.199 GB, free: 374.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/3.513, allocations: 9.641 kB / 2.199 GB, free: 374.2 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00469/3.518, allocations: 1.736 MB / 2.201 GB, free: 373.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006722/3.519, allocations: 305.8 kB / 2.201 GB, free: 373.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/3.519, allocations: 14.16 kB / 2.201 GB, free: 373.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007869/3.52, allocations: 74.08 kB / 2.201 GB, free: 373.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/3.52, allocations: 47.95 kB / 2.201 GB, free: 373.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.804e-05/3.52, allocations: 33.92 kB / 2.201 GB, free: 373.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0009173/3.521, allocations: 0.6805 MB / 2.202 GB, free: 373.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002223/3.523, allocations: 0.7765 MB / 2.203 GB, free: 373.4 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 () * 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.001251/3.524, allocations: 0.7404 MB / 2.204 GB, free: 373.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002488/3.527, allocations: 1.057 MB / 2.205 GB, free: 373.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/3.527, allocations: 2.812 kB / 2.205 GB, free: 373.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/3.528, allocations: 0.4899 MB / 2.205 GB, free: 373.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/3.53, allocations: 0.5426 MB / 2.206 GB, free: 373.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/3.534, allocations: 1.739 MB / 2.207 GB, free: 372.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000821/3.534, allocations: 1.302 MB / 2.209 GB, free: 371.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.894e-06/3.534, allocations: 0 / 2.209 GB, free: 371.9 MB / 1.167 GB Notification: Performance of Templates: time 0.04402/3.578, allocations: 30.07 MB / 2.238 GB, free: 371.5 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