Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.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.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.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.926/1.926, allocations: 390.4 MB / 397.7 MB, free: 11.18 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.001113/0.001113, allocations: 185.2 kB / 490.8 MB, free: 1.891 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.325/1.325, 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.0009486/0.0009486, allocations: 87.8 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.949e-06/9.979e-06, allocations: 8 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2801, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.292, allocations: 430.6 MB / 1.632 GB, free: 1.168 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/1.292, allocations: 97.92 kB / 1.632 GB, free: 1.117 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.029/4.321, allocations: 0.8766 GB / 2.509 GB, free: 113 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002245/4.321, allocations: 39.05 kB / 2.509 GB, free: 113 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.004358/4.325, allocations: 1.751 MB / 2.511 GB, free: 111.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/4.326, allocations: 8.031 kB / 2.511 GB, free: 111.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/4.327, allocations: 248.4 kB / 2.511 GB, free: 110.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004231/4.331, allocations: 1.717 MB / 2.512 GB, free: 109.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/4.331, allocations: 35.59 kB / 2.512 GB, free: 109.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/4.331, allocations: 56 kB / 2.513 GB, free: 109.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001537/4.333, allocations: 0.7108 MB / 2.513 GB, free: 108.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/4.335, allocations: 0.8888 MB / 2.514 GB, free: 107.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/4.335, allocations: 0 / 2.514 GB, free: 107.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.706e-05/4.335, allocations: 3.906 kB / 2.514 GB, free: 107.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/4.335, allocations: 45.98 kB / 2.514 GB, free: 107.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006721/4.341, allocations: 5.121 MB / 2.519 GB, free: 102.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007807/4.342, allocations: 478.7 kB / 2.52 GB, free: 101.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/4.343, allocations: 257.8 kB / 2.52 GB, free: 101.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004598/4.343, allocations: 0.831 MB / 2.521 GB, free: 100.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/4.343, allocations: 50.98 kB / 2.521 GB, free: 100.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=60): time 1.894e-06/4.343, allocations: 0 / 2.521 GB, free: 100.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=60): time 0.004302/4.347, allocations: 1.049 MB / 2.522 GB, free: 99.41 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/4.347, allocations: 59.91 kB / 2.522 GB, free: 99.34 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/4.349, allocations: 0.8861 MB / 2.523 GB, free: 98.45 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.42e-05/4.349, allocations: 25.7 kB / 2.523 GB, free: 98.42 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/4.349, allocations: 445.6 kB / 2.523 GB, free: 97.98 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/4.349, allocations: 205 kB / 2.523 GB, free: 97.77 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/4.349, allocations: 0 / 2.523 GB, free: 97.77 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.146e-05/4.349, allocations: 329.9 kB / 2.524 GB, free: 97.45 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/4.35, allocations: 196.7 kB / 2.524 GB, free: 97.26 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/4.35, allocations: 419.1 kB / 2.524 GB, free: 96.76 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/4.351, allocations: 284.1 kB / 2.524 GB, free: 96.49 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/4.351, allocations: 3.938 kB / 2.524 GB, free: 96.49 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004352/4.355, allocations: 1.184 MB / 2.526 GB, free: 95.34 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002557/4.355, allocations: 1.328 MB / 2.527 GB, free: 93.93 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/4.355, allocations: 4 kB / 2.527 GB, free: 93.93 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004727/4.356, allocations: 128.1 kB / 2.527 GB, free: 93.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000629/4.357, allocations: 159.2 kB / 2.527 GB, free: 93.65 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005946/4.357, allocations: 0.7083 MB / 2.528 GB, free: 92.92 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/4.358, allocations: 125.2 kB / 2.528 GB, free: 92.81 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.433e-05/4.359, allocations: 35.98 kB / 2.528 GB, free: 92.77 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/4.359, allocations: 0 / 2.528 GB, free: 92.77 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003908/4.362, allocations: 1.031 MB / 2.529 GB, free: 91.78 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/4.363, allocations: 4 kB / 2.529 GB, free: 91.78 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000376/4.363, allocations: 135.6 kB / 2.529 GB, free: 91.65 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000602/4.364, allocations: 163.5 kB / 2.529 GB, free: 91.49 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005614/4.364, allocations: 0.7044 MB / 2.53 GB, free: 90.76 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/4.365, allocations: 114.2 kB / 2.53 GB, free: 90.65 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.123e-05/4.365, allocations: 35.92 kB / 2.53 GB, free: 90.62 MB / 1.167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaPum.yPL:VARIABLE(min = 0.0 unit = "1" ) "Part load ratio" 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.0002408/4.366, allocations: 117.1 kB / 2.53 GB, free: 90.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/4.366, allocations: 126.5 kB / 2.53 GB, free: 90.37 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004375/4.37, allocations: 1.194 MB / 2.532 GB, free: 89.17 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/4.37, allocations: 8 kB / 2.532 GB, free: 89.16 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/4.37, allocations: 0 / 2.532 GB, free: 89.16 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00374/4.374, allocations: 1.091 MB / 2.533 GB, free: 88.04 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00651/4.381, allocations: 2.389 MB / 2.535 GB, free: 85.58 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/4.381, allocations: 4 kB / 2.535 GB, free: 85.57 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/4.381, allocations: 132.2 kB / 2.535 GB, free: 85.45 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003875/4.382, allocations: 116.8 kB / 2.535 GB, free: 85.33 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.755e-05/4.382, allocations: 15.23 kB / 2.535 GB, free: 85.32 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004944/4.382, allocations: 0.6927 MB / 2.536 GB, free: 84.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/4.382, allocations: 8.062 kB / 2.536 GB, free: 84.59 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004592/4.387, allocations: 1.762 MB / 2.538 GB, free: 82.72 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007711/4.388, allocations: 315.3 kB / 2.538 GB, free: 82.39 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003739/4.388, allocations: 4 kB / 2.538 GB, free: 82.39 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/4.389, allocations: 67.91 kB / 2.538 GB, free: 82.32 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/4.389, allocations: 48.28 kB / 2.538 GB, free: 82.27 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.322e-05/4.389, allocations: 31.97 kB / 2.538 GB, free: 82.24 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001273/4.391, allocations: 0.6854 MB / 2.539 GB, free: 81.55 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003/4.394, allocations: 0.7831 MB / 2.54 GB, free: 80.77 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.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.001661/4.395, allocations: 0.7919 MB / 2.54 GB, free: 80.05 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001826/4.397, allocations: 0.9184 MB / 2.541 GB, free: 79.12 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/4.397, allocations: 0 / 2.541 GB, free: 79.12 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005565/4.398, allocations: 325.5 kB / 2.541 GB, free: 78.81 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/4.4, allocations: 0.5368 MB / 2.542 GB, free: 78.29 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/4.405, allocations: 1.751 MB / 2.544 GB, free: 76.46 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/4.406, allocations: 1.299 MB / 2.545 GB, free: 75.14 MB / 1.167 GB Notification: Performance of SimCode: time 5.81e-07/4.406, allocations: 0 / 2.545 GB, free: 75.14 MB / 1.167 GB Notification: Performance of Templates: time 0.04635/4.452, allocations: 30.47 MB / 2.575 GB, free: 45.09 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches