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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.44/2.44, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001394/0.001394, allocations: 167 kB / 498.1 MB, free: 5.738 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.639/1.639, allocations: 223.2 MB / 0.7949 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 90.78 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003703, allocations: 12.25 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3288, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/1.542, allocations: 464.3 MB / 1.676 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/1.543, allocations: 109.3 kB / 1.676 GB, free: 12.79 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 43.67/45.21, allocations: 10.74 GB / 12.41 GB, free: 115.2 MB / 1.417 GB Notification: Performance of FrontEnd: time 4.468e-06/45.21, allocations: 3.844 kB / 12.41 GB, free: 115.2 MB / 1.417 GB Notification: Performance of Transformations before backend: time 0.002908/45.22, allocations: 354.7 kB / 12.41 GB, free: 115.1 MB / 1.417 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.06814/45.29, allocations: 17.53 MB / 12.43 GB, free: 108.3 MB / 1.417 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/45.29, allocations: 11.34 kB / 12.43 GB, free: 108.3 MB / 1.417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01709/45.3, allocations: 2.44 MB / 12.43 GB, free: 107.4 MB / 1.417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06183/45.36, allocations: 18.74 MB / 12.45 GB, free: 104 MB / 1.417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007834/45.37, allocations: 0.5279 MB / 12.45 GB, free: 103.7 MB / 1.417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003256/45.37, allocations: 0.7079 MB / 12.45 GB, free: 103.5 MB / 1.417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02025/45.39, allocations: 8.593 MB / 12.46 GB, free: 99.77 MB / 1.417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/45.39, allocations: 22.31 kB / 12.46 GB, free: 99.75 MB / 1.417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009591/45.39, allocations: 260.1 kB / 12.46 GB, free: 99.56 MB / 1.417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/45.39, allocations: 149.5 kB / 12.46 GB, free: 99.56 MB / 1.417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01707/45.41, allocations: 7.135 MB / 12.47 GB, free: 97.04 MB / 1.417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.09552/45.5, allocations: 50.16 MB / 12.52 GB, free: 47.66 MB / 1.417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/45.51, allocations: 5.098 MB / 12.52 GB, free: 42.57 MB / 1.417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03704/45.55, allocations: 13.58 MB / 12.53 GB, free: 28.57 MB / 1.417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006187/45.56, allocations: 3.464 MB / 12.54 GB, free: 25.07 MB / 1.417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01259/45.57, allocations: 2.447 MB / 12.54 GB, free: 22.62 MB / 1.417 GB Notification: Performance of pre-optimization done (n=327): time 2.167e-05/45.57, allocations: 0 / 12.54 GB, free: 22.62 MB / 1.417 GB Notification: Performance of matching and sorting (n=516): time 1.472/47.04, allocations: 47.18 MB / 12.59 GB, free: 124 MB / 1.417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/47.04, allocations: 105.1 kB / 12.59 GB, free: 124 MB / 1.417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03139/47.07, allocations: 12.35 MB / 12.6 GB, free: 123.3 MB / 1.417 GB Notification: Performance of collectPreVariables (initialization): time 0.002622/47.07, allocations: 175.9 kB / 12.6 GB, free: 123.3 MB / 1.417 GB Notification: Performance of collectInitialEqns (initialization): time 0.01013/47.08, allocations: 6.22 MB / 12.6 GB, free: 122.2 MB / 1.417 GB Notification: Performance of collectInitialBindings (initialization): time 0.003277/47.09, allocations: 1.745 MB / 12.61 GB, free: 121.4 MB / 1.417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/47.09, allocations: 145.1 kB / 12.61 GB, free: 121.4 MB / 1.417 GB Notification: Performance of setup shared object (initialization): time 0.0005149/47.09, allocations: 0.5943 MB / 12.61 GB, free: 121.1 MB / 1.417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01149/47.1, allocations: 4.686 MB / 12.61 GB, free: 121 MB / 1.417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01464/47.12, allocations: 7.598 MB / 12.62 GB, free: 117.7 MB / 1.417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0135/47.13, allocations: 5.443 MB / 12.62 GB, free: 117.5 MB / 1.417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001409/47.13, allocations: 17.03 kB / 12.62 GB, free: 117.5 MB / 1.417 GB Notification: Performance of matching and sorting (n=959) (initialization): time 0.04313/47.17, allocations: 15.45 MB / 12.64 GB, free: 116.5 MB / 1.417 GB Notification: Performance of prepare postOptimizeDAE: time 0.008542/47.18, allocations: 38.59 MB / 12.68 GB, free: 76.64 MB / 1.417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002728/47.18, allocations: 60.88 kB / 12.68 GB, free: 76.64 MB / 1.417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009691/47.19, allocations: 3.512 MB / 12.68 GB, free: 76.55 MB / 1.417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01161/47.2, allocations: 1.9 MB / 12.68 GB, free: 76.55 MB / 1.417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/47.22, allocations: 12.37 MB / 12.69 GB, free: 69.81 MB / 1.417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01878/47.23, allocations: 1.242 MB / 12.7 GB, free: 69.78 MB / 1.417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003754/47.24, allocations: 492.4 kB / 12.7 GB, free: 69.78 MB / 1.417 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/47.24, allocations: 4.156 kB / 12.7 GB, free: 69.78 MB / 1.417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04461/47.28, allocations: 14.45 MB / 12.71 GB, free: 69.43 MB / 1.417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003628/47.28, allocations: 58.66 kB / 12.71 GB, free: 69.43 MB / 1.417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01179/47.3, allocations: 3.801 MB / 12.71 GB, free: 69.34 MB / 1.417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01363/47.31, allocations: 1.88 MB / 12.72 GB, free: 69.34 MB / 1.417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03983/47.35, allocations: 17.35 MB / 12.73 GB, free: 63.59 MB / 1.417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02231/47.37, allocations: 1.217 MB / 12.73 GB, free: 63.57 MB / 1.417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002855/47.37, allocations: 446.3 kB / 12.73 GB, free: 63.57 MB / 1.417 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (738): * Single equations (assignments): 721 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,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: 6 {1 2,1 4,1 2,1 2,6 82,6 82} Notification: Performance of prepare postOptimizeDAE: time 0.01213/47.39, allocations: 3.147 MB / 12.74 GB, free: 63.38 MB / 1.417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005729/47.39, allocations: 1.211 MB / 12.74 GB, free: 62.71 MB / 1.417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04331/47.44, allocations: 13.91 MB / 12.75 GB, free: 62.13 MB / 1.417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001218/47.44, allocations: 62.19 kB / 12.75 GB, free: 62.13 MB / 1.417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/47.44, allocations: 3.328 kB / 12.75 GB, free: 62.13 MB / 1.417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02708/47.46, allocations: 11.24 MB / 12.76 GB, free: 61.55 MB / 1.417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.06941/47.53, allocations: 25.78 MB / 12.79 GB, free: 59.52 MB / 1.417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.4e-05/47.53, allocations: 7.062 kB / 12.79 GB, free: 59.52 MB / 1.417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006623/47.54, allocations: 1.195 MB / 12.79 GB, free: 59.52 MB / 1.417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005513/47.54, allocations: 2.39 MB / 12.79 GB, free: 59.43 MB / 1.417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001302/47.55, allocations: 170.5 kB / 12.79 GB, free: 59.43 MB / 1.417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008142/47.55, allocations: 10.98 MB / 12.8 GB, free: 52.71 MB / 1.417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-05/47.55, allocations: 15.44 kB / 12.8 GB, free: 52.71 MB / 1.417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04172/47.6, allocations: 20.83 MB / 12.82 GB, free: 48.64 MB / 1.417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01228/47.61, allocations: 2.586 MB / 12.83 GB, free: 47.86 MB / 1.417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005761/47.61, allocations: 105.1 kB / 12.83 GB, free: 47.86 MB / 1.417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01531/47.63, allocations: 1.015 MB / 12.83 GB, free: 47.84 MB / 1.417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001787/47.63, allocations: 398.8 kB / 12.83 GB, free: 47.82 MB / 1.417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007751/47.63, allocations: 254 kB / 12.83 GB, free: 47.82 MB / 1.417 GB Notification: Performance of sorting global known variables: time 0.02469/47.66, allocations: 9.419 MB / 12.84 GB, free: 47.47 MB / 1.417 GB Notification: Performance of sort global known variables: time 1.774e-06/47.66, allocations: 3.875 kB / 12.84 GB, free: 47.47 MB / 1.417 GB Notification: Performance of remove unused functions: time 0.04868/47.71, allocations: 6.046 MB / 12.84 GB, free: 47.47 MB / 1.417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (439): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,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: 6 {5 77,1 2,1 4,1 2,1 2,6 82} Notification: Performance of Backend phase and start with SimCode phase: time 0.0101/47.72, allocations: 5.046 MB / 12.85 GB, free: 45.3 MB / 1.417 GB Notification: Performance of simCode: created initialization part: time 0.04601/47.76, allocations: 18.58 MB / 12.87 GB, free: 44.44 MB / 1.417 GB Notification: Performance of simCode: created event and clocks part: time 1.821e-05/47.76, allocations: 1.969 kB / 12.87 GB, free: 44.44 MB / 1.417 GB Notification: Performance of simCode: created simulation system equations: time 0.01233/47.77, allocations: 5.283 MB / 12.87 GB, free: 44.23 MB / 1.417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03352/47.81, allocations: 5.866 MB / 12.88 GB, free: 43.93 MB / 1.417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06669/47.87, allocations: 27.93 MB / 12.9 GB, free: 48.91 MB / 1.432 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01379/47.89, allocations: 7.115 MB / 12.91 GB, free: 47.8 MB / 1.432 GB Notification: Performance of simCode: alias equations: time 0.02426/47.91, allocations: 3.901 MB / 12.91 GB, free: 47.19 MB / 1.432 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005982/47.92, allocations: 0.9625 MB / 12.92 GB, free: 47.17 MB / 1.432 GB Notification: Performance of SimCode: time 1.523e-06/47.92, allocations: 0 / 12.92 GB, free: 47.17 MB / 1.432 GB Notification: Performance of Templates: time 2.853/50.77, allocations: 272.9 MB / 13.18 GB, free: 163.1 MB / 1.464 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