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.376/2.376, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001299/0.001299, allocations: 197.9 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.598/1.598, allocations: 223.2 MB / 0.7949 GB, free: 17.94 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.001012/0.001012, allocations: 102.9 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004612, allocations: 11.22 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3365, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.24/1.577, allocations: 402.7 MB / 1.616 GB, free: 9.012 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/1.577, allocations: 97.7 kB / 1.616 GB, free: 8.961 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.873/3.45, allocations: 493.9 MB / 2.099 GB, free: 233.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.755e-06/3.45, allocations: 4 kB / 2.099 GB, free: 233.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002901/3.451, allocations: 40.16 kB / 2.099 GB, free: 233.3 MB / 1.167 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.00654/3.457, allocations: 1.973 MB / 2.101 GB, free: 231.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/3.457, allocations: 11.97 kB / 2.101 GB, free: 231.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/3.46, allocations: 341.7 kB / 2.101 GB, free: 231 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006211/3.466, allocations: 1.994 MB / 2.103 GB, free: 229 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/3.466, allocations: 67.2 kB / 2.103 GB, free: 228.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003656/3.466, allocations: 95.98 kB / 2.103 GB, free: 228.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/3.469, allocations: 0.9763 MB / 2.104 GB, free: 227.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/3.469, allocations: 7.781 kB / 2.104 GB, free: 227.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/3.469, allocations: 32 kB / 2.104 GB, free: 227.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/3.469, allocations: 23.94 kB / 2.104 GB, free: 227.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/3.471, allocations: 0.7494 MB / 2.105 GB, free: 227 MB / 1.167 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.008197/3.479, allocations: 4.652 MB / 2.109 GB, free: 222.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/3.48, allocations: 0.6341 MB / 2.11 GB, free: 221.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003664/3.484, allocations: 1.725 MB / 2.112 GB, free: 219.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007247/3.485, allocations: 370.4 kB / 2.112 GB, free: 219.2 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009392/3.486, allocations: 107.5 kB / 2.112 GB, free: 219.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=46): time 6.563e-06/3.486, allocations: 0 / 2.112 GB, free: 219.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=46): time 0.003284/3.489, allocations: 1.175 MB / 2.113 GB, free: 217.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/3.489, allocations: 67.28 kB / 2.113 GB, free: 217.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002514/3.492, allocations: 1.123 MB / 2.114 GB, free: 216.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/3.492, allocations: 41.7 kB / 2.114 GB, free: 216.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007025/3.493, allocations: 0.645 MB / 2.115 GB, free: 216 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/3.493, allocations: 161.8 kB / 2.115 GB, free: 215.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/3.493, allocations: 12 kB / 2.115 GB, free: 215.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001183/3.493, allocations: 337.9 kB / 2.116 GB, free: 215.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006156/3.494, allocations: 261.8 kB / 2.116 GB, free: 215.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007908/3.494, allocations: 0.599 MB / 2.116 GB, free: 214.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000769/3.495, allocations: 368.7 kB / 2.117 GB, free: 214.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/3.495, allocations: 4 kB / 2.117 GB, free: 214.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002347/3.498, allocations: 1.048 MB / 2.118 GB, free: 213.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007716/3.498, allocations: 3.049 MB / 2.121 GB, free: 209.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.855e-05/3.498, allocations: 12 kB / 2.121 GB, free: 209.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000395/3.499, allocations: 144 kB / 2.121 GB, free: 209.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00062/3.499, allocations: 159.7 kB / 2.121 GB, free: 209.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006903/3.5, allocations: 0.768 MB / 2.122 GB, free: 208.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/3.501, allocations: 95.75 kB / 2.122 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/3.502, allocations: 35.98 kB / 2.122 GB, free: 208.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/3.502, allocations: 4 kB / 2.122 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001664/3.503, allocations: 0.9635 MB / 2.123 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/3.503, allocations: 8 kB / 2.123 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001882/3.503, allocations: 109.2 kB / 2.123 GB, free: 207.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/3.504, allocations: 143.8 kB / 2.123 GB, free: 207.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/3.506, allocations: 2.235 MB / 2.125 GB, free: 204.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/3.507, allocations: 87.84 kB / 2.125 GB, free: 204.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/3.507, allocations: 35.98 kB / 2.125 GB, free: 204.8 MB / 1.167 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 () * Number of clocked 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.00102/3.508, allocations: 484 kB / 2.126 GB, free: 204.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004149/3.509, allocations: 130.5 kB / 2.126 GB, free: 204.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/3.511, allocations: 0.9328 MB / 2.127 GB, free: 203.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/3.511, allocations: 8 kB / 2.127 GB, free: 203.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/3.511, allocations: 0 / 2.127 GB, free: 203.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001392/3.512, allocations: 0.9216 MB / 2.128 GB, free: 202.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003984/3.516, allocations: 1.928 MB / 2.13 GB, free: 200.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/3.516, allocations: 7.953 kB / 2.13 GB, free: 200.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/3.517, allocations: 91.88 kB / 2.13 GB, free: 200.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002509/3.517, allocations: 120.9 kB / 2.13 GB, free: 200 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/3.517, allocations: 19.98 kB / 2.13 GB, free: 200 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000473/3.518, allocations: 0.7467 MB / 2.131 GB, free: 199.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/3.518, allocations: 3.938 kB / 2.131 GB, free: 199.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/3.52, allocations: 1.302 MB / 2.132 GB, free: 197.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008778/3.521, allocations: 271.2 kB / 2.132 GB, free: 197.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003801/3.521, allocations: 19.94 kB / 2.132 GB, free: 197.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/3.522, allocations: 71.91 kB / 2.132 GB, free: 197.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/3.523, allocations: 40.38 kB / 2.132 GB, free: 197.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.578e-05/3.523, allocations: 23.98 kB / 2.132 GB, free: 197.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001658/3.524, allocations: 0.8858 MB / 2.133 GB, free: 196.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.31e-07/3.524, allocations: 0 / 2.133 GB, free: 196.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003278/3.528, allocations: 0.7292 MB / 2.134 GB, free: 195.9 MB / 1.167 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) * 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 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002006/3.53, allocations: 0.7603 MB / 2.135 GB, free: 195.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003134/3.533, allocations: 1.374 MB / 2.136 GB, free: 193.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/3.533, allocations: 0 / 2.136 GB, free: 193.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008066/3.534, allocations: 351.5 kB / 2.136 GB, free: 193.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/3.537, allocations: 0.5677 MB / 2.137 GB, free: 192.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005518/3.542, allocations: 2.722 MB / 2.14 GB, free: 190 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/3.543, allocations: 1.303 MB / 2.141 GB, free: 188.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00178/3.545, allocations: 318.4 kB / 2.141 GB, free: 188.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003553/3.546, allocations: 107.4 kB / 2.141 GB, free: 188.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.082e-06/3.546, allocations: 0 / 2.141 GB, free: 188.3 MB / 1.167 GB Notification: Performance of Templates: time 0.04512/3.591, allocations: 27.73 MB / 2.168 GB, free: 160.9 MB / 1.167 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