Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.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.Simplified5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.265/2.265, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001229/0.001229, allocations: 176.9 kB / 487.4 MB, free: 5.035 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.631/1.631, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 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.001046/0.001045, allocations: 99.89 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.771e-05, allocations: 5.875 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3336, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.278/1.612, allocations: 463 MB / 1.658 GB, free: 8.023 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/1.612, allocations: 99.58 kB / 1.658 GB, free: 7.977 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 44.86/46.47, allocations: 10.42 GB / 12.08 GB, free: 65.95 MB / 1.401 GB Notification: Performance of FrontEnd: time 2.605e-06/46.47, allocations: 7.531 kB / 12.08 GB, free: 65.95 MB / 1.401 GB Notification: Performance of Transformations before backend: time 0.003735/46.47, allocations: 356.1 kB / 12.08 GB, free: 65.89 MB / 1.401 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.0554/46.53, allocations: 11.18 MB / 12.09 GB, free: 61.12 MB / 1.401 GB Notification: Performance of prepare preOptimizeDAE: time 6.681e-05/46.53, allocations: 11 kB / 12.09 GB, free: 61.12 MB / 1.401 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02/46.55, allocations: 2.594 MB / 12.09 GB, free: 60.32 MB / 1.401 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07088/46.62, allocations: 18.87 MB / 12.11 GB, free: 58.2 MB / 1.401 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006896/46.62, allocations: 196.9 kB / 12.11 GB, free: 58.2 MB / 1.401 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005307/46.62, allocations: 430.2 kB / 12.11 GB, free: 58.2 MB / 1.401 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03688/46.66, allocations: 17.94 MB / 12.13 GB, free: 58.18 MB / 1.401 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03754/46.7, allocations: 12.27 MB / 12.14 GB, free: 57.59 MB / 1.401 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003137/46.7, allocations: 8.375 kB / 12.14 GB, free: 57.59 MB / 1.401 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003478/46.7, allocations: 6.625 kB / 12.14 GB, free: 57.59 MB / 1.401 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001426/46.7, allocations: 145.7 kB / 12.14 GB, free: 57.59 MB / 1.401 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.127/46.83, allocations: 69.46 MB / 12.21 GB, free: 25.59 MB / 1.401 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01492/46.84, allocations: 10.28 MB / 12.22 GB, free: 25.44 MB / 1.401 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01208/46.86, allocations: 8.798 MB / 12.23 GB, free: 25.37 MB / 1.401 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.0697/46.93, allocations: 29.45 MB / 12.25 GB, free: 17.09 MB / 1.401 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01529/46.94, allocations: 8.036 MB / 12.26 GB, free: 16.98 MB / 1.401 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04681/46.99, allocations: 15.11 MB / 12.28 GB, free: 16.25 MB / 1.401 GB Notification: Performance of pre-optimization done (n=393): time 5.707e-05/46.99, allocations: 0 / 12.28 GB, free: 16.25 MB / 1.401 GB Notification: Performance of matching and sorting (n=395): time 0.1107/47.1, allocations: 37.28 MB / 12.31 GB, free: 9.664 MB / 1.401 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.46e-05/47.1, allocations: 91.11 kB / 12.31 GB, free: 9.598 MB / 1.401 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03322/47.13, allocations: 11.29 MB / 12.32 GB, free: 5.516 MB / 1.401 GB Notification: Performance of collectPreVariables (initialization): time 0.003798/47.14, allocations: 38.2 kB / 12.32 GB, free: 5.484 MB / 1.401 GB Notification: Performance of collectInitialEqns (initialization): time 0.009984/47.15, allocations: 6.028 MB / 12.33 GB, free: 0.7383 MB / 1.401 GB Notification: Performance of collectInitialBindings (initialization): time 0.004532/47.15, allocations: 1.288 MB / 12.33 GB, free: 15.71 MB / 1.417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003366/47.15, allocations: 0 / 12.33 GB, free: 15.71 MB / 1.417 GB Notification: Performance of setup shared object (initialization): time 0.0008445/47.16, allocations: 0.5419 MB / 12.33 GB, free: 15.3 MB / 1.417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01222/47.17, allocations: 6.939 MB / 12.34 GB, free: 12.37 MB / 1.417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01538/47.18, allocations: 9.334 MB / 12.35 GB, free: 6.383 MB / 1.417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01624/47.2, allocations: 7.979 MB / 12.36 GB, free: 3.203 MB / 1.417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001201/47.2, allocations: 19 kB / 12.36 GB, free: 3.203 MB / 1.417 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.06611/47.27, allocations: 23.09 MB / 12.38 GB, free: 3.461 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 1.173/48.44, allocations: 29.59 MB / 12.41 GB, free: 80.14 MB / 1.432 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002982/48.44, allocations: 45.88 kB / 12.41 GB, free: 80.14 MB / 1.432 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9565/49.4, allocations: 167.2 MB / 12.57 GB, free: 79.92 MB / 1.432 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008168/49.4, allocations: 1.323 MB / 12.57 GB, free: 79.91 MB / 1.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04228/49.45, allocations: 25.5 MB / 12.6 GB, free: 75.89 MB / 1.432 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02007/49.47, allocations: 0.8498 MB / 12.6 GB, free: 75.84 MB / 1.432 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003435/49.47, allocations: 0.7295 MB / 12.6 GB, free: 75.84 MB / 1.432 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/49.47, allocations: 4 kB / 12.6 GB, free: 75.84 MB / 1.432 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03684/49.51, allocations: 20.92 MB / 12.62 GB, free: 75.52 MB / 1.432 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002185/49.51, allocations: 48.78 kB / 12.62 GB, free: 75.52 MB / 1.432 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8389/50.35, allocations: 167.2 MB / 12.78 GB, free: 56.66 MB / 1.432 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01024/50.36, allocations: 1.316 MB / 12.78 GB, free: 55.45 MB / 1.432 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08652/50.44, allocations: 28.33 MB / 12.81 GB, free: 34.93 MB / 1.432 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0264/50.47, allocations: 0.8259 MB / 12.81 GB, free: 34.16 MB / 1.432 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004712/50.47, allocations: 0.6879 MB / 12.81 GB, free: 33.52 MB / 1.432 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 pmpSouth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (560): * Single equations (assignments): 548 * 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: 2 * 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: 2 {40 56,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.006581/50.48, allocations: 283.5 kB / 12.81 GB, free: 33.36 MB / 1.432 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006808/50.49, allocations: 1.152 MB / 12.81 GB, free: 32.83 MB / 1.432 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05753/50.54, allocations: 17.37 MB / 12.83 GB, free: 22.45 MB / 1.432 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00011/50.55, allocations: 58.81 kB / 12.83 GB, free: 22.39 MB / 1.432 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/50.55, allocations: 0.625 kB / 12.83 GB, free: 22.39 MB / 1.432 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02949/50.57, allocations: 12.54 MB / 12.84 GB, free: 15.4 MB / 1.432 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1748/50.75, allocations: 45.55 MB / 12.89 GB, free: 14.25 MB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.065e-05/50.75, allocations: 4 kB / 12.89 GB, free: 14.25 MB / 1.464 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004566/50.75, allocations: 0.7284 MB / 12.89 GB, free: 13.57 MB / 1.464 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.467/52.22, allocations: 47.69 MB / 12.94 GB, free: 143.1 MB / 1.479 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002511/52.22, allocations: 78.14 kB / 12.94 GB, free: 143.1 MB / 1.479 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02401/52.25, allocations: 13.17 MB / 12.95 GB, free: 139.2 MB / 1.479 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/52.25, allocations: 2.469 kB / 12.95 GB, free: 139.2 MB / 1.479 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.158/52.41, allocations: 41.14 MB / 12.99 GB, free: 138.2 MB / 1.479 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0107/52.42, allocations: 2.585 MB / 12.99 GB, free: 138.1 MB / 1.479 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00592/52.42, allocations: 8.094 kB / 12.99 GB, free: 138.1 MB / 1.479 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01439/52.44, allocations: 0.6563 MB / 12.99 GB, free: 138.1 MB / 1.479 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001843/52.44, allocations: 298.8 kB / 12.99 GB, free: 138.1 MB / 1.479 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001547/52.44, allocations: 197.8 kB / 12.99 GB, free: 138.1 MB / 1.479 GB Notification: Performance of sorting global known variables: time 0.01834/52.46, allocations: 8.469 MB / 13 GB, free: 137.7 MB / 1.479 GB Notification: Performance of sort global known variables: time 7.91e-07/52.46, allocations: 0 / 13 GB, free: 137.7 MB / 1.479 GB Notification: Performance of remove unused functions: time 0.04864/52.51, allocations: 5.75 MB / 13.01 GB, free: 137.7 MB / 1.479 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 (324): * Single equations (assignments): 304 * 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: 2 * 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: 2 {38 56,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.0116/52.52, allocations: 4.735 MB / 13.01 GB, free: 135.9 MB / 1.479 GB Notification: Performance of simCode: created initialization part: time 0.06598/52.58, allocations: 28.75 MB / 13.04 GB, free: 135.3 MB / 1.479 GB Notification: Performance of simCode: created event and clocks part: time 1.768e-05/52.58, allocations: 1.281 kB / 13.04 GB, free: 135.3 MB / 1.479 GB Notification: Performance of simCode: created simulation system equations: time 0.01712/52.6, allocations: 7.228 MB / 13.05 GB, free: 135.2 MB / 1.479 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03829/52.64, allocations: 6.036 MB / 13.05 GB, free: 135.2 MB / 1.479 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04556/52.69, allocations: 18.55 MB / 13.07 GB, free: 131.3 MB / 1.479 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01034/52.7, allocations: 6.84 MB / 13.08 GB, free: 130.4 MB / 1.479 GB Notification: Performance of simCode: alias equations: time 0.02989/52.73, allocations: 5.79 MB / 13.08 GB, free: 130.3 MB / 1.479 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002594/52.73, allocations: 0.6082 MB / 13.08 GB, free: 130.3 MB / 1.479 GB Notification: Performance of SimCode: time 1.042e-06/52.73, allocations: 2.938 kB / 13.08 GB, free: 130.3 MB / 1.479 GB Notification: Performance of Templates: time 0.5309/53.26, allocations: 368.1 MB / 13.44 GB, free: 6.457 MB / 1.495 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.sim & ./Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_FlowSystem_Simplified5.csv","../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches