Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.484/2.484, allocations: 390.3 MB / 405.3 MB, free: 13.5 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: 176.4 kB / 498.1 MB, free: 5.742 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.767/1.767, allocations: 223.2 MB / 0.7949 GB, free: 17.91 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.001052/0.001052, allocations: 100.1 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005056/0.0005055, allocations: 14.22 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3684, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.635/5.004, allocations: 1.872 GB / 3.095 GB, free: 114.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/5.004, allocations: 95.08 kB / 3.095 GB, free: 114.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.778/12.78, allocations: 2.008 GB / 5.103 GB, free: 347.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.074e-06/12.78, allocations: 0 / 5.103 GB, free: 347.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002208/12.78, allocations: 32.36 kB / 5.103 GB, free: 347.4 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.006408/12.79, allocations: 1.566 MB / 5.105 GB, free: 346.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/12.79, allocations: 11.31 kB / 5.105 GB, free: 346.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/12.79, allocations: 204 kB / 5.105 GB, free: 346.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004974/12.8, allocations: 1.47 MB / 5.106 GB, free: 346.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.268e-05/12.8, allocations: 43.62 kB / 5.106 GB, free: 346.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002508/12.8, allocations: 63.09 kB / 5.106 GB, free: 346.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/12.8, allocations: 0.9559 MB / 5.107 GB, free: 346.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/12.8, allocations: 7.781 kB / 5.107 GB, free: 346.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.75e-05/12.8, allocations: 28.06 kB / 5.107 GB, free: 346.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/12.8, allocations: 11.03 kB / 5.107 GB, free: 346.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/12.8, allocations: 0.7554 MB / 5.108 GB, free: 346.1 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.0053/12.8, allocations: 4.699 MB / 5.113 GB, free: 343 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/12.81, allocations: 4.015 MB / 5.116 GB, free: 338.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002941/12.81, allocations: 193.4 kB / 5.117 GB, free: 338.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004956/12.81, allocations: 329.9 kB / 5.117 GB, free: 338.5 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006303/12.81, allocations: 33.61 kB / 5.117 GB, free: 338.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 4.629e-06/12.81, allocations: 2.844 kB / 5.117 GB, free: 338.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.0036/12.81, allocations: 1.411 MB / 5.118 GB, free: 338.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/12.81, allocations: 87.98 kB / 5.118 GB, free: 338.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/12.81, allocations: 1.044 MB / 5.12 GB, free: 338 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.044e-05/12.81, allocations: 37.17 kB / 5.12 GB, free: 338 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004307/12.81, allocations: 0.513 MB / 5.12 GB, free: 337.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/12.81, allocations: 126.5 kB / 5.12 GB, free: 337.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/12.81, allocations: 10 kB / 5.12 GB, free: 337.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.033e-05/12.81, allocations: 333.2 kB / 5.12 GB, free: 337.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/12.81, allocations: 208.6 kB / 5.121 GB, free: 337.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/12.81, allocations: 0.5569 MB / 5.121 GB, free: 337.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/12.82, allocations: 326.7 kB / 5.122 GB, free: 337 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/12.82, allocations: 0 / 5.122 GB, free: 337 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00171/12.82, allocations: 0.9999 MB / 5.123 GB, free: 336.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005859/12.82, allocations: 2.23 MB / 5.125 GB, free: 334.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/12.82, allocations: 3.875 kB / 5.125 GB, free: 334.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006665/12.82, allocations: 271.3 kB / 5.125 GB, free: 334.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003122/12.82, allocations: 78.45 kB / 5.125 GB, free: 334.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009551/12.82, allocations: 1.049 MB / 5.126 GB, free: 334 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/12.82, allocations: 100.6 kB / 5.126 GB, free: 334 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.6e-05/12.82, allocations: 28.12 kB / 5.126 GB, free: 334 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/12.82, allocations: 10.95 kB / 5.126 GB, free: 334 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001405/12.82, allocations: 0.8197 MB / 5.127 GB, free: 333.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/12.82, allocations: 7.375 kB / 5.127 GB, free: 333.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005961/12.82, allocations: 253.1 kB / 5.127 GB, free: 333.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/12.82, allocations: 80.75 kB / 5.127 GB, free: 333.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003478/12.83, allocations: 3.143 MB / 5.13 GB, free: 331.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/12.83, allocations: 107.3 kB / 5.131 GB, free: 331.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.857e-05/12.83, allocations: 24.38 kB / 5.131 GB, free: 331.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * Array equations: 0 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0007655/12.83, allocations: 481.2 kB / 5.131 GB, free: 331.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/12.83, allocations: 105.8 kB / 5.131 GB, free: 331.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/12.83, allocations: 0.8173 MB / 5.132 GB, free: 331.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/12.83, allocations: 3.219 kB / 5.132 GB, free: 331.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/12.83, allocations: 7.891 kB / 5.132 GB, free: 331.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/12.83, allocations: 3.422 kB / 5.132 GB, free: 331.1 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 postOpt removeSimpleEquations (simulation): time 0.003429/12.83, allocations: 2.193 MB / 5.134 GB, free: 329.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/12.83, allocations: 3.938 kB / 5.134 GB, free: 329.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/12.83, allocations: 42.62 kB / 5.134 GB, free: 329.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004238/12.83, allocations: 223 kB / 5.134 GB, free: 329.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/12.83, allocations: 10.44 kB / 5.134 GB, free: 329.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006339/12.84, allocations: 0.8779 MB / 5.135 GB, free: 329.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/12.84, allocations: 11.88 kB / 5.135 GB, free: 329.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/12.84, allocations: 0.9904 MB / 5.136 GB, free: 328.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006193/12.84, allocations: 234 kB / 5.136 GB, free: 328.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/12.84, allocations: 7.844 kB / 5.136 GB, free: 328.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008754/12.84, allocations: 89.59 kB / 5.136 GB, free: 328.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/12.84, allocations: 31.73 kB / 5.136 GB, free: 328.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/12.84, allocations: 11.66 kB / 5.136 GB, free: 328.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001182/12.84, allocations: 0.8276 MB / 5.137 GB, free: 327.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/12.84, allocations: 0 / 5.137 GB, free: 327.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002473/12.84, allocations: 0.6111 MB / 5.138 GB, free: 327.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001967/12.84, allocations: 1.14 MB / 5.139 GB, free: 327.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002152/12.85, allocations: 1.154 MB / 5.14 GB, free: 326.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/12.85, allocations: 3.625 kB / 5.14 GB, free: 326.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004487/12.85, allocations: 255 kB / 5.14 GB, free: 326.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00324/12.85, allocations: 0.6561 MB / 5.141 GB, free: 326.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/12.85, allocations: 2.098 MB / 5.143 GB, free: 324.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008242/12.85, allocations: 1.23 MB / 5.144 GB, free: 324 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00132/12.86, allocations: 383.9 kB / 5.145 GB, free: 323.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/12.86, allocations: 72.75 kB / 5.145 GB, free: 323.8 MB / 1.167 GB Notification: Performance of SimCode: time 8.72e-07/12.86, allocations: 7.875 kB / 5.145 GB, free: 323.8 MB / 1.167 GB Notification: Performance of Templates: time 0.05231/12.91, allocations: 34.33 MB / 5.178 GB, free: 291.4 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches