Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.271/2.271, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001709/0.001709, allocations: 183.3 kB / 498.1 MB, free: 5.766 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.69/1.69, allocations: 223.2 MB / 0.7948 GB, free: 17.97 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.0009988/0.0009991, allocations: 101.7 kB / 0.9346 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004305, allocations: 10.44 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3154, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.528/4.844, allocations: 1.869 GB / 3.092 GB, free: 68.72 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/4.844, allocations: 97.97 kB / 3.092 GB, free: 68.66 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.311/12.16, allocations: 1.998 GB / 5.09 GB, free: 263.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.074e-06/12.16, allocations: 0 / 5.09 GB, free: 263.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002244/12.16, allocations: 31.98 kB / 5.09 GB, free: 263 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.006009/12.16, allocations: 1.581 MB / 5.092 GB, free: 261.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/12.16, allocations: 8.031 kB / 5.092 GB, free: 261.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/12.16, allocations: 194.4 kB / 5.092 GB, free: 261.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004435/12.17, allocations: 1.449 MB / 5.093 GB, free: 259.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.289e-05/12.17, allocations: 45.31 kB / 5.093 GB, free: 259.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/12.17, allocations: 68 kB / 5.093 GB, free: 259.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/12.17, allocations: 0.9487 MB / 5.094 GB, free: 258.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/12.17, allocations: 7.938 kB / 5.094 GB, free: 258.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.313e-05/12.17, allocations: 20 kB / 5.094 GB, free: 258.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/12.17, allocations: 16 kB / 5.094 GB, free: 258.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/12.17, allocations: 0.757 MB / 5.095 GB, free: 257.8 MB / 1.151 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.004657/12.17, allocations: 4.744 MB / 5.1 GB, free: 252.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/12.18, allocations: 4.058 MB / 5.104 GB, free: 247.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/12.18, allocations: 198.2 kB / 5.104 GB, free: 247.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004917/12.18, allocations: 334.2 kB / 5.104 GB, free: 247.2 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000612/12.18, allocations: 31.69 kB / 5.104 GB, free: 247.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 2.745e-06/12.18, allocations: 0 / 5.104 GB, free: 247.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.003153/12.18, allocations: 1.306 MB / 5.105 GB, free: 245.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/12.18, allocations: 89.05 kB / 5.106 GB, free: 245.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/12.18, allocations: 1.034 MB / 5.107 GB, free: 244.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.518e-05/12.18, allocations: 41.7 kB / 5.107 GB, free: 244.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/12.18, allocations: 0.5127 MB / 5.107 GB, free: 244.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/12.18, allocations: 126.2 kB / 5.107 GB, free: 244 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/12.18, allocations: 8 kB / 5.107 GB, free: 244 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.249e-05/12.18, allocations: 330 kB / 5.108 GB, free: 243.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/12.18, allocations: 213 kB / 5.108 GB, free: 243.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/12.19, allocations: 0.5482 MB / 5.108 GB, free: 242.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/12.19, allocations: 331 kB / 5.109 GB, free: 242.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/12.19, allocations: 4 kB / 5.109 GB, free: 242.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001769/12.19, allocations: 0.9742 MB / 5.11 GB, free: 241.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008193/12.19, allocations: 2.225 MB / 5.112 GB, free: 239.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/12.19, allocations: 11.88 kB / 5.112 GB, free: 239 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006008/12.19, allocations: 236.6 kB / 5.112 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/12.19, allocations: 79.89 kB / 5.112 GB, free: 238.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/12.19, allocations: 0.9957 MB / 5.113 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/12.19, allocations: 103.7 kB / 5.113 GB, free: 237.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.939e-05/12.19, allocations: 27.98 kB / 5.113 GB, free: 237.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/12.19, allocations: 8 kB / 5.113 GB, free: 237.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001384/12.19, allocations: 0.7916 MB / 5.114 GB, free: 236.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.547e-06/12.19, allocations: 8 kB / 5.114 GB, free: 236.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005274/12.19, allocations: 225.1 kB / 5.114 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/12.19, allocations: 75.89 kB / 5.114 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/12.2, allocations: 2.936 MB / 5.117 GB, free: 233.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/12.2, allocations: 107.8 kB / 5.117 GB, free: 233.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/12.2, allocations: 24 kB / 5.117 GB, free: 233.3 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006662/12.2, allocations: 476.9 kB / 5.118 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/12.2, allocations: 110.7 kB / 5.118 GB, free: 232.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/12.2, allocations: 0.7969 MB / 5.119 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/12.2, allocations: 4 kB / 5.119 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/12.2, allocations: 0 / 5.119 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/12.2, allocations: 3.938 kB / 5.119 GB, free: 231.9 MB / 1.151 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.002559/12.2, allocations: 2.15 MB / 5.121 GB, free: 229.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/12.2, allocations: 7.938 kB / 5.121 GB, free: 229.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/12.2, allocations: 56.16 kB / 5.121 GB, free: 229.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003239/12.2, allocations: 178.8 kB / 5.121 GB, free: 229.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/12.2, allocations: 15.98 kB / 5.121 GB, free: 229.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000541/12.2, allocations: 0.8565 MB / 5.122 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/12.2, allocations: 64 / 5.122 GB, free: 228.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/12.2, allocations: 0.9628 MB / 5.123 GB, free: 227.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004268/12.21, allocations: 235.7 kB / 5.123 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/12.21, allocations: 8 kB / 5.123 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006524/12.21, allocations: 87.75 kB / 5.123 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.293e-05/12.21, allocations: 31.91 kB / 5.123 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/12.21, allocations: 12 kB / 5.123 GB, free: 227 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008774/12.21, allocations: 0.8248 MB / 5.124 GB, free: 226.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/12.21, allocations: 0 / 5.124 GB, free: 226.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001974/12.21, allocations: 0.605 MB / 5.124 GB, free: 225.6 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.00153/12.21, allocations: 1.079 MB / 5.125 GB, free: 224.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001933/12.21, allocations: 1.135 MB / 5.127 GB, free: 223.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/12.21, allocations: 0 / 5.127 GB, free: 223.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000391/12.21, allocations: 251.7 kB / 5.127 GB, free: 223.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/12.22, allocations: 0.6537 MB / 5.127 GB, free: 222.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/12.22, allocations: 2.104 MB / 5.13 GB, free: 220.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/12.22, allocations: 1.233 MB / 5.131 GB, free: 219 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001155/12.22, allocations: 388.5 kB / 5.131 GB, free: 218.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/12.22, allocations: 71.44 kB / 5.131 GB, free: 218.6 MB / 1.151 GB Notification: Performance of SimCode: time 9.62e-07/12.22, allocations: 0 / 5.131 GB, free: 218.6 MB / 1.151 GB Notification: Performance of Templates: time 0.04526/12.27, allocations: 33.37 MB / 5.164 GB, free: 185.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches