Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.363/2.363, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001821/0.001821, allocations: 183.2 kB / 0.4902 GB, free: 2.219 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.7/1.7, allocations: 223.2 MB / 0.7992 GB, free: 14.75 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.001051/0.001051, allocations: 104.1 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005562/0.0005562, allocations: 15.95 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.392, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.962/5.354, allocations: 1.873 GB / 3.102 GB, free: 116.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/5.355, allocations: 96.5 kB / 3.102 GB, free: 116.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.22/12.58, allocations: 2.008 GB / 5.11 GB, free: 341.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.104e-06/12.58, allocations: 0 / 5.11 GB, free: 341.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001067/12.58, allocations: 30.8 kB / 5.11 GB, free: 341.9 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.005025/12.58, allocations: 1.583 MB / 5.112 GB, free: 340.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/12.58, allocations: 8.609 kB / 5.112 GB, free: 340.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/12.58, allocations: 198.5 kB / 5.112 GB, free: 340.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003851/12.59, allocations: 1.468 MB / 5.113 GB, free: 340 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/12.59, allocations: 48.03 kB / 5.113 GB, free: 339.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/12.59, allocations: 71.83 kB / 5.113 GB, free: 339.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/12.59, allocations: 0.9497 MB / 5.114 GB, free: 339.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/12.59, allocations: 3.938 kB / 5.114 GB, free: 339.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.22e-05/12.59, allocations: 23.69 kB / 5.114 GB, free: 339.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/12.59, allocations: 15.72 kB / 5.114 GB, free: 339.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/12.59, allocations: 0.7549 MB / 5.115 GB, free: 338.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.004259/12.59, allocations: 4.698 MB / 5.12 GB, free: 334.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/12.59, allocations: 4.012 MB / 5.124 GB, free: 330.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/12.59, allocations: 201.8 kB / 5.124 GB, free: 330 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004792/12.59, allocations: 330.8 kB / 5.124 GB, free: 329.8 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005041/12.6, allocations: 30.41 kB / 5.124 GB, free: 329.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 2.926e-06/12.6, allocations: 0 / 5.124 GB, free: 329.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.003426/12.6, allocations: 1.413 MB / 5.126 GB, free: 329.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/12.6, allocations: 79.89 kB / 5.126 GB, free: 329 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/12.6, allocations: 1.047 MB / 5.127 GB, free: 328.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/12.6, allocations: 37.05 kB / 5.127 GB, free: 328.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/12.6, allocations: 0.5182 MB / 5.127 GB, free: 327.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.917e-05/12.6, allocations: 127.1 kB / 5.127 GB, free: 327.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/12.6, allocations: 8 kB / 5.127 GB, free: 327.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.525e-05/12.6, allocations: 333.1 kB / 5.128 GB, free: 327.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/12.6, allocations: 212.7 kB / 5.128 GB, free: 327.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004951/12.6, allocations: 0.552 MB / 5.128 GB, free: 326.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004127/12.6, allocations: 327.9 kB / 5.129 GB, free: 326.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/12.6, allocations: 3.75 kB / 5.129 GB, free: 326.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00149/12.6, allocations: 0.9999 MB / 5.13 GB, free: 325.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005544/12.6, allocations: 2.236 MB / 5.132 GB, free: 323.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/12.6, allocations: 7.312 kB / 5.132 GB, free: 323.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005742/12.6, allocations: 265.9 kB / 5.132 GB, free: 323.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/12.6, allocations: 75.83 kB / 5.132 GB, free: 323.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008734/12.61, allocations: 1.053 MB / 5.133 GB, free: 322 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/12.61, allocations: 99.45 kB / 5.133 GB, free: 321.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/12.61, allocations: 31.98 kB / 5.133 GB, free: 321.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/12.61, allocations: 4 kB / 5.133 GB, free: 321.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001337/12.61, allocations: 0.8211 MB / 5.134 GB, free: 321.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/12.61, allocations: 4 kB / 5.134 GB, free: 321.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005748/12.61, allocations: 265.3 kB / 5.134 GB, free: 320.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/12.61, allocations: 71.89 kB / 5.134 GB, free: 320.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003224/12.61, allocations: 3.143 MB / 5.138 GB, free: 317.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/12.61, allocations: 97.88 kB / 5.138 GB, free: 317.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/12.61, allocations: 31.98 kB / 5.138 GB, free: 317.4 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.0009776/12.61, allocations: 483.5 kB / 5.138 GB, free: 316.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/12.61, allocations: 106.7 kB / 5.138 GB, free: 316.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/12.62, allocations: 0.8204 MB / 5.139 GB, free: 315.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/12.62, allocations: 7.953 kB / 5.139 GB, free: 315.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/12.62, allocations: 0 / 5.139 GB, free: 315.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/12.62, allocations: 0 / 5.139 GB, free: 315.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 postOpt removeSimpleEquations (simulation): time 0.003431/12.62, allocations: 2.189 MB / 5.141 GB, free: 313.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/12.62, allocations: 0 / 5.141 GB, free: 313.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/12.62, allocations: 51.89 kB / 5.141 GB, free: 313.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004289/12.62, allocations: 205.8 kB / 5.141 GB, free: 313.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/12.62, allocations: 15.98 kB / 5.141 GB, free: 313.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006125/12.62, allocations: 0.8718 MB / 5.142 GB, free: 312.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/12.62, allocations: 4.031 kB / 5.142 GB, free: 312.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/12.62, allocations: 1.004 MB / 5.143 GB, free: 311.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005458/12.62, allocations: 238.7 kB / 5.143 GB, free: 311.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/12.62, allocations: 15.94 kB / 5.144 GB, free: 311.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007001/12.62, allocations: 85.84 kB / 5.144 GB, free: 311.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.981e-05/12.62, allocations: 27.95 kB / 5.144 GB, free: 311 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/12.62, allocations: 16 kB / 5.144 GB, free: 311 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009547/12.62, allocations: 0.8289 MB / 5.144 GB, free: 310.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/12.62, allocations: 0 / 5.144 GB, free: 310.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00186/12.63, allocations: 0.605 MB / 5.145 GB, free: 309.6 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.001654/12.63, allocations: 1.134 MB / 5.146 GB, free: 308.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001922/12.63, allocations: 1.154 MB / 5.147 GB, free: 307.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/12.63, allocations: 3.938 kB / 5.147 GB, free: 307.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004404/12.63, allocations: 268 kB / 5.148 GB, free: 307.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003181/12.63, allocations: 0.6476 MB / 5.148 GB, free: 306.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/12.64, allocations: 2.099 MB / 5.15 GB, free: 304.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000529/12.64, allocations: 1.236 MB / 5.151 GB, free: 303.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001113/12.64, allocations: 380 kB / 5.152 GB, free: 302.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/12.64, allocations: 71.42 kB / 5.152 GB, free: 302.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.342e-06/12.64, allocations: 0 / 5.152 GB, free: 302.7 MB / 1.167 GB Notification: Performance of Templates: time 0.04476/12.68, allocations: 34.35 MB / 5.185 GB, free: 268.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches