Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.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.Pump_Nrpm_stratos,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump1.m_flow|pump2.m_flow|pump3.m_flow|pump4.m_flow|pump5.m_flow|forcedPump1.dp|forcedPump2.dp|forcedPump3.dp|forcedPump4.dp|forcedPump5.dp|pump1.P|pump2.P|pump3.P|pump4.P|pump5.P",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos") translateModel(Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump1.m_flow|pump2.m_flow|pump3.m_flow|pump4.m_flow|pump5.m_flow|forcedPump1.dp|forcedPump2.dp|forcedPump3.dp|forcedPump4.dp|forcedPump5.dp|pump1.P|pump2.P|pump3.P|pump4.P|pump5.P",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos") [: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.07/2.07, allocations: 387.2 MB / 394.5 MB, free: 13.6 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.001156/0.001156, allocations: 185.2 kB / 487 MB, free: 5.34 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.586/1.586, allocations: 221.3 MB / 0.7819 GB, free: 1.367 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.001081/0.001081, allocations: 97.88 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.035e-05/1.036e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3043, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.073/1.378, allocations: 399.1 MB / 1.595 GB, free: 7.328 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/1.378, allocations: 89.39 kB / 1.595 GB, free: 7.285 MB / 1.026 GB Notification: Performance of FrontEnd: time 9.675/11.05, allocations: 2.698 GB / 4.293 GB, free: 86.85 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.002064/11.05, allocations: 253.9 kB / 4.293 GB, free: 86.81 MB / 1.26 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.03603/11.09, allocations: 8.454 MB / 4.302 GB, free: 82.79 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/11.09, allocations: 6.156 kB / 4.302 GB, free: 82.79 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0279/11.12, allocations: 4.007 MB / 4.305 GB, free: 82.16 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1914/11.31, allocations: 61.62 MB / 4.366 GB, free: 70.84 MB / 1.26 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006171/11.31, allocations: 160.8 kB / 4.366 GB, free: 70.83 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003285/11.31, allocations: 341.5 kB / 4.366 GB, free: 70.82 MB / 1.26 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01446/11.33, allocations: 5.057 MB / 4.371 GB, free: 68.89 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0222/11.35, allocations: 5.685 MB / 4.377 GB, free: 65.98 MB / 1.26 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001456/11.35, allocations: 4.547 kB / 4.377 GB, free: 65.98 MB / 1.26 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001416/11.35, allocations: 8 kB / 4.377 GB, free: 65.97 MB / 1.26 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001646/11.35, allocations: 187.9 kB / 4.377 GB, free: 65.79 MB / 1.26 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07194/11.42, allocations: 30.27 MB / 4.406 GB, free: 35 MB / 1.26 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004868/11.43, allocations: 2.827 MB / 4.409 GB, free: 32.17 MB / 1.26 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003811/11.43, allocations: 2.29 MB / 4.411 GB, free: 29.86 MB / 1.26 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03173/11.47, allocations: 11.67 MB / 4.423 GB, free: 17.53 MB / 1.26 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/11.47, allocations: 72.69 kB / 4.423 GB, free: 17.45 MB / 1.26 GB Notification: Performance of pre-optimization done (n=277): time 5.591e-06/11.47, allocations: 0 / 4.423 GB, free: 17.45 MB / 1.26 GB Notification: Performance of matching and sorting (n=277): time 0.02144/11.49, allocations: 6.631 MB / 4.429 GB, free: 10.75 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/11.49, allocations: 81.59 kB / 4.429 GB, free: 10.65 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02501/11.51, allocations: 9.7 MB / 4.439 GB, free: 1.02 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.001869/11.51, allocations: 37.69 kB / 4.439 GB, free: 0.9766 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.004675/11.52, allocations: 2.458 MB / 4.441 GB, free: 14.49 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.004151/11.52, allocations: 0.9314 MB / 4.442 GB, free: 13.54 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006841/11.52, allocations: 0 / 4.442 GB, free: 13.54 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0005516/11.52, allocations: 0.4969 MB / 4.443 GB, free: 13.04 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004157/11.53, allocations: 2.395 MB / 4.445 GB, free: 10.64 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006539/11.53, allocations: 4.503 MB / 4.449 GB, free: 5.102 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/11.55, allocations: 3.456 MB / 4.453 GB, free: 1.633 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.844e-05/11.55, allocations: 20 kB / 4.453 GB, free: 1.613 MB / 1.276 GB Notification: Performance of matching and sorting (n=637) (initialization): time 0.02711/11.57, allocations: 8.292 MB / 4.461 GB, free: 9.266 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.9262/12.5, allocations: 34.26 MB / 4.494 GB, free: 208.2 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002468/12.5, allocations: 61.77 kB / 4.494 GB, free: 208.2 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002749/12.5, allocations: 0.8884 MB / 4.495 GB, free: 208.2 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007553/12.51, allocations: 1.358 MB / 4.497 GB, free: 208.2 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004155/12.51, allocations: 4.094 MB / 4.501 GB, free: 205.6 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01229/12.53, allocations: 0.763 MB / 4.501 GB, free: 205.6 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002177/12.53, allocations: 448.1 kB / 4.502 GB, free: 205.6 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/12.53, allocations: 6.438 kB / 4.502 GB, free: 205.6 MB / 1.307 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0157/12.54, allocations: 6.415 MB / 4.508 GB, free: 205.5 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001557/12.54, allocations: 56.47 kB / 4.508 GB, free: 205.5 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002152/12.55, allocations: 0.8934 MB / 4.509 GB, free: 205.4 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005548/12.55, allocations: 1.271 MB / 4.51 GB, free: 205.4 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00396/12.56, allocations: 4.091 MB / 4.514 GB, free: 202.9 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01074/12.57, allocations: 0.6224 MB / 4.515 GB, free: 202.9 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001736/12.57, allocations: 388.1 kB / 4.515 GB, free: 202.9 MB / 1.307 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump5.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump5.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: pump4.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump4.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: pump3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump3.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: pump2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump2.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: pump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump1.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: 266 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (532): * Single equations (assignments): 517 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 9,2 9,2 9,2 9,3 8} Notification: Performance of prepare postOptimizeDAE: time 0.002222/12.57, allocations: 306.2 kB / 4.516 GB, free: 202.8 MB / 1.307 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004032/12.58, allocations: 0.8919 MB / 4.516 GB, free: 202.8 MB / 1.307 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02007/12.6, allocations: 6.856 MB / 4.523 GB, free: 202.5 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-05/12.6, allocations: 41.62 kB / 4.523 GB, free: 202.5 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/12.6, allocations: 0 / 4.523 GB, free: 202.5 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.102e-05/12.6, allocations: 19.62 kB / 4.523 GB, free: 202.5 MB / 1.307 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03751/12.63, allocations: 13.09 MB / 4.536 GB, free: 202 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/12.63, allocations: 2.094 kB / 4.536 GB, free: 202 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004202/12.64, allocations: 0.6876 MB / 4.537 GB, free: 202 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002104/12.64, allocations: 0.7939 MB / 4.537 GB, free: 201.9 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007578/12.64, allocations: 89.27 kB / 4.537 GB, free: 201.9 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003982/12.64, allocations: 3.975 MB / 4.541 GB, free: 199.3 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/12.64, allocations: 3.156 kB / 4.541 GB, free: 199.3 MB / 1.307 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0171/12.66, allocations: 8.023 MB / 4.549 GB, free: 198.2 MB / 1.307 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008631/12.67, allocations: 1.942 MB / 4.551 GB, free: 197.6 MB / 1.307 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005262/12.68, allocations: 22.11 kB / 4.551 GB, free: 197.6 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01013/12.69, allocations: 452.2 kB / 4.552 GB, free: 197.6 MB / 1.307 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000853/12.69, allocations: 185.7 kB / 4.552 GB, free: 197.6 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006773/12.69, allocations: 192.6 kB / 4.552 GB, free: 197.6 MB / 1.307 GB Notification: Performance of sort global known variables: time 0.01739/12.7, allocations: 7.218 MB / 4.559 GB, free: 197.3 MB / 1.307 GB Notification: Performance of remove unused functions: time 0.02287/12.73, allocations: 4.168 MB / 4.563 GB, free: 197.1 MB / 1.307 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (pump1.filter.s[1],pump1.filter.s[2],pump2.filter.s[1],pump2.filter.s[2],pump3.filter.s[1],pump3.filter.s[2],pump4.filter.s[1],pump4.filter.s[2],pump5.filter.s[1],pump5.filter.s[2],forcedPump1.filter.s[1],forcedPump1.filter.s[2],forcedPump2.filter.s[1],forcedPump2.filter.s[2],forcedPump3.filter.s[1],forcedPump3.filter.s[2],forcedPump4.filter.s[1],forcedPump4.filter.s[2],forcedPump5.filter.s[1],forcedPump5.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 9,2 9,2 9,2 9,2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.008023/12.74, allocations: 4.468 MB / 4.567 GB, free: 195.6 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.01508/12.75, allocations: 8.906 MB / 4.576 GB, free: 195.4 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 9.016e-06/12.75, allocations: 0 / 4.576 GB, free: 195.4 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.003871/12.75, allocations: 2.076 MB / 4.578 GB, free: 195.4 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02312/12.78, allocations: 4.034 MB / 4.582 GB, free: 195.4 MB / 1.307 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03533/12.81, allocations: 13.84 MB / 4.596 GB, free: 192.3 MB / 1.307 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01115/12.82, allocations: 6.084 MB / 4.601 GB, free: 191.4 MB / 1.307 GB Notification: Performance of SimCode: time 1.473e-06/12.82, allocations: 3.719 kB / 4.601 GB, free: 191.4 MB / 1.307 GB Notification: Performance of Templates: time 0.3798/13.2, allocations: 232.8 MB / 4.829 GB, free: 178.4 MB / 1.307 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_Pump_Nrpm_stratos.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches