Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.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.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6") [: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.66 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.001105/0.001105, allocations: 181.2 kB / 487 MB, free: 5.375 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.5/1.5, allocations: 221.3 MB / 0.7819 GB, free: 1.398 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.001108/0.001108, allocations: 95.19 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.943e-06/6.963e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3029, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.036/1.338, allocations: 463.5 MB / 1.658 GB, free: 8.449 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/1.339, allocations: 91.2 kB / 1.658 GB, free: 8.406 MB / 1.089 GB Notification: Performance of FrontEnd: time 38.69/40.03, allocations: 10.71 GB / 12.37 GB, free: 122.9 MB / 1.432 GB Notification: Performance of Transformations before backend: time 0.003692/40.03, allocations: 355.7 kB / 12.37 GB, free: 122.8 MB / 1.432 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.04964/40.08, allocations: 11.56 MB / 12.38 GB, free: 117.6 MB / 1.432 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/40.08, allocations: 12.86 kB / 12.38 GB, free: 117.6 MB / 1.432 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01723/40.1, allocations: 2.547 MB / 12.38 GB, free: 116.7 MB / 1.432 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07133/40.17, allocations: 18.91 MB / 12.4 GB, free: 113.1 MB / 1.432 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009692/40.17, allocations: 192.4 kB / 12.4 GB, free: 113.1 MB / 1.432 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004519/40.18, allocations: 441 kB / 12.4 GB, free: 113.1 MB / 1.432 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02143/40.2, allocations: 7.078 MB / 12.41 GB, free: 110.5 MB / 1.432 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03193/40.23, allocations: 7.578 MB / 12.42 GB, free: 107.3 MB / 1.432 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006177/40.23, allocations: 18.12 kB / 12.42 GB, free: 107.3 MB / 1.432 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003258/40.24, allocations: 11.81 kB / 12.42 GB, free: 107.3 MB / 1.432 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003336/40.24, allocations: 153.6 kB / 12.42 GB, free: 107.3 MB / 1.432 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1036/40.34, allocations: 50.68 MB / 12.47 GB, free: 63.66 MB / 1.432 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006018/40.35, allocations: 3.538 MB / 12.47 GB, free: 60.12 MB / 1.432 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006363/40.35, allocations: 4.035 MB / 12.47 GB, free: 56.07 MB / 1.432 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03965/40.39, allocations: 13.06 MB / 12.49 GB, free: 42.59 MB / 1.432 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006414/40.4, allocations: 3.229 MB / 12.49 GB, free: 39.32 MB / 1.432 GB Notification: Performance of pre-optimization done (n=326): time 8.105e-06/40.4, allocations: 3.938 kB / 12.49 GB, free: 39.32 MB / 1.432 GB Notification: Performance of matching and sorting (n=328): time 0.06208/40.46, allocations: 17.73 MB / 12.51 GB, free: 21.43 MB / 1.432 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/40.46, allocations: 93.88 kB / 12.51 GB, free: 21.32 MB / 1.432 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03075/40.49, allocations: 11.75 MB / 12.52 GB, free: 9.645 MB / 1.432 GB Notification: Performance of collectPreVariables (initialization): time 0.00233/40.49, allocations: 37.7 kB / 12.52 GB, free: 9.602 MB / 1.432 GB Notification: Performance of collectInitialEqns (initialization): time 0.006463/40.5, allocations: 3.268 MB / 12.52 GB, free: 6.297 MB / 1.432 GB Notification: Performance of collectInitialBindings (initialization): time 0.004018/40.5, allocations: 1.085 MB / 12.52 GB, free: 5.195 MB / 1.432 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001916/40.51, allocations: 0 / 12.52 GB, free: 5.195 MB / 1.432 GB Notification: Performance of setup shared object (initialization): time 0.0005584/40.51, allocations: 0.5384 MB / 12.52 GB, free: 4.648 MB / 1.432 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006114/40.51, allocations: 3.279 MB / 12.53 GB, free: 1.363 MB / 1.432 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009633/40.52, allocations: 6.025 MB / 12.53 GB, free: 10.05 MB / 1.448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/40.53, allocations: 4.277 MB / 12.54 GB, free: 5.77 MB / 1.448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-05/40.53, allocations: 20 kB / 12.54 GB, free: 5.75 MB / 1.448 GB Notification: Performance of matching and sorting (n=771) (initialization): time 0.723/41.26, allocations: 11.92 MB / 12.55 GB, free: 234.8 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 0.006142/41.26, allocations: 38.37 MB / 12.59 GB, free: 195.2 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001492/41.26, allocations: 60.78 kB / 12.59 GB, free: 195.2 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01077/41.27, allocations: 3.049 MB / 12.59 GB, free: 195.1 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008535/41.28, allocations: 1.418 MB / 12.59 GB, free: 195.1 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/41.29, allocations: 11.6 MB / 12.6 GB, free: 189.6 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01371/41.31, allocations: 0.7459 MB / 12.6 GB, free: 189.6 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001976/41.31, allocations: 466.4 kB / 12.6 GB, free: 189.6 MB / 1.448 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/41.31, allocations: 3.469 kB / 12.6 GB, free: 189.6 MB / 1.448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01869/41.33, allocations: 9.499 MB / 12.61 GB, free: 189.5 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/41.33, allocations: 60.53 kB / 12.61 GB, free: 189.5 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01139/41.34, allocations: 3.094 MB / 12.61 GB, free: 189.4 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006689/41.35, allocations: 1.407 MB / 12.62 GB, free: 189.4 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0201/41.37, allocations: 13.37 MB / 12.63 GB, free: 186 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01247/41.38, allocations: 0.7262 MB / 12.63 GB, free: 186 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/41.38, allocations: 418.3 kB / 12.63 GB, free: 186 MB / 1.448 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.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: pmpSouth.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: spl3.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real pumpCoo.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: pumpHea.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: 269 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (624): * Single equations (assignments): 609 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 2,9 12,1 2,1 2,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.001738/41.38, allocations: 323 kB / 12.63 GB, free: 185.9 MB / 1.448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00291/41.39, allocations: 1.145 MB / 12.63 GB, free: 185.9 MB / 1.448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01853/41.4, allocations: 8.9 MB / 12.64 GB, free: 185.6 MB / 1.448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.874e-05/41.41, allocations: 43.23 kB / 12.64 GB, free: 185.6 MB / 1.448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/41.41, allocations: 3.062 kB / 12.64 GB, free: 185.6 MB / 1.448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01058/41.42, allocations: 6.28 MB / 12.65 GB, free: 185.2 MB / 1.448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03885/41.45, allocations: 16.26 MB / 12.66 GB, free: 184.4 MB / 1.448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/41.45, allocations: 0 / 12.66 GB, free: 184.4 MB / 1.448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003968/41.46, allocations: 0.6704 MB / 12.66 GB, free: 184.4 MB / 1.448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005529/41.46, allocations: 1.841 MB / 12.67 GB, free: 184.3 MB / 1.448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004792/41.46, allocations: 67.25 kB / 12.67 GB, free: 184.3 MB / 1.448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007255/41.47, allocations: 9.027 MB / 12.67 GB, free: 178.8 MB / 1.448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/41.47, allocations: 0 / 12.67 GB, free: 178.8 MB / 1.448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01894/41.49, allocations: 11.17 MB / 12.68 GB, free: 177.5 MB / 1.448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008164/41.5, allocations: 2.178 MB / 12.69 GB, free: 176.7 MB / 1.448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004849/41.5, allocations: 5.859 kB / 12.69 GB, free: 176.7 MB / 1.448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01148/41.52, allocations: 0.6333 MB / 12.69 GB, free: 176.7 MB / 1.448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009374/41.52, allocations: 229.3 kB / 12.69 GB, free: 176.7 MB / 1.448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009121/41.52, allocations: 176.6 kB / 12.69 GB, free: 176.7 MB / 1.448 GB Notification: Performance of sort global known variables: time 0.02128/41.54, allocations: 8.773 MB / 12.7 GB, free: 176.3 MB / 1.448 GB Notification: Performance of remove unused functions: time 0.03225/41.57, allocations: 5.062 MB / 12.7 GB, free: 176.3 MB / 1.448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (292): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 2,9 12,1 2,1 2,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.007991/41.58, allocations: 4.762 MB / 12.71 GB, free: 174.5 MB / 1.448 GB Notification: Performance of simCode: created initialization part: time 0.0263/41.61, allocations: 12.73 MB / 12.72 GB, free: 174.1 MB / 1.448 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/41.61, allocations: 5.594 kB / 12.72 GB, free: 174.1 MB / 1.448 GB Notification: Performance of simCode: created simulation system equations: time 0.005981/41.61, allocations: 2.909 MB / 12.72 GB, free: 174.1 MB / 1.448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02967/41.64, allocations: 5.5 MB / 12.73 GB, free: 174.1 MB / 1.448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04928/41.69, allocations: 17.6 MB / 12.74 GB, free: 170.4 MB / 1.448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01695/41.71, allocations: 7.766 MB / 12.75 GB, free: 169.4 MB / 1.448 GB Notification: Performance of SimCode: time 1.874e-06/41.71, allocations: 0 / 12.75 GB, free: 169.4 MB / 1.448 GB Notification: Performance of Templates: time 0.4367/42.14, allocations: 285.2 MB / 13.03 GB, free: 129.6 MB / 1.448 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.sim & ./Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_FlowSystem_Simplified6.csv","../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches