Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_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_TCon_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.TSet|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_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_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.TSet|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_TCon_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 2.023/2.023, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001063/0.001063, allocations: 177.3 kB / 490.8 MB, free: 1.98 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.434/1.434, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.0009663/0.0009664, allocations: 87.12 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.434e-06/7.714e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.282, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9857/1.268, allocations: 434.8 MB / 1.636 GB, free: 13.17 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/1.268, allocations: 96.22 kB / 1.636 GB, free: 13.12 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.437/4.705, allocations: 1.069 GB / 2.705 GB, free: 252.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001412/4.706, allocations: 36.28 kB / 2.705 GB, free: 252.7 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003171/4.709, allocations: 1.497 MB / 2.707 GB, free: 252.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/4.709, allocations: 7.094 kB / 2.707 GB, free: 252.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/4.711, allocations: 488.9 kB / 2.707 GB, free: 252 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/4.714, allocations: 1.313 MB / 2.709 GB, free: 251.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003389/4.714, allocations: 106.8 kB / 2.709 GB, free: 251.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/4.715, allocations: 50.28 kB / 2.709 GB, free: 251.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001213/4.716, allocations: 0.6321 MB / 2.709 GB, free: 251.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/4.717, allocations: 0.765 MB / 2.71 GB, free: 251.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/4.717, allocations: 3.938 kB / 2.71 GB, free: 251.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.378e-05/4.717, allocations: 3.906 kB / 2.71 GB, free: 251.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/4.717, allocations: 35 kB / 2.71 GB, free: 251.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005984/4.723, allocations: 4.793 MB / 2.715 GB, free: 249 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002581/4.726, allocations: 0.6856 MB / 2.715 GB, free: 249 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/4.726, allocations: 206.2 kB / 2.716 GB, free: 249 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004569/4.726, allocations: 0.9019 MB / 2.717 GB, free: 247.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/4.726, allocations: 35.19 kB / 2.717 GB, free: 247.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 2.564e-06/4.726, allocations: 3.344 kB / 2.717 GB, free: 247.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=43): time 0.002854/4.729, allocations: 0.799 MB / 2.717 GB, free: 247.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/4.729, allocations: 55.38 kB / 2.717 GB, free: 247.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009843/4.73, allocations: 0.7455 MB / 2.718 GB, free: 247.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.852e-05/4.73, allocations: 25.7 kB / 2.718 GB, free: 247.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/4.731, allocations: 383.8 kB / 2.719 GB, free: 247.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.899e-05/4.731, allocations: 145.7 kB / 2.719 GB, free: 247.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/4.731, allocations: 0 / 2.719 GB, free: 247.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.71e-05/4.731, allocations: 332.8 kB / 2.719 GB, free: 247 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/4.731, allocations: 171.8 kB / 2.719 GB, free: 247 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/4.731, allocations: 423.6 kB / 2.72 GB, free: 246.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006725/4.732, allocations: 260.2 kB / 2.72 GB, free: 246.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/4.732, allocations: 6.281 kB / 2.72 GB, free: 246.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00291/4.735, allocations: 0.9543 MB / 2.721 GB, free: 246.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002639/4.735, allocations: 1.574 MB / 2.722 GB, free: 245 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/4.735, allocations: 7.531 kB / 2.722 GB, free: 245 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000666/4.736, allocations: 241.1 kB / 2.723 GB, free: 245 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005281/4.737, allocations: 122.8 kB / 2.723 GB, free: 245 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009091/4.738, allocations: 0.8796 MB / 2.723 GB, free: 244.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/4.739, allocations: 175.9 kB / 2.724 GB, free: 244.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.899e-05/4.739, allocations: 35.84 kB / 2.724 GB, free: 244.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/4.739, allocations: 11.59 kB / 2.724 GB, free: 244.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002756/4.742, allocations: 0.819 MB / 2.724 GB, free: 244.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/4.742, allocations: 3.812 kB / 2.724 GB, free: 244.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006065/4.742, allocations: 232.3 kB / 2.725 GB, free: 244.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/4.743, allocations: 126.8 kB / 2.725 GB, free: 244.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008287/4.744, allocations: 0.8758 MB / 2.726 GB, free: 243.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/4.745, allocations: 146.6 kB / 2.726 GB, free: 243.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/4.745, allocations: 35.89 kB / 2.726 GB, free: 243.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001717/4.745, allocations: 127.9 kB / 2.726 GB, free: 243.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/4.745, allocations: 95.16 kB / 2.726 GB, free: 243.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003082/4.748, allocations: 0.9744 MB / 2.727 GB, free: 243.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/4.748, allocations: 6.75 kB / 2.727 GB, free: 243.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/4.748, allocations: 0 / 2.727 GB, free: 243.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/4.748, allocations: 3.844 kB / 2.727 GB, free: 243.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004065/4.753, allocations: 1.922 MB / 2.729 GB, free: 243.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/4.753, allocations: 2.938 kB / 2.729 GB, free: 243.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/4.753, allocations: 65.39 kB / 2.729 GB, free: 243.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006191/4.753, allocations: 255.9 kB / 2.729 GB, free: 243.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/4.754, allocations: 7.203 kB / 2.729 GB, free: 243.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000866/4.754, allocations: 0.9096 MB / 2.73 GB, free: 242.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/4.754, allocations: 7.453 kB / 2.73 GB, free: 242.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002824/4.757, allocations: 1.148 MB / 2.731 GB, free: 242.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/4.758, allocations: 266.8 kB / 2.732 GB, free: 242.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/4.758, allocations: 11.12 kB / 2.732 GB, free: 242.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008704/4.759, allocations: 105.1 kB / 2.732 GB, free: 242.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/4.759, allocations: 39.45 kB / 2.732 GB, free: 242.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/4.759, allocations: 22.34 kB / 2.732 GB, free: 242.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006925/4.76, allocations: 0.5723 MB / 2.732 GB, free: 242.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001637/4.761, allocations: 0.6136 MB / 2.733 GB, free: 242 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009872/4.762, allocations: 0.6681 MB / 2.733 GB, free: 241.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001522/4.764, allocations: 0.8181 MB / 2.734 GB, free: 241.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/4.764, allocations: 0 / 2.734 GB, free: 241.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004592/4.764, allocations: 272.8 kB / 2.735 GB, free: 241.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/4.766, allocations: 372.6 kB / 2.735 GB, free: 241.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004823/4.771, allocations: 1.638 MB / 2.736 GB, free: 241.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007506/4.771, allocations: 1.166 MB / 2.738 GB, free: 240.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.222e-06/4.771, allocations: 3.531 kB / 2.738 GB, free: 240.7 MB / 1.151 GB Notification: Performance of Templates: time 0.03506/4.807, allocations: 25.65 MB / 2.763 GB, free: 240.2 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches