Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [: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 2/2, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001405/0.001405, allocations: 177.3 kB / 490.8 MB, free: 1.941 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.404/1.404, allocations: 221.3 MB / 0.7863 GB, free: 13.65 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.001004/0.001004, allocations: 91.92 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.025e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.295, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9828/1.278, allocations: 436.1 MB / 1.637 GB, free: 11.72 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/1.278, allocations: 91.56 kB / 1.638 GB, free: 11.68 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.488/3.766, allocations: 0.7832 GB / 2.421 GB, free: 210.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002185/3.766, allocations: 41.52 kB / 2.421 GB, free: 210.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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004486/3.771, allocations: 1.754 MB / 2.422 GB, free: 209.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/3.771, allocations: 9.781 kB / 2.422 GB, free: 209.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/3.774, allocations: 0.515 MB / 2.423 GB, free: 209.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004564/3.778, allocations: 1.737 MB / 2.425 GB, free: 207.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003982/3.779, allocations: 114.5 kB / 2.425 GB, free: 207.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/3.779, allocations: 62.06 kB / 2.425 GB, free: 207.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002197/3.781, allocations: 0.8453 MB / 2.426 GB, free: 207.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/3.783, allocations: 1.043 MB / 2.427 GB, free: 206.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/3.783, allocations: 4.812 kB / 2.427 GB, free: 206.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.842e-05/3.783, allocations: 9.062 kB / 2.427 GB, free: 206.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.372e-05/3.783, allocations: 40.19 kB / 2.427 GB, free: 206.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008275/3.792, allocations: 7.097 MB / 2.434 GB, free: 200.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/3.793, allocations: 0.5195 MB / 2.434 GB, free: 200.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003814/3.793, allocations: 236.2 kB / 2.434 GB, free: 200.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008469/3.794, allocations: 1.564 MB / 2.436 GB, free: 198.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/3.794, allocations: 42.16 kB / 2.436 GB, free: 198.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=48): time 2.114e-06/3.794, allocations: 0 / 2.436 GB, free: 198.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=48): time 0.002291/3.796, allocations: 0.8011 MB / 2.437 GB, free: 197.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.747e-05/3.796, allocations: 59.84 kB / 2.437 GB, free: 197.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/3.797, allocations: 0.9442 MB / 2.438 GB, free: 196.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/3.797, allocations: 29.7 kB / 2.438 GB, free: 196.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/3.798, allocations: 0.4947 MB / 2.438 GB, free: 195.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/3.798, allocations: 169 kB / 2.438 GB, free: 195.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/3.798, allocations: 0 / 2.438 GB, free: 195.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.11e-05/3.798, allocations: 330 kB / 2.439 GB, free: 195.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/3.798, allocations: 241.5 kB / 2.439 GB, free: 195 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/3.799, allocations: 0.5333 MB / 2.439 GB, free: 194.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/3.8, allocations: 0.5348 MB / 2.44 GB, free: 193.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/3.8, allocations: 4 kB / 2.44 GB, free: 193.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002522/3.803, allocations: 1.083 MB / 2.441 GB, free: 192.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/3.803, allocations: 8 kB / 2.441 GB, free: 192.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/3.803, allocations: 4 kB / 2.441 GB, free: 192.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007063/3.804, allocations: 225.5 kB / 2.441 GB, free: 192.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007259/3.804, allocations: 197.1 kB / 2.441 GB, free: 192.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006166/3.805, allocations: 0.7513 MB / 2.442 GB, free: 191.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/3.806, allocations: 215.4 kB / 2.442 GB, free: 191.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.71e-05/3.806, allocations: 47.97 kB / 2.442 GB, free: 191.3 MB / 1.167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_b.chi.QCon_flow:VARIABLE(unit = "W" ) "Actual heating heat flow rate added to fluid 1" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001762/3.807, allocations: 120.8 kB / 2.443 GB, free: 191.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/3.807, allocations: 114.5 kB / 2.443 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/3.809, allocations: 1.143 MB / 2.444 GB, free: 190 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/3.809, allocations: 7.906 kB / 2.444 GB, free: 190 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/3.809, allocations: 0 / 2.444 GB, free: 190 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/3.809, allocations: 7.984 kB / 2.444 GB, free: 190 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004738/3.814, allocations: 2.375 MB / 2.446 GB, free: 187.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/3.814, allocations: 0 / 2.446 GB, free: 187.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003588/3.814, allocations: 91.12 kB / 2.446 GB, free: 187.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006571/3.815, allocations: 221.2 kB / 2.446 GB, free: 187.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/3.815, allocations: 15.98 kB / 2.446 GB, free: 187.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005946/3.815, allocations: 0.7466 MB / 2.447 GB, free: 186.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/3.816, allocations: 4 kB / 2.447 GB, free: 186.5 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003254/3.819, allocations: 1.31 MB / 2.448 GB, free: 185.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004883/3.819, allocations: 335.1 kB / 2.449 GB, free: 184.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/3.819, allocations: 0 / 2.449 GB, free: 184.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008802/3.82, allocations: 101.9 kB / 2.449 GB, free: 184.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/3.82, allocations: 36.44 kB / 2.449 GB, free: 184.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/3.82, allocations: 27.73 kB / 2.449 GB, free: 184.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0008935/3.821, allocations: 0.714 MB / 2.45 GB, free: 183.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001613/3.823, allocations: 0.5067 MB / 2.45 GB, free: 183.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.00136/3.824, allocations: 0.8384 MB / 2.451 GB, free: 182.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001143/3.826, allocations: 0.649 MB / 2.452 GB, free: 182.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/3.826, allocations: 7.938 kB / 2.452 GB, free: 182.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005314/3.826, allocations: 349 kB / 2.452 GB, free: 181.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/3.828, allocations: 413.9 kB / 2.452 GB, free: 181.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/3.831, allocations: 1.633 MB / 2.454 GB, free: 179.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009044/3.832, allocations: 1.307 MB / 2.455 GB, free: 178.4 MB / 1.167 GB Notification: Performance of SimCode: time 4.51e-07/3.832, allocations: 0 / 2.455 GB, free: 178.4 MB / 1.167 GB Notification: Performance of Templates: time 0.03725/3.87, allocations: 24.31 MB / 2.479 GB, free: 155.2 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches