Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.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.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.451/2.451, 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.001304/0.001304, allocations: 173.2 kB / 498.1 MB, free: 5.73 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.566/1.566, allocations: 223.2 MB / 0.7948 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.0009906/0.0009905, allocations: 104.2 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003937, allocations: 10.47 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3455, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.473, allocations: 419.6 MB / 1.633 GB, free: 7.859 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/1.473, allocations: 99.64 kB / 1.633 GB, free: 7.809 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.864/6.337, allocations: 1.343 GB / 2.975 GB, free: 226.8 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.896e-06/6.337, allocations: 0 / 2.975 GB, free: 226.8 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0006611/6.338, allocations: 97.31 kB / 2.976 GB, free: 226.8 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01539/6.354, allocations: 4.049 MB / 2.979 GB, free: 224.8 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/6.354, allocations: 12.75 kB / 2.98 GB, free: 224.8 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004153/6.358, allocations: 0.6227 MB / 2.98 GB, free: 224.6 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01432/6.372, allocations: 4.417 MB / 2.984 GB, free: 223 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000261/6.372, allocations: 135.7 kB / 2.985 GB, free: 222.9 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00075/6.373, allocations: 186.6 kB / 2.985 GB, free: 222.8 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004469/6.378, allocations: 2.261 MB / 2.987 GB, free: 221.8 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.439e-05/6.378, allocations: 3.938 kB / 2.987 GB, free: 221.8 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/6.378, allocations: 74.09 kB / 2.987 GB, free: 221.7 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/6.378, allocations: 42.83 kB / 2.987 GB, free: 221.7 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003472/6.381, allocations: 1.829 MB / 2.989 GB, free: 221 MB / 1.182 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.01665/6.398, allocations: 11.57 MB / 3 GB, free: 212.8 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/6.4, allocations: 1.303 MB / 3.001 GB, free: 212.3 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006186/6.407, allocations: 3.48 MB / 3.005 GB, free: 209.8 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001247/6.408, allocations: 0.751 MB / 3.006 GB, free: 209.4 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002367/6.41, allocations: 0.6049 MB / 3.006 GB, free: 209.1 MB / 1.182 GB Notification: Performance of pre-optimization done (n=98): time 4.909e-06/6.41, allocations: 0 / 3.006 GB, free: 209.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=98): time 0.008566/6.419, allocations: 3.623 MB / 3.01 GB, free: 207.4 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/6.419, allocations: 63.91 kB / 3.01 GB, free: 207.3 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003412/6.422, allocations: 2.498 MB / 3.012 GB, free: 206 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001679/6.423, allocations: 58.86 kB / 3.012 GB, free: 206 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001127/6.424, allocations: 1.427 MB / 3.014 GB, free: 204.7 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/6.424, allocations: 347.1 kB / 3.014 GB, free: 204.4 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/6.424, allocations: 26.25 kB / 3.014 GB, free: 204.4 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001092/6.424, allocations: 359.6 kB / 3.014 GB, free: 204.1 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/6.425, allocations: 0.5817 MB / 3.015 GB, free: 203.8 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/6.427, allocations: 1.346 MB / 3.016 GB, free: 202.5 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/6.428, allocations: 0.8033 MB / 3.017 GB, free: 202.1 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/6.428, allocations: 3.625 kB / 3.017 GB, free: 202.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004299/6.432, allocations: 2.498 MB / 3.019 GB, free: 200.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001291/6.434, allocations: 5.978 MB / 3.025 GB, free: 194.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/6.434, allocations: 18.45 kB / 3.025 GB, free: 194.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/6.435, allocations: 0.5102 MB / 3.026 GB, free: 194.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/6.436, allocations: 272.6 kB / 3.026 GB, free: 194 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/6.437, allocations: 1.898 MB / 3.028 GB, free: 192.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002791/6.44, allocations: 186.7 kB / 3.028 GB, free: 192.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/6.44, allocations: 78.34 kB / 3.028 GB, free: 192.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/6.44, allocations: 10.48 kB / 3.028 GB, free: 192.5 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003487/6.444, allocations: 2.241 MB / 3.03 GB, free: 191.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/6.444, allocations: 19.11 kB / 3.03 GB, free: 191.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007843/6.445, allocations: 483 kB / 3.031 GB, free: 191.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000977/6.446, allocations: 262.6 kB / 3.031 GB, free: 191 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005979/6.452, allocations: 5.953 MB / 3.037 GB, free: 186.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002904/6.455, allocations: 183.1 kB / 3.037 GB, free: 186.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/6.455, allocations: 71.92 kB / 3.037 GB, free: 186.1 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.002262/6.457, allocations: 0.8263 MB / 3.038 GB, free: 185.6 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007757/6.458, allocations: 288.7 kB / 3.038 GB, free: 185.4 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004266/6.462, allocations: 2.234 MB / 3.04 GB, free: 183.2 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.269e-05/6.462, allocations: 19.56 kB / 3.04 GB, free: 183.1 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/6.462, allocations: 3.953 kB / 3.04 GB, free: 183.1 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002933/6.465, allocations: 1.925 MB / 3.042 GB, free: 181.2 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00876/6.474, allocations: 4.212 MB / 3.046 GB, free: 176.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/6.474, allocations: 4 kB / 3.046 GB, free: 176.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007163/6.475, allocations: 141.4 kB / 3.047 GB, free: 176.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009582/6.476, allocations: 480.2 kB / 3.047 GB, free: 176.3 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.753e-05/6.476, allocations: 23.98 kB / 3.047 GB, free: 176.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/6.477, allocations: 1.854 MB / 3.049 GB, free: 174.4 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/6.477, allocations: 0 / 3.049 GB, free: 174.4 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005426/6.483, allocations: 2.978 MB / 3.052 GB, free: 171.4 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001982/6.485, allocations: 0.4894 MB / 3.052 GB, free: 170.9 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/6.485, allocations: 20 kB / 3.052 GB, free: 170.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/6.486, allocations: 159.5 kB / 3.052 GB, free: 170.7 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/6.486, allocations: 60.91 kB / 3.052 GB, free: 170.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.629e-05/6.487, allocations: 43.97 kB / 3.053 GB, free: 170.6 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.002722/6.489, allocations: 1.943 MB / 3.054 GB, free: 168.7 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.71e-07/6.489, allocations: 0 / 3.054 GB, free: 168.7 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005105/6.494, allocations: 1.455 MB / 3.056 GB, free: 167.2 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.002137/6.497, allocations: 1.091 MB / 3.057 GB, free: 166.3 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.005097/6.502, allocations: 2.959 MB / 3.06 GB, free: 163.3 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/6.502, allocations: 320 / 3.06 GB, free: 163.3 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/6.503, allocations: 0.7173 MB / 3.06 GB, free: 162.5 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005354/6.508, allocations: 1.17 MB / 3.062 GB, free: 161.4 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008796/6.517, allocations: 5.822 MB / 3.067 GB, free: 155.6 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/6.518, allocations: 2.099 MB / 3.069 GB, free: 153.4 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003095/6.522, allocations: 0.6577 MB / 3.07 GB, free: 152.8 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004514/6.522, allocations: 191.4 kB / 3.07 GB, free: 152.6 MB / 1.182 GB Notification: Performance of SimCode: time 1.152e-06/6.522, allocations: 0 / 3.07 GB, free: 152.6 MB / 1.182 GB Notification: Performance of Templates: time 0.08272/6.605, allocations: 55.52 MB / 3.124 GB, free: 98.67 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example1v1.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches