Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.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_y_etaPL,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|chi.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,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|chi.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") [: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.965/1.965, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001197/0.001197, allocations: 177.3 kB / 490.8 MB, free: 1.965 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.297/1.297, allocations: 221.4 MB / 0.7863 GB, free: 13.66 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.0009653/0.0009654, allocations: 88.69 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.102e-06/6.142e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2431, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9708/1.214, allocations: 424.9 MB / 1.627 GB, free: 6.742 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/1.214, allocations: 92.75 kB / 1.627 GB, free: 6.695 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.05/4.264, allocations: 0.8536 GB / 2.48 GB, free: 132.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002307/4.264, allocations: 39.28 kB / 2.48 GB, free: 132.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.004742/4.269, allocations: 1.742 MB / 2.482 GB, free: 130.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/4.269, allocations: 8.031 kB / 2.482 GB, free: 130.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/4.271, allocations: 244 kB / 2.482 GB, free: 130.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003702/4.274, allocations: 1.711 MB / 2.484 GB, free: 128.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/4.274, allocations: 28 kB / 2.484 GB, free: 128.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/4.275, allocations: 67.12 kB / 2.484 GB, free: 128.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001263/4.276, allocations: 0.703 MB / 2.485 GB, free: 128.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/4.277, allocations: 0.889 MB / 2.485 GB, free: 127.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/4.277, allocations: 0 / 2.485 GB, free: 127.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.366e-05/4.277, allocations: 3.938 kB / 2.485 GB, free: 127.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.307e-05/4.277, allocations: 37.98 kB / 2.486 GB, free: 127.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005991/4.283, allocations: 5.096 MB / 2.491 GB, free: 121.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/4.284, allocations: 475.8 kB / 2.491 GB, free: 121.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/4.284, allocations: 254.2 kB / 2.491 GB, free: 121.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004562/4.285, allocations: 0.8376 MB / 2.492 GB, free: 120.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/4.285, allocations: 43.06 kB / 2.492 GB, free: 120.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=60): time 1.983e-06/4.285, allocations: 0 / 2.492 GB, free: 120.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=60): time 0.001278/4.286, allocations: 0.6014 MB / 2.493 GB, free: 119.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.909e-05/4.286, allocations: 55.91 kB / 2.493 GB, free: 119.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/4.287, allocations: 0.8906 MB / 2.494 GB, free: 118.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/4.287, allocations: 29.7 kB / 2.494 GB, free: 118.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/4.287, allocations: 445.1 kB / 2.494 GB, free: 118 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/4.288, allocations: 197 kB / 2.494 GB, free: 117.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/4.288, allocations: 0 / 2.494 GB, free: 117.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.475e-05/4.288, allocations: 330 kB / 2.495 GB, free: 117.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/4.288, allocations: 201.2 kB / 2.495 GB, free: 117.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000381/4.288, allocations: 413.6 kB / 2.495 GB, free: 116.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005602/4.289, allocations: 283.6 kB / 2.495 GB, free: 116.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/4.289, allocations: 7.906 kB / 2.495 GB, free: 116.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004043/4.293, allocations: 1.182 MB / 2.497 GB, free: 115.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000244/4.293, allocations: 1.328 MB / 2.498 GB, free: 114 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/4.293, allocations: 4 kB / 2.498 GB, free: 114 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004819/4.294, allocations: 128.1 kB / 2.498 GB, free: 113.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005951/4.294, allocations: 159.3 kB / 2.498 GB, free: 113.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005537/4.295, allocations: 0.7113 MB / 2.499 GB, free: 113 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/4.296, allocations: 140.4 kB / 2.499 GB, free: 112.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.64e-05/4.296, allocations: 31.98 kB / 2.499 GB, free: 112.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/4.296, allocations: 4 kB / 2.499 GB, free: 112.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003864/4.3, allocations: 1.042 MB / 2.5 GB, free: 111.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/4.3, allocations: 4 kB / 2.5 GB, free: 111.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003878/4.3, allocations: 128.3 kB / 2.5 GB, free: 111.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/4.301, allocations: 162.7 kB / 2.5 GB, free: 111.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005003/4.302, allocations: 0.7227 MB / 2.501 GB, free: 110.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/4.303, allocations: 106.1 kB / 2.501 GB, free: 110.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.434e-05/4.303, allocations: 35.39 kB / 2.501 GB, free: 110.7 MB / 1.167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi.QEva_flow:VARIABLE(unit = "W" ) "Actual cooling heat flow rate removed from fluid 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002326/4.303, allocations: 124.5 kB / 2.501 GB, free: 110.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/4.303, allocations: 118.6 kB / 2.501 GB, free: 110.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/4.305, allocations: 0.7493 MB / 2.502 GB, free: 109.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/4.305, allocations: 8 kB / 2.502 GB, free: 109.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/4.305, allocations: 3.094 kB / 2.502 GB, free: 109.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009419/4.306, allocations: 0.6402 MB / 2.503 GB, free: 109 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00571/4.311, allocations: 2.396 MB / 2.505 GB, free: 106.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/4.311, allocations: 0 / 2.505 GB, free: 106.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005218/4.312, allocations: 127.2 kB / 2.505 GB, free: 106.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003922/4.312, allocations: 124 kB / 2.505 GB, free: 106.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.48e-05/4.312, allocations: 11.92 kB / 2.505 GB, free: 106.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005167/4.313, allocations: 0.6881 MB / 2.506 GB, free: 105.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/4.313, allocations: 4 kB / 2.506 GB, free: 105.6 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004772/4.318, allocations: 1.774 MB / 2.508 GB, free: 103.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006808/4.318, allocations: 307.5 kB / 2.508 GB, free: 103.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/4.318, allocations: 7.906 kB / 2.508 GB, free: 103.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008149/4.319, allocations: 71.94 kB / 2.508 GB, free: 103.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/4.319, allocations: 52.22 kB / 2.508 GB, free: 103.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.889e-05/4.32, allocations: 35.97 kB / 2.508 GB, free: 103.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.00103/4.321, allocations: 0.6774 MB / 2.509 GB, free: 102.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002602/4.323, allocations: 0.7794 MB / 2.51 GB, free: 101.8 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 (55): * Single equations (assignments): 50 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001502/4.325, allocations: 0.7564 MB / 2.51 GB, free: 101.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001656/4.326, allocations: 0.914 MB / 2.511 GB, free: 100.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/4.326, allocations: 0 / 2.511 GB, free: 100.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004956/4.327, allocations: 313.5 kB / 2.512 GB, free: 99.92 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/4.329, allocations: 0.5353 MB / 2.512 GB, free: 99.41 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/4.333, allocations: 1.751 MB / 2.514 GB, free: 97.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000786/4.334, allocations: 1.306 MB / 2.515 GB, free: 96.27 MB / 1.167 GB Notification: Performance of SimCode: time 9.62e-07/4.334, allocations: 0 / 2.515 GB, free: 96.27 MB / 1.167 GB Notification: Performance of Templates: time 0.04318/4.377, allocations: 30.22 MB / 2.545 GB, free: 66.52 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches