Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.289/2.289, 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.001288/0.001288, allocations: 184.8 kB / 487.4 MB, free: 5.059 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.739/1.739, allocations: 221.5 MB / 0.7824 GB, free: 1.059 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.00133/0.00133, allocations: 108.5 kB / 0.9219 GB, free: 2.285 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.563e-05/2.564e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3127, allocations: 142.4 MB / 1.206 GB, free: 44.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.276/1.589, allocations: 402 MB / 1.599 GB, free: 3.527 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/1.59, allocations: 94.62 kB / 1.599 GB, free: 3.48 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.801/3.39, allocations: 489.2 MB / 2.076 GB, free: 125.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.974e-06/3.39, allocations: 0 / 2.076 GB, free: 125.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001703/3.39, allocations: 43.98 kB / 2.076 GB, free: 125.9 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003149/3.393, allocations: 1.528 MB / 2.078 GB, free: 124.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/3.393, allocations: 8.562 kB / 2.078 GB, free: 124.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/3.395, allocations: 333.8 kB / 2.078 GB, free: 124 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004296/3.4, allocations: 1.971 MB / 2.08 GB, free: 121.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/3.4, allocations: 24 kB / 2.08 GB, free: 121.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/3.4, allocations: 55.94 kB / 2.08 GB, free: 121.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001076/3.401, allocations: 0.6326 MB / 2.081 GB, free: 121.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/3.402, allocations: 0.8164 MB / 2.082 GB, free: 120.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/3.402, allocations: 3.938 kB / 2.082 GB, free: 120.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.958e-05/3.402, allocations: 8 kB / 2.082 GB, free: 120.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/3.402, allocations: 23.89 kB / 2.082 GB, free: 120.3 MB / 1.151 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.005213/3.407, allocations: 4.494 MB / 2.086 GB, free: 115.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007445/3.408, allocations: 0.5663 MB / 2.087 GB, free: 115 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/3.408, allocations: 311.4 kB / 2.087 GB, free: 114.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002393/3.411, allocations: 1.688 MB / 2.089 GB, free: 112.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003927/3.411, allocations: 301.9 kB / 2.089 GB, free: 112.6 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004551/3.412, allocations: 95.45 kB / 2.089 GB, free: 112.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=46): time 2.695e-06/3.412, allocations: 0 / 2.089 GB, free: 112.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=46): time 0.001563/3.413, allocations: 0.7191 MB / 2.09 GB, free: 111.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/3.413, allocations: 55.41 kB / 2.09 GB, free: 111.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/3.414, allocations: 1.003 MB / 2.091 GB, free: 110.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/3.415, allocations: 25.7 kB / 2.091 GB, free: 110.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004572/3.415, allocations: 0.6447 MB / 2.091 GB, free: 110 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/3.415, allocations: 157.8 kB / 2.091 GB, free: 109.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/3.415, allocations: 7.938 kB / 2.091 GB, free: 109.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.9e-05/3.415, allocations: 330 kB / 2.092 GB, free: 109.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/3.415, allocations: 213.5 kB / 2.092 GB, free: 109.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003832/3.416, allocations: 0.5361 MB / 2.093 GB, free: 108.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007923/3.417, allocations: 346.8 kB / 2.093 GB, free: 108.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/3.417, allocations: 4 kB / 2.093 GB, free: 108.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001634/3.418, allocations: 0.9403 MB / 2.094 GB, free: 107.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006512/3.419, allocations: 3.035 MB / 2.097 GB, free: 104 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/3.419, allocations: 8 kB / 2.097 GB, free: 104 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002786/3.419, allocations: 132.7 kB / 2.097 GB, free: 103.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000603/3.42, allocations: 151.7 kB / 2.097 GB, free: 103.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006074/3.421, allocations: 0.7863 MB / 2.098 GB, free: 102.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009972/3.422, allocations: 71.84 kB / 2.098 GB, free: 102.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.892e-05/3.422, allocations: 51.91 kB / 2.098 GB, free: 102.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/3.422, allocations: 6.031 kB / 2.098 GB, free: 102.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001446/3.423, allocations: 0.7944 MB / 2.099 GB, free: 102 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/3.423, allocations: 8 kB / 2.099 GB, free: 102 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/3.423, allocations: 100.8 kB / 2.099 GB, free: 101.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/3.424, allocations: 155.8 kB / 2.099 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/3.425, allocations: 2.114 MB / 2.101 GB, free: 99.48 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009197/3.426, allocations: 71.84 kB / 2.101 GB, free: 99.41 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.296e-05/3.426, allocations: 39.98 kB / 2.101 GB, free: 99.37 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002205/3.427, allocations: 137.9 kB / 2.101 GB, free: 99.23 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/3.427, allocations: 126.4 kB / 2.101 GB, free: 99.11 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/3.429, allocations: 0.8004 MB / 2.102 GB, free: 98.29 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/3.429, allocations: 4 kB / 2.102 GB, free: 98.29 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/3.429, allocations: 0 / 2.102 GB, free: 98.29 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009121/3.43, allocations: 0.8239 MB / 2.103 GB, free: 97.39 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/3.432, allocations: 1.722 MB / 2.105 GB, free: 95.59 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/3.432, allocations: 3.938 kB / 2.105 GB, free: 95.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004588/3.433, allocations: 95.86 kB / 2.105 GB, free: 95.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001815/3.433, allocations: 104.9 kB / 2.105 GB, free: 95.39 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/3.433, allocations: 7.984 kB / 2.105 GB, free: 95.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004391/3.433, allocations: 0.7395 MB / 2.106 GB, free: 94.62 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/3.433, allocations: 11.94 kB / 2.106 GB, free: 94.61 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/3.435, allocations: 1.13 MB / 2.107 GB, free: 93.43 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004677/3.435, allocations: 263.4 kB / 2.107 GB, free: 93.16 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/3.435, allocations: 0 / 2.107 GB, free: 93.16 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006601/3.436, allocations: 71.83 kB / 2.107 GB, free: 93.09 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/3.436, allocations: 44.38 kB / 2.107 GB, free: 93.04 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.157e-05/3.436, allocations: 19.98 kB / 2.107 GB, free: 93.02 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000919/3.437, allocations: 0.7713 MB / 2.108 GB, free: 92.25 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.31e-07/3.437, allocations: 0 / 2.108 GB, free: 92.25 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002212/3.439, allocations: 0.6823 MB / 2.108 GB, free: 91.57 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * 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 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001357/3.441, allocations: 0.768 MB / 2.109 GB, free: 90.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001938/3.443, allocations: 1.226 MB / 2.11 GB, free: 89.54 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/3.443, allocations: 0 / 2.11 GB, free: 89.54 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000456/3.443, allocations: 290.4 kB / 2.111 GB, free: 89.26 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/3.445, allocations: 0.4983 MB / 2.111 GB, free: 88.77 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/3.449, allocations: 1.677 MB / 2.113 GB, free: 87.04 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008601/3.45, allocations: 1.301 MB / 2.114 GB, free: 85.71 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002201/3.452, allocations: 0.5602 MB / 2.115 GB, free: 85.14 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/3.452, allocations: 83.41 kB / 2.115 GB, free: 85.06 MB / 1.151 GB Notification: Performance of SimCode: time 1.032e-06/3.452, allocations: 0 / 2.115 GB, free: 85.06 MB / 1.151 GB Notification: Performance of Templates: time 0.04287/3.495, allocations: 25.83 MB / 2.14 GB, free: 59.48 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example2.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches