Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001132, allocations: 188.1 kB / 326.5 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.4 MB / 0.5775 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008919/0.0008918, allocations: 91.11 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003871, allocations: 14.22 kB / 0.7962 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2568, allocations: 106.3 MB / 0.9001 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.267, allocations: 398 MB / 1.289 GB, free: 2.047 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/1.267, allocations: 90.64 kB / 1.289 GB, free: 2 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.508/3.776, allocations: 0.6891 GB / 1.978 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.274e-06/3.776, allocations: 224 / 1.978 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003737/3.776, allocations: 51.92 kB / 1.978 GB, free: 110.8 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.008722/3.785, allocations: 2.44 MB / 1.98 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/3.785, allocations: 8.031 kB / 1.98 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002156/3.787, allocations: 288.3 kB / 1.981 GB, free: 108 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008436/3.796, allocations: 2.541 MB / 1.983 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/3.796, allocations: 78 kB / 1.983 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004678/3.796, allocations: 112 kB / 1.983 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002884/3.799, allocations: 1.244 MB / 1.985 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/3.799, allocations: 3.938 kB / 1.985 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/3.8, allocations: 43.95 kB / 1.985 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/3.8, allocations: 24 kB / 1.985 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/3.801, allocations: 0.9562 MB / 1.986 GB, free: 102.9 MB / 0.8855 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.008261/3.81, allocations: 6.62 MB / 1.992 GB, free: 95.78 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/3.811, allocations: 0.6109 MB / 1.993 GB, free: 95.16 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003081/3.814, allocations: 1.62 MB / 1.994 GB, free: 93.41 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006661/3.815, allocations: 381.1 kB / 1.995 GB, free: 93.03 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001024/3.816, allocations: 135.3 kB / 1.995 GB, free: 92.89 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=47): time 5.12e-06/3.816, allocations: 0 / 1.995 GB, free: 92.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47): time 0.002874/3.819, allocations: 1.249 MB / 1.996 GB, free: 91.62 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/3.819, allocations: 59.84 kB / 1.996 GB, free: 91.55 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/3.821, allocations: 1.575 MB / 1.998 GB, free: 89.93 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.745e-05/3.821, allocations: 37.7 kB / 1.998 GB, free: 89.89 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006775/3.821, allocations: 0.8504 MB / 1.998 GB, free: 89.03 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/3.822, allocations: 157.7 kB / 1.999 GB, free: 88.88 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/3.822, allocations: 16 kB / 1.999 GB, free: 88.86 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.596e-05/3.822, allocations: 341.9 kB / 1.999 GB, free: 88.52 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/3.822, allocations: 285.8 kB / 1.999 GB, free: 88.24 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006938/3.823, allocations: 0.7223 MB / 2 GB, free: 87.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005963/3.824, allocations: 420.7 kB / 2 GB, free: 86.89 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/3.824, allocations: 0 / 2 GB, free: 86.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002016/3.826, allocations: 1.223 MB / 2.001 GB, free: 85.65 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008265/3.826, allocations: 4.129 MB / 2.005 GB, free: 81.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/3.826, allocations: 8 kB / 2.005 GB, free: 81.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003606/3.827, allocations: 140.7 kB / 2.006 GB, free: 81.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005954/3.827, allocations: 171.6 kB / 2.006 GB, free: 80.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005217/3.828, allocations: 0.7579 MB / 2.007 GB, free: 80.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/3.829, allocations: 115.5 kB / 2.007 GB, free: 79.99 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.7e-05/3.829, allocations: 47.98 kB / 2.007 GB, free: 79.94 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/3.829, allocations: 8 kB / 2.007 GB, free: 79.93 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001508/3.831, allocations: 1.073 MB / 2.008 GB, free: 78.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/3.831, allocations: 8 kB / 2.008 GB, free: 78.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000185/3.831, allocations: 129.4 kB / 2.008 GB, free: 78.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/3.832, allocations: 163.7 kB / 2.008 GB, free: 78.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/3.833, allocations: 2.142 MB / 2.01 GB, free: 76.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/3.835, allocations: 95.84 kB / 2.01 GB, free: 76.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.537e-05/3.835, allocations: 47.98 kB / 2.01 GB, free: 76.12 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.00155/3.837, allocations: 0.5902 MB / 2.011 GB, free: 75.52 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003535/3.837, allocations: 169.8 kB / 2.011 GB, free: 75.36 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/3.839, allocations: 0.9964 MB / 2.012 GB, free: 74.34 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/3.839, allocations: 8 kB / 2.012 GB, free: 74.34 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/3.839, allocations: 0 / 2.012 GB, free: 74.34 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001285/3.84, allocations: 0.9606 MB / 2.013 GB, free: 73.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/3.844, allocations: 2.175 MB / 2.015 GB, free: 71.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/3.844, allocations: 0 / 2.015 GB, free: 71.04 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/3.844, allocations: 96.05 kB / 2.015 GB, free: 70.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002799/3.845, allocations: 112.8 kB / 2.015 GB, free: 70.83 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/3.845, allocations: 19.98 kB / 2.015 GB, free: 70.81 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004406/3.845, allocations: 0.7408 MB / 2.016 GB, free: 70.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/3.845, allocations: 8.031 kB / 2.016 GB, free: 70.04 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/3.847, allocations: 1.411 MB / 2.017 GB, free: 68.58 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007283/3.848, allocations: 314.8 kB / 2.018 GB, free: 68.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/3.848, allocations: 8 kB / 2.018 GB, free: 68.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007298/3.849, allocations: 83.83 kB / 2.018 GB, free: 68.16 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/3.849, allocations: 40.33 kB / 2.018 GB, free: 68.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.064e-05/3.849, allocations: 23.98 kB / 2.018 GB, free: 68.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001427/3.851, allocations: 1.227 MB / 2.019 GB, free: 66.85 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.81e-07/3.851, allocations: 0 / 2.019 GB, free: 66.85 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002678/3.853, allocations: 0.8659 MB / 2.02 GB, free: 65.98 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * 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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001398/3.855, allocations: 0.7943 MB / 2.021 GB, free: 65.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00247/3.857, allocations: 1.45 MB / 2.022 GB, free: 63.72 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/3.857, allocations: 4.125 kB / 2.022 GB, free: 63.71 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005888/3.858, allocations: 338.3 kB / 2.022 GB, free: 63.38 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/3.861, allocations: 0.7407 MB / 2.023 GB, free: 62.66 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004874/3.866, allocations: 3.417 MB / 2.026 GB, free: 59.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008588/3.866, allocations: 1.531 MB / 2.028 GB, free: 57.64 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00168/3.868, allocations: 436.7 kB / 2.028 GB, free: 57.21 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/3.868, allocations: 123.4 kB / 2.028 GB, free: 57.09 MB / 0.8855 GB Notification: Performance of SimCode: time 1.072e-06/3.868, allocations: 0 / 2.028 GB, free: 57.09 MB / 0.8855 GB Notification: Performance of Templates: time 0.05058/3.919, allocations: 33.56 MB / 2.061 GB, free: 23.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_Example3.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches