Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.Pump_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_stratos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos") translateModel(Buildings.Fluid.Movers.Validation.Pump_stratos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.u|floMacSta.dpMachine|floMacDyn.dpMachine|floMacSta.VMachine_flow|floMacDyn.VMachine_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.Pump_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.057/2.057, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001104/0.001104, allocations: 181.3 kB / 487 MB, free: 5.348 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.561/1.561, allocations: 221.3 MB / 0.7819 GB, free: 1.324 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.001255/0.001255, allocations: 98.55 kB / 0.9213 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.476e-06/8.496e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3378, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.729/5.066, allocations: 2.19 GB / 3.395 GB, free: 111.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/5.067, allocations: 87.95 kB / 3.395 GB, free: 111.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.659/7.726, allocations: 0.8822 GB / 4.277 GB, free: 111.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003355/7.726, allocations: 59.83 kB / 4.277 GB, free: 111.2 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.006504/7.733, allocations: 2.544 MB / 4.28 GB, free: 108.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/7.733, allocations: 9.031 kB / 4.28 GB, free: 108.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004559/7.738, allocations: 0.7612 MB / 4.28 GB, free: 107.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04173/7.779, allocations: 17.93 MB / 4.298 GB, free: 89.95 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/7.78, allocations: 43.91 kB / 4.298 GB, free: 89.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006773/7.78, allocations: 84 kB / 4.298 GB, free: 89.82 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003103/7.783, allocations: 1.27 MB / 4.299 GB, free: 88.55 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003489/7.787, allocations: 1.402 MB / 4.301 GB, free: 87.07 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.203e-05/7.787, allocations: 3.812 kB / 4.301 GB, free: 87.07 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002721/7.787, allocations: 0 / 4.301 GB, free: 87.07 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/7.787, allocations: 35.94 kB / 4.301 GB, free: 87.04 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0154/7.803, allocations: 8.497 MB / 4.309 GB, free: 78.08 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/7.804, allocations: 1.18 MB / 4.31 GB, free: 76.89 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000914/7.805, allocations: 0.6845 MB / 4.311 GB, free: 76.21 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005919/7.811, allocations: 3.096 MB / 4.314 GB, free: 72.94 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/7.811, allocations: 39.06 kB / 4.314 GB, free: 72.89 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 2.735e-06/7.811, allocations: 0 / 4.314 GB, free: 72.89 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.004304/7.816, allocations: 1.786 MB / 4.316 GB, free: 71.09 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/7.816, allocations: 55.91 kB / 4.316 GB, free: 71.03 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006869/7.822, allocations: 2.804 MB / 4.318 GB, free: 68.21 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002795/7.823, allocations: 25.7 kB / 4.318 GB, free: 68.18 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008615/7.824, allocations: 0.679 MB / 4.319 GB, free: 67.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004192/7.824, allocations: 208.9 kB / 4.319 GB, free: 67.29 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/7.824, allocations: 0 / 4.319 GB, free: 67.29 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001446/7.824, allocations: 353.9 kB / 4.32 GB, free: 66.94 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008581/7.825, allocations: 0.6115 MB / 4.32 GB, free: 66.32 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/7.826, allocations: 1.174 MB / 4.321 GB, free: 64.88 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002182/7.829, allocations: 0.8459 MB / 4.322 GB, free: 64.04 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/7.829, allocations: 4 kB / 4.322 GB, free: 64.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004784/7.833, allocations: 2.246 MB / 4.324 GB, free: 61.77 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001478/7.835, allocations: 6.186 MB / 4.33 GB, free: 55.14 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.092e-05/7.835, allocations: 15.94 kB / 4.33 GB, free: 55.12 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/7.836, allocations: 485.8 kB / 4.331 GB, free: 54.64 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/7.837, allocations: 251.6 kB / 4.331 GB, free: 54.39 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/7.84, allocations: 2.6 MB / 4.334 GB, free: 51.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002886/7.842, allocations: 202.5 kB / 4.334 GB, free: 51.52 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002572/7.843, allocations: 124 kB / 4.334 GB, free: 51.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/7.843, allocations: 8 kB / 4.334 GB, free: 51.39 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003947/7.847, allocations: 1.764 MB / 4.336 GB, free: 49.63 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.775e-05/7.847, allocations: 16 kB / 4.336 GB, free: 49.61 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/7.848, allocations: 0.5689 MB / 4.336 GB, free: 49.04 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009711/7.849, allocations: 251.5 kB / 4.337 GB, free: 48.79 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/7.86, allocations: 7.945 MB / 4.344 GB, free: 40.54 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002679/7.863, allocations: 175.1 kB / 4.345 GB, free: 40.36 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003749/7.863, allocations: 104 kB / 4.345 GB, free: 40.26 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.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: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 106 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006285/7.864, allocations: 144.4 kB / 4.345 GB, free: 40.11 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008447/7.865, allocations: 244.7 kB / 4.345 GB, free: 39.87 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004716/7.87, allocations: 1.711 MB / 4.347 GB, free: 38.16 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/7.87, allocations: 12 kB / 4.347 GB, free: 38.15 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/7.87, allocations: 0 / 4.347 GB, free: 38.15 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002208/7.872, allocations: 1.373 MB / 4.348 GB, free: 36.71 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009086/7.881, allocations: 3.677 MB / 4.352 GB, free: 32.96 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/7.881, allocations: 0 / 4.352 GB, free: 32.96 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008066/7.882, allocations: 143.9 kB / 4.352 GB, free: 32.82 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005491/7.882, allocations: 246.2 kB / 4.352 GB, free: 32.58 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.215e-05/7.882, allocations: 19.98 kB / 4.352 GB, free: 32.56 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/7.884, allocations: 2.043 MB / 4.354 GB, free: 30.44 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/7.884, allocations: 0 / 4.354 GB, free: 30.44 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004485/7.888, allocations: 2.146 MB / 4.356 GB, free: 28.25 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002425/7.891, allocations: 0.5756 MB / 4.357 GB, free: 27.65 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001147/7.892, allocations: 4 kB / 4.357 GB, free: 27.64 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/7.894, allocations: 115.8 kB / 4.357 GB, free: 27.53 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/7.894, allocations: 44.5 kB / 4.357 GB, free: 27.49 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/7.894, allocations: 51.91 kB / 4.357 GB, free: 27.44 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.004547/7.899, allocations: 2.102 MB / 4.359 GB, free: 25.34 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006609/7.906, allocations: 1.318 MB / 4.36 GB, free: 24.02 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (floMacDyn.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003726/7.909, allocations: 1.344 MB / 4.362 GB, free: 22.78 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004674/7.914, allocations: 2.456 MB / 4.364 GB, free: 20.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/7.914, allocations: 0 / 4.364 GB, free: 20.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009468/7.915, allocations: 498.3 kB / 4.364 GB, free: 19.82 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00631/7.921, allocations: 1.143 MB / 4.365 GB, free: 18.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009856/7.931, allocations: 3.359 MB / 4.369 GB, free: 15.27 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00329/7.935, allocations: 2.082 MB / 4.371 GB, free: 13.15 MB / 1.151 GB Notification: Performance of SimCode: time 1.032e-06/7.935, allocations: 4 kB / 4.371 GB, free: 13.15 MB / 1.151 GB Notification: Performance of Templates: time 0.6871/8.622, allocations: 68.21 MB / 4.437 GB, free: 308.1 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_Pump_stratos.csv","../files/Buildings_9_Buildings.Fluid.Movers.Validation.Pump_stratos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches