Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.437/2.437, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.002072/0.002071, allocations: 188 kB / 0.4902 GB, free: 2.242 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.794/1.794, allocations: 223.2 MB / 0.7992 GB, free: 14.73 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.001152/0.001152, allocations: 112.4 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003926, allocations: 7.594 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3843, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.624/5.009, allocations: 1.87 GB / 3.099 GB, free: 82.13 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/5.009, allocations: 90.27 kB / 3.099 GB, free: 82.08 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.314/12.32, allocations: 1.998 GB / 5.097 GB, free: 329.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.395e-06/12.32, allocations: 8 kB / 5.097 GB, free: 329.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002071/12.32, allocations: 29.86 kB / 5.097 GB, free: 329.1 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.006624/12.33, allocations: 1.571 MB / 5.099 GB, free: 327.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/12.33, allocations: 12.83 kB / 5.099 GB, free: 327.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/12.33, allocations: 202.4 kB / 5.099 GB, free: 327.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004705/12.34, allocations: 1.438 MB / 5.1 GB, free: 325.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.798e-05/12.34, allocations: 49.31 kB / 5.1 GB, free: 325.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/12.34, allocations: 71.38 kB / 5.1 GB, free: 325.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/12.34, allocations: 0.9487 MB / 5.101 GB, free: 324.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/12.34, allocations: 4 kB / 5.101 GB, free: 324.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.746e-05/12.34, allocations: 28 kB / 5.101 GB, free: 324.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/12.34, allocations: 16 kB / 5.101 GB, free: 324.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/12.34, allocations: 0.757 MB / 5.102 GB, free: 323.9 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.005597/12.35, allocations: 4.734 MB / 5.107 GB, free: 318.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/12.35, allocations: 4.065 MB / 5.111 GB, free: 314 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003167/12.35, allocations: 192.8 kB / 5.111 GB, free: 313.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000505/12.35, allocations: 329.4 kB / 5.111 GB, free: 313.5 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006075/12.35, allocations: 27.69 kB / 5.111 GB, free: 313.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 3.927e-06/12.35, allocations: 0 / 5.111 GB, free: 313.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.003286/12.35, allocations: 1.303 MB / 5.113 GB, free: 312.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/12.35, allocations: 89.05 kB / 5.113 GB, free: 312 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/12.35, allocations: 1.042 MB / 5.114 GB, free: 311 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.621e-05/12.35, allocations: 37.7 kB / 5.114 GB, free: 310.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004301/12.35, allocations: 0.5165 MB / 5.114 GB, free: 310.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/12.35, allocations: 129.8 kB / 5.114 GB, free: 310.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/12.35, allocations: 12 kB / 5.114 GB, free: 310.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.46e-05/12.35, allocations: 333.8 kB / 5.115 GB, free: 309.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/12.35, allocations: 209 kB / 5.115 GB, free: 309.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/12.36, allocations: 0.5482 MB / 5.115 GB, free: 309 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004606/12.36, allocations: 319.1 kB / 5.116 GB, free: 308.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/12.36, allocations: 4 kB / 5.116 GB, free: 308.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001565/12.36, allocations: 0.9794 MB / 5.117 GB, free: 307.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006469/12.36, allocations: 2.233 MB / 5.119 GB, free: 305.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/12.36, allocations: 8 kB / 5.119 GB, free: 305.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005809/12.36, allocations: 241.4 kB / 5.119 GB, free: 305.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/12.36, allocations: 79.89 kB / 5.119 GB, free: 305 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008601/12.36, allocations: 0.9981 MB / 5.12 GB, free: 304 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/12.36, allocations: 103.8 kB / 5.12 GB, free: 303.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.481e-05/12.36, allocations: 28 kB / 5.12 GB, free: 303.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/12.36, allocations: 4 kB / 5.12 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001291/12.36, allocations: 0.7831 MB / 5.121 GB, free: 303 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/12.36, allocations: 7.938 kB / 5.121 GB, free: 303 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005451/12.36, allocations: 230.4 kB / 5.121 GB, free: 302.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/12.36, allocations: 75.89 kB / 5.121 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003116/12.37, allocations: 2.943 MB / 5.124 GB, free: 299.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/12.37, allocations: 107.8 kB / 5.124 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.169e-05/12.37, allocations: 24 kB / 5.124 GB, free: 299.5 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 (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.0006989/12.37, allocations: 476.9 kB / 5.125 GB, free: 299 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/12.37, allocations: 110.7 kB / 5.125 GB, free: 298.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/12.37, allocations: 0.785 MB / 5.126 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/12.37, allocations: 8 kB / 5.126 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/12.37, allocations: 4 kB / 5.126 GB, free: 298.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/12.37, allocations: 7.891 kB / 5.126 GB, free: 298.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.003167/12.37, allocations: 2.145 MB / 5.128 GB, free: 295.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/12.37, allocations: 0 / 5.128 GB, free: 295.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/12.37, allocations: 55.89 kB / 5.128 GB, free: 295.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003552/12.37, allocations: 188.5 kB / 5.128 GB, free: 295.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/12.37, allocations: 8.25 kB / 5.128 GB, free: 295.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005705/12.37, allocations: 0.8457 MB / 5.129 GB, free: 294.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/12.37, allocations: 4.031 kB / 5.129 GB, free: 294.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/12.38, allocations: 0.9782 MB / 5.13 GB, free: 293.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005515/12.38, allocations: 231.7 kB / 5.13 GB, free: 293.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/12.38, allocations: 12 kB / 5.13 GB, free: 293.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007809/12.38, allocations: 75.75 kB / 5.13 GB, free: 293.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/12.38, allocations: 39.89 kB / 5.13 GB, free: 293.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/12.38, allocations: 20 kB / 5.13 GB, free: 293.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001016/12.38, allocations: 0.8209 MB / 5.131 GB, free: 292.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/12.38, allocations: 0 / 5.131 GB, free: 292.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002132/12.38, allocations: 0.6011 MB / 5.132 GB, free: 291.8 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 (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.001848/12.38, allocations: 1.074 MB / 5.133 GB, free: 290.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001992/12.38, allocations: 1.131 MB / 5.134 GB, free: 289.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/12.38, allocations: 448 / 5.134 GB, free: 289.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004233/12.38, allocations: 267.6 kB / 5.134 GB, free: 289.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00328/12.39, allocations: 0.6422 MB / 5.135 GB, free: 288.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/12.39, allocations: 2.101 MB / 5.137 GB, free: 286.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000722/12.39, allocations: 1.233 MB / 5.138 GB, free: 285.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001247/12.39, allocations: 392.6 kB / 5.138 GB, free: 285 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/12.39, allocations: 71.44 kB / 5.138 GB, free: 285 MB / 1.167 GB Notification: Performance of SimCode: time 1.804e-06/12.39, allocations: 0 / 5.138 GB, free: 285 MB / 1.167 GB Notification: Performance of Templates: time 0.04631/12.44, allocations: 33.37 MB / 5.171 GB, free: 251.9 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches