Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.port_a2.m_flow|heaPum.port_b2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.port_a2.m_flow|heaPum.port_b2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") [: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.985/1.985, 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.001059/0.001059, allocations: 185.2 kB / 490.8 MB, free: 1.926 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.412/1.412, allocations: 221.3 MB / 0.7863 GB, free: 13.63 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.0009919/0.0009918, allocations: 96.09 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.929e-06/9.959e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2606, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.289, allocations: 434.8 MB / 1.636 GB, free: 13.07 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/1.29, allocations: 87.14 kB / 1.636 GB, free: 13.03 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.203/3.492, allocations: 0.6518 GB / 2.288 GB, free: 225.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001538/3.492, allocations: 36.03 kB / 2.288 GB, free: 225.2 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003402/3.496, allocations: 1.522 MB / 2.29 GB, free: 224.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/3.496, allocations: 10.88 kB / 2.29 GB, free: 224.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/3.498, allocations: 493.6 kB / 2.29 GB, free: 224.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003123/3.501, allocations: 1.32 MB / 2.291 GB, free: 224.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000344/3.502, allocations: 102.5 kB / 2.291 GB, free: 224.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/3.502, allocations: 53.81 kB / 2.292 GB, free: 224.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001234/3.503, allocations: 0.6344 MB / 2.292 GB, free: 224.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/3.504, allocations: 0.7629 MB / 2.293 GB, free: 224 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/3.504, allocations: 4.375 kB / 2.293 GB, free: 224 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.955e-05/3.504, allocations: 3.75 kB / 2.293 GB, free: 224 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/3.504, allocations: 35.77 kB / 2.293 GB, free: 224 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005522/3.51, allocations: 4.787 MB / 2.298 GB, free: 221.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/3.512, allocations: 0.6708 MB / 2.298 GB, free: 221.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/3.513, allocations: 202.8 kB / 2.298 GB, free: 221.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004356/3.513, allocations: 0.9104 MB / 2.299 GB, free: 220.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/3.513, allocations: 37.62 kB / 2.299 GB, free: 220.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=43): time 1.914e-06/3.513, allocations: 0 / 2.299 GB, free: 220.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=43): time 0.002834/3.516, allocations: 0.8088 MB / 2.3 GB, free: 220.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/3.516, allocations: 65.5 kB / 2.3 GB, free: 220.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007985/3.517, allocations: 0.7545 MB / 2.301 GB, free: 220 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/3.517, allocations: 29.42 kB / 2.301 GB, free: 220 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/3.517, allocations: 394.7 kB / 2.301 GB, free: 219.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.166e-05/3.517, allocations: 139.4 kB / 2.301 GB, free: 219.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/3.517, allocations: 0 / 2.301 GB, free: 219.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.388e-05/3.517, allocations: 326 kB / 2.302 GB, free: 219.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/3.518, allocations: 183.3 kB / 2.302 GB, free: 219.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/3.518, allocations: 417.1 kB / 2.302 GB, free: 219.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006102/3.519, allocations: 270.8 kB / 2.303 GB, free: 219.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/3.519, allocations: 3.094 kB / 2.303 GB, free: 219.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002824/3.521, allocations: 0.958 MB / 2.304 GB, free: 219 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000267/3.522, allocations: 1.652 MB / 2.305 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/3.522, allocations: 5.969 kB / 2.305 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006233/3.522, allocations: 225.7 kB / 2.305 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/3.523, allocations: 139 kB / 2.306 GB, free: 217.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008447/3.524, allocations: 0.8891 MB / 2.306 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/3.525, allocations: 186.9 kB / 2.307 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.694e-05/3.525, allocations: 31 kB / 2.307 GB, free: 216.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-06/3.525, allocations: 3.812 kB / 2.307 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002625/3.528, allocations: 0.8194 MB / 2.307 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/3.528, allocations: 11.16 kB / 2.307 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005604/3.528, allocations: 221.1 kB / 2.308 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/3.529, allocations: 138 kB / 2.308 GB, free: 216.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000783/3.53, allocations: 0.8745 MB / 2.309 GB, free: 216.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/3.531, allocations: 160.3 kB / 2.309 GB, free: 216.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/3.531, allocations: 35.19 kB / 2.309 GB, free: 216.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.0001447/3.531, allocations: 117.6 kB / 2.309 GB, free: 216 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/3.531, allocations: 101.1 kB / 2.309 GB, free: 216 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00291/3.534, allocations: 0.963 MB / 2.31 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/3.534, allocations: 7.25 kB / 2.31 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/3.534, allocations: 11.03 kB / 2.31 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/3.534, allocations: 7.734 kB / 2.31 GB, free: 215.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003977/3.538, allocations: 1.932 MB / 2.312 GB, free: 215.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/3.538, allocations: 3.906 kB / 2.312 GB, free: 215.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/3.538, allocations: 82.52 kB / 2.312 GB, free: 215.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005873/3.539, allocations: 238.1 kB / 2.312 GB, free: 215.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/3.539, allocations: 7.609 kB / 2.312 GB, free: 215.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008288/3.54, allocations: 0.9086 MB / 2.313 GB, free: 215 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/3.54, allocations: 7.406 kB / 2.313 GB, free: 215 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002784/3.543, allocations: 1.139 MB / 2.314 GB, free: 214.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003428/3.543, allocations: 274.1 kB / 2.314 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/3.543, allocations: 0 / 2.314 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008992/3.544, allocations: 124.4 kB / 2.315 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/3.544, allocations: 30.77 kB / 2.315 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.721e-05/3.544, allocations: 26.91 kB / 2.315 GB, free: 214.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0006149/3.545, allocations: 0.5715 MB / 2.315 GB, free: 214.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001538/3.546, allocations: 0.6222 MB / 2.316 GB, free: 214.2 MB / 1.167 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.0009275/3.547, allocations: 0.6763 MB / 2.316 GB, free: 214 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001375/3.549, allocations: 0.8135 MB / 2.317 GB, free: 214 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/3.549, allocations: 6.438 kB / 2.317 GB, free: 214 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000432/3.549, allocations: 279.2 kB / 2.318 GB, free: 214 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/3.551, allocations: 373.7 kB / 2.318 GB, free: 214 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004309/3.555, allocations: 1.645 MB / 2.319 GB, free: 213.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005906/3.556, allocations: 1.172 MB / 2.321 GB, free: 212.9 MB / 1.167 GB Notification: Performance of SimCode: time 3.3e-07/3.556, allocations: 3.406 kB / 2.321 GB, free: 212.9 MB / 1.167 GB Notification: Performance of Templates: time 0.03525/3.591, allocations: 25.85 MB / 2.346 GB, free: 212.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches