Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001202/0.001202, allocations: 176.9 kB / 492.3 MB, free: 0.6133 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.685/1.685, allocations: 221.3 MB / 0.7872 GB, free: 12.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.0009103/0.0009105, allocations: 90.53 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.687e-05/3.69e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3525, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.383/6.736, allocations: 1.872 GB / 3.084 GB, free: 435.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/6.736, allocations: 94 kB / 3.084 GB, free: 435.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.823/10.56, allocations: 1.089 GB / 4.173 GB, free: 234.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.272e-06/10.56, allocations: 0 / 4.173 GB, free: 234.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001066/10.56, allocations: 35.98 kB / 4.173 GB, free: 234.1 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003859/10.56, allocations: 1.264 MB / 4.175 GB, free: 232.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/10.56, allocations: 8.031 kB / 4.175 GB, free: 232.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/10.56, allocations: 202.4 kB / 4.175 GB, free: 232.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00344/10.57, allocations: 1.457 MB / 4.176 GB, free: 231.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.078e-05/10.57, allocations: 53.3 kB / 4.176 GB, free: 231 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/10.57, allocations: 60 kB / 4.176 GB, free: 231 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/10.57, allocations: 0.9215 MB / 4.177 GB, free: 230 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/10.57, allocations: 4 kB / 4.177 GB, free: 230 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.804e-05/10.57, allocations: 24 kB / 4.177 GB, free: 229.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/10.57, allocations: 12 kB / 4.177 GB, free: 229.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009197/10.57, allocations: 0.7064 MB / 4.178 GB, free: 229.2 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.004259/10.57, allocations: 4.701 MB / 4.182 GB, free: 224.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/10.58, allocations: 3.972 MB / 4.186 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/10.58, allocations: 321.7 kB / 4.187 GB, free: 219.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002864/10.58, allocations: 190.2 kB / 4.187 GB, free: 218.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003884/10.58, allocations: 313.4 kB / 4.187 GB, free: 218.5 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000492/10.58, allocations: 39.62 kB / 4.187 GB, free: 218.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 2.825e-06/10.58, allocations: 0 / 4.187 GB, free: 218.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001282/10.58, allocations: 0.7623 MB / 4.188 GB, free: 217.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/10.58, allocations: 85.05 kB / 4.188 GB, free: 217.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/10.58, allocations: 1.032 MB / 4.189 GB, free: 216.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/10.58, allocations: 37.69 kB / 4.189 GB, free: 216.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/10.58, allocations: 0.5205 MB / 4.19 GB, free: 216 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.679e-05/10.58, allocations: 122.3 kB / 4.19 GB, free: 215.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/10.58, allocations: 12 kB / 4.19 GB, free: 215.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.082e-05/10.58, allocations: 330 kB / 4.19 GB, free: 215.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/10.58, allocations: 189 kB / 4.19 GB, free: 215.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/10.58, allocations: 0.521 MB / 4.191 GB, free: 214.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/10.58, allocations: 323.2 kB / 4.191 GB, free: 214.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/10.58, allocations: 0 / 4.191 GB, free: 214.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001174/10.58, allocations: 0.9554 MB / 4.192 GB, free: 213.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004322/10.58, allocations: 2.225 MB / 4.194 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/10.58, allocations: 11.98 kB / 4.194 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005956/10.58, allocations: 326.7 kB / 4.194 GB, free: 210.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003062/10.58, allocations: 87.81 kB / 4.195 GB, free: 210.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/10.59, allocations: 1.116 MB / 4.196 GB, free: 209.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/10.59, allocations: 103.6 kB / 4.196 GB, free: 209.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.223e-05/10.59, allocations: 27.98 kB / 4.196 GB, free: 209.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/10.59, allocations: 5.406 kB / 4.196 GB, free: 209.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001128/10.59, allocations: 0.7788 MB / 4.196 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/10.59, allocations: 11.94 kB / 4.197 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004837/10.59, allocations: 255.1 kB / 4.197 GB, free: 208.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/10.59, allocations: 75.89 kB / 4.197 GB, free: 208.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003191/10.59, allocations: 3.087 MB / 4.2 GB, free: 205 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009929/10.59, allocations: 103.8 kB / 4.2 GB, free: 204.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/10.59, allocations: 24 kB / 4.2 GB, free: 204.8 MB / 1.151 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 () * 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001736/10.59, allocations: 151.9 kB / 4.2 GB, free: 204.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/10.59, allocations: 106.7 kB / 4.2 GB, free: 204.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/10.59, allocations: 0.7851 MB / 4.201 GB, free: 203.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/10.59, allocations: 4 kB / 4.201 GB, free: 203.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/10.59, allocations: 4 kB / 4.201 GB, free: 203.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/10.59, allocations: 3.984 kB / 4.201 GB, free: 203.8 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 postOpt removeSimpleEquations (simulation): time 0.00246/10.6, allocations: 2.148 MB / 4.203 GB, free: 201.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/10.6, allocations: 4 kB / 4.203 GB, free: 201.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/10.6, allocations: 51.91 kB / 4.203 GB, free: 201.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/10.6, allocations: 244.3 kB / 4.203 GB, free: 201.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/10.6, allocations: 15.98 kB / 4.203 GB, free: 201.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007237/10.6, allocations: 0.9267 MB / 4.204 GB, free: 200.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/10.6, allocations: 0 / 4.204 GB, free: 200.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009795/10.6, allocations: 0.9661 MB / 4.205 GB, free: 199.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004163/10.6, allocations: 231.7 kB / 4.205 GB, free: 198.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/10.6, allocations: 12 kB / 4.205 GB, free: 198.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000677/10.6, allocations: 83.75 kB / 4.206 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.26e-05/10.6, allocations: 31.89 kB / 4.206 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/10.6, allocations: 19.95 kB / 4.206 GB, free: 198.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000952/10.6, allocations: 0.8145 MB / 4.206 GB, free: 197.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/10.6, allocations: 0 / 4.206 GB, free: 197.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001983/10.6, allocations: 0.6089 MB / 4.207 GB, free: 197.3 MB / 1.151 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) * 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001654/10.61, allocations: 1.133 MB / 4.208 GB, free: 196.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002278/10.61, allocations: 1.263 MB / 4.209 GB, free: 194.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/10.61, allocations: 0 / 4.209 GB, free: 194.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004983/10.61, allocations: 304.4 kB / 4.21 GB, free: 194.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/10.61, allocations: 0.6455 MB / 4.21 GB, free: 193.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/10.61, allocations: 1.469 MB / 4.212 GB, free: 192.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008076/10.62, allocations: 1.242 MB / 4.213 GB, free: 191.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002184/10.62, allocations: 0.8006 MB / 4.214 GB, free: 190.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/10.62, allocations: 47.44 kB / 4.214 GB, free: 190.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.453e-06/10.62, allocations: 0 / 4.214 GB, free: 190.3 MB / 1.151 GB Notification: Performance of Templates: time 0.05457/10.67, allocations: 39.06 MB / 4.252 GB, free: 151.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches