Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") [: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 9.1.1-maint.9.1.x/package.mo): time 2.108/2.108, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001358/0.001358, allocations: 185.2 kB / 487 MB, free: 5.391 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.546/1.546, allocations: 221.3 MB / 0.7819 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009426/0.0009426, allocations: 97.67 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.678e-06/9.709e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3102, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9816/1.292, allocations: 439.3 MB / 1.634 GB, free: 332 kB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/1.292, allocations: 95.12 kB / 1.634 GB, free: 284 kB / 1.057 GB Notification: Performance of FrontEnd: time 5.607/6.899, allocations: 1.515 GB / 3.149 GB, free: 135.7 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0006352/6.9, allocations: 99.55 kB / 3.149 GB, free: 135.7 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01486/6.915, allocations: 3.607 MB / 3.152 GB, free: 134.4 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/6.915, allocations: 7.844 kB / 3.152 GB, free: 134.4 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/6.926, allocations: 1.585 MB / 3.154 GB, free: 134.1 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07665/7.002, allocations: 28.35 MB / 3.182 GB, free: 132.5 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002486/7.003, allocations: 70.56 kB / 3.182 GB, free: 132.5 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001426/7.004, allocations: 144.8 kB / 3.182 GB, free: 132.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006608/7.011, allocations: 1.846 MB / 3.184 GB, free: 132.5 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008286/7.019, allocations: 2.209 MB / 3.186 GB, free: 132.1 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/7.019, allocations: 2.25 kB / 3.186 GB, free: 132.1 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007522/7.02, allocations: 3.875 kB / 3.186 GB, free: 132.1 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.618e-05/7.02, allocations: 50.34 kB / 3.186 GB, free: 132.1 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03257/7.052, allocations: 12.04 MB / 3.198 GB, free: 126 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003574/7.056, allocations: 1.682 MB / 3.199 GB, free: 126 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/7.058, allocations: 0.7482 MB / 3.2 GB, free: 126 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009868/7.067, allocations: 3.712 MB / 3.204 GB, free: 124.3 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/7.068, allocations: 51.12 kB / 3.204 GB, free: 124.2 MB / 1.182 GB Notification: Performance of pre-optimization done (n=116): time 8.717e-06/7.068, allocations: 0 / 3.204 GB, free: 124.2 MB / 1.182 GB Notification: Performance of matching and sorting (n=116): time 0.009471/7.077, allocations: 2.539 MB / 3.206 GB, free: 123.9 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/7.077, allocations: 63.69 kB / 3.206 GB, free: 123.9 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007363/7.085, allocations: 2.457 MB / 3.209 GB, free: 123.6 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.000719/7.085, allocations: 31.23 kB / 3.209 GB, free: 123.6 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001795/7.087, allocations: 0.9954 MB / 3.21 GB, free: 123.1 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.001289/7.088, allocations: 391.1 kB / 3.21 GB, free: 122.8 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004591/7.089, allocations: 0 / 3.21 GB, free: 122.8 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0002507/7.089, allocations: 375.7 kB / 3.21 GB, free: 122.5 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001873/7.091, allocations: 0.7309 MB / 3.211 GB, free: 122.5 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/7.093, allocations: 1.468 MB / 3.213 GB, free: 121.6 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004709/7.098, allocations: 1.131 MB / 3.214 GB, free: 121.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-05/7.098, allocations: 5.844 kB / 3.214 GB, free: 121.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.01075/7.109, allocations: 3.067 MB / 3.217 GB, free: 121.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001924/7.111, allocations: 7.601 MB / 3.224 GB, free: 113.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.612e-05/7.111, allocations: 17.47 kB / 3.224 GB, free: 113.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00198/7.113, allocations: 0.7157 MB / 3.225 GB, free: 113.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/7.115, allocations: 424.2 kB / 3.225 GB, free: 113.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005534/7.121, allocations: 5.507 MB / 3.231 GB, free: 109.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005579/7.127, allocations: 326.7 kB / 3.231 GB, free: 109 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/7.128, allocations: 160.3 kB / 3.231 GB, free: 109 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/7.128, allocations: 4.719 kB / 3.231 GB, free: 109 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009327/7.137, allocations: 2.463 MB / 3.233 GB, free: 108.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-05/7.137, allocations: 18.5 kB / 3.233 GB, free: 108.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002302/7.14, allocations: 0.8285 MB / 3.234 GB, free: 108.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/7.141, allocations: 393.1 kB / 3.235 GB, free: 108.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01589/7.157, allocations: 12.21 MB / 3.247 GB, free: 101.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004063/7.162, allocations: 274.6 kB / 3.247 GB, free: 101.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006907/7.162, allocations: 135.4 kB / 3.247 GB, free: 101.1 MB / 1.182 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_no.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_m_flow.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_dp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 172 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001231/7.163, allocations: 171.8 kB / 3.247 GB, free: 101 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001323/7.165, allocations: 327.3 kB / 3.247 GB, free: 100.9 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009975/7.175, allocations: 2.957 MB / 3.25 GB, free: 100.6 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-05/7.175, allocations: 22.56 kB / 3.25 GB, free: 100.6 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/7.175, allocations: 0 / 3.25 GB, free: 100.6 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.442e-05/7.175, allocations: 7.078 kB / 3.25 GB, free: 100.6 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0149/7.19, allocations: 4.657 MB / 3.255 GB, free: 100.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/7.19, allocations: 0 / 3.255 GB, free: 100.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/7.191, allocations: 258.2 kB / 3.255 GB, free: 100.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001223/7.192, allocations: 0.5191 MB / 3.256 GB, free: 100.1 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001686/7.193, allocations: 32.5 kB / 3.256 GB, free: 100.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003409/7.196, allocations: 5.069 MB / 3.261 GB, free: 95.94 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/7.196, allocations: 2.562 kB / 3.261 GB, free: 95.94 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006935/7.203, allocations: 2.522 MB / 3.263 GB, free: 95.4 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002496/7.206, allocations: 0.5926 MB / 3.264 GB, free: 95.11 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001355/7.207, allocations: 3.781 kB / 3.264 GB, free: 95.11 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003297/7.21, allocations: 212.3 kB / 3.264 GB, free: 95.09 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/7.21, allocations: 84.86 kB / 3.264 GB, free: 95.09 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002481/7.211, allocations: 84.48 kB / 3.264 GB, free: 95.09 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.00489/7.216, allocations: 1.835 MB / 3.266 GB, free: 94.91 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01012/7.226, allocations: 1.83 MB / 3.268 GB, free: 94.62 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004942/7.231, allocations: 2.269 MB / 3.27 GB, free: 94 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.007793/7.239, allocations: 3.591 MB / 3.273 GB, free: 93.53 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/7.239, allocations: 0 / 3.273 GB, free: 93.53 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/7.24, allocations: 0.8288 MB / 3.274 GB, free: 93.52 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008207/7.249, allocations: 1.354 MB / 3.276 GB, free: 93.5 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/7.264, allocations: 4.514 MB / 3.28 GB, free: 92.36 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004447/7.269, allocations: 2.535 MB / 3.282 GB, free: 91.61 MB / 1.182 GB Notification: Performance of SimCode: time 9.32e-07/7.269, allocations: 0 / 3.282 GB, free: 91.61 MB / 1.182 GB Notification: Performance of Templates: time 0.1811/7.45, allocations: 86.8 MB / 3.367 GB, free: 85.99 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches