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.458/2.458, allocations: 387.1 MB / 399.7 MB, free: 9.426 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.001337/0.001337, allocations: 174.4 kB / 492.3 MB, free: 0.6211 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.609/1.609, allocations: 221.3 MB / 0.7872 GB, free: 12.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.0009771/0.0009771, allocations: 95.03 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.01e-05/4.012e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3437, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.365/6.709, allocations: 1.869 GB / 3.082 GB, free: 436 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003974/6.709, allocations: 96.17 kB / 3.082 GB, free: 436 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.308/14.02, allocations: 1.996 GB / 5.078 GB, free: 200 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.014e-06/14.02, allocations: 0 / 5.078 GB, free: 200 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001288/14.02, allocations: 35.92 kB / 5.078 GB, free: 200 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.00402/14.02, allocations: 1.279 MB / 5.079 GB, free: 198.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/14.02, allocations: 8.031 kB / 5.079 GB, free: 198.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/14.02, allocations: 198.4 kB / 5.079 GB, free: 198.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0033/14.03, allocations: 1.426 MB / 5.081 GB, free: 196.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/14.03, allocations: 49.31 kB / 5.081 GB, free: 196.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/14.03, allocations: 68 kB / 5.081 GB, free: 196.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/14.03, allocations: 0.9215 MB / 5.082 GB, free: 195.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/14.03, allocations: 0 / 5.082 GB, free: 195.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.365e-05/14.03, allocations: 28 kB / 5.082 GB, free: 195.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/14.03, allocations: 19.94 kB / 5.082 GB, free: 195.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008659/14.03, allocations: 0.7102 MB / 5.083 GB, free: 195.1 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.004001/14.03, allocations: 4.725 MB / 5.087 GB, free: 190 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/14.03, allocations: 4.025 MB / 5.091 GB, free: 185.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/14.03, allocations: 327 kB / 5.091 GB, free: 184.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/14.03, allocations: 194.2 kB / 5.092 GB, free: 184.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000356/14.03, allocations: 299 kB / 5.092 GB, free: 184.3 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004794/14.04, allocations: 31.69 kB / 5.092 GB, free: 184.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 2.194e-06/14.04, allocations: 0 / 5.092 GB, free: 184.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.001265/14.04, allocations: 0.7391 MB / 5.093 GB, free: 183.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/14.04, allocations: 89.08 kB / 5.093 GB, free: 183.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/14.04, allocations: 1.027 MB / 5.094 GB, free: 182.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/14.04, allocations: 41.7 kB / 5.094 GB, free: 182.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003297/14.04, allocations: 0.5166 MB / 5.094 GB, free: 181.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.009e-05/14.04, allocations: 126.2 kB / 5.094 GB, free: 181.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/14.04, allocations: 12 kB / 5.094 GB, free: 181.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.921e-05/14.04, allocations: 326 kB / 5.095 GB, free: 181.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/14.04, allocations: 185 kB / 5.095 GB, free: 181.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/14.04, allocations: 0.5365 MB / 5.095 GB, free: 180.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/14.04, allocations: 295.3 kB / 5.096 GB, free: 180.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/14.04, allocations: 4 kB / 5.096 GB, free: 180.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001187/14.04, allocations: 0.9363 MB / 5.097 GB, free: 179.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004553/14.04, allocations: 2.234 MB / 5.099 GB, free: 176.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/14.04, allocations: 4 kB / 5.099 GB, free: 176.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005211/14.04, allocations: 244.5 kB / 5.099 GB, free: 176.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/14.04, allocations: 75.83 kB / 5.099 GB, free: 176.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007958/14.04, allocations: 0.9953 MB / 5.1 GB, free: 175.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/14.04, allocations: 103.8 kB / 5.1 GB, free: 175.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/14.04, allocations: 24 kB / 5.1 GB, free: 175.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/14.04, allocations: 4 kB / 5.1 GB, free: 175.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001049/14.04, allocations: 0.7473 MB / 5.101 GB, free: 174.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/14.04, allocations: 4 kB / 5.101 GB, free: 174.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004741/14.05, allocations: 226.7 kB / 5.101 GB, free: 174.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/14.05, allocations: 83.73 kB / 5.101 GB, free: 174.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/14.05, allocations: 2.878 MB / 5.104 GB, free: 171.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/14.05, allocations: 99.8 kB / 5.104 GB, free: 171.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/14.05, allocations: 31.98 kB / 5.104 GB, free: 171.2 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 (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.0001821/14.05, allocations: 147.6 kB / 5.104 GB, free: 171 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/14.05, allocations: 106.7 kB / 5.104 GB, free: 170.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/14.05, allocations: 0.7541 MB / 5.105 GB, free: 170.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/14.05, allocations: 4 kB / 5.105 GB, free: 170.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/14.05, allocations: 0 / 5.105 GB, free: 170.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/14.05, allocations: 0 / 5.105 GB, free: 170.1 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.002276/14.05, allocations: 2.109 MB / 5.107 GB, free: 167.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/14.05, allocations: 0 / 5.107 GB, free: 167.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/14.05, allocations: 59.89 kB / 5.107 GB, free: 167.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003292/14.05, allocations: 168.6 kB / 5.108 GB, free: 167.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/14.05, allocations: 15.98 kB / 5.108 GB, free: 167.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005243/14.05, allocations: 0.857 MB / 5.108 GB, free: 166.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/14.05, allocations: 0 / 5.108 GB, free: 166.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008576/14.06, allocations: 0.9232 MB / 5.109 GB, free: 165.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003743/14.06, allocations: 231.7 kB / 5.109 GB, free: 165.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/14.06, allocations: 11.98 kB / 5.109 GB, free: 165.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006515/14.06, allocations: 79.77 kB / 5.11 GB, free: 165.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.753e-05/14.06, allocations: 39.91 kB / 5.11 GB, free: 165.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/14.06, allocations: 11.98 kB / 5.11 GB, free: 165.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008808/14.06, allocations: 0.8143 MB / 5.11 GB, free: 164.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.11e-07/14.06, allocations: 0 / 5.11 GB, free: 164.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001832/14.06, allocations: 0.6011 MB / 5.111 GB, free: 163.9 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 (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.001468/14.06, allocations: 1.073 MB / 5.112 GB, free: 162.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001518/14.06, allocations: 1.113 MB / 5.113 GB, free: 161.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/14.06, allocations: 0.9375 kB / 5.113 GB, free: 161.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003103/14.06, allocations: 228 kB / 5.113 GB, free: 161.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/14.07, allocations: 0.6517 MB / 5.114 GB, free: 160.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/14.07, allocations: 1.454 MB / 5.115 GB, free: 159.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005232/14.07, allocations: 1.235 MB / 5.117 GB, free: 158.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001834/14.07, allocations: 0.8123 MB / 5.117 GB, free: 157.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.55e-05/14.07, allocations: 55.44 kB / 5.117 GB, free: 157.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.022e-06/14.07, allocations: 0 / 5.117 GB, free: 157.2 MB / 1.151 GB Notification: Performance of Templates: time 0.05324/14.12, allocations: 38.3 MB / 5.155 GB, free: 119.1 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