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.419/2.419, allocations: 390.3 MB / 402.8 MB, free: 6.727 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.001125/0.001125, allocations: 180.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.0009867/0.0009867, allocations: 87.94 kB / 0.9318 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.741e-05/3.743e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3047, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.781/6.086, allocations: 1.87 GB / 3.089 GB, free: 436.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/6.086, allocations: 89.84 kB / 3.089 GB, free: 436.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.726/13.81, allocations: 1.996 GB / 5.085 GB, free: 241 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.916e-06/13.81, allocations: 0 / 5.085 GB, free: 241 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001469/13.81, allocations: 35.98 kB / 5.085 GB, free: 241 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.004821/13.82, allocations: 1.275 MB / 5.086 GB, free: 239.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/13.82, allocations: 12.03 kB / 5.086 GB, free: 239.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/13.82, allocations: 198.4 kB / 5.087 GB, free: 239.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003932/13.82, allocations: 1.429 MB / 5.088 GB, free: 238 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/13.82, allocations: 49.31 kB / 5.088 GB, free: 237.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/13.82, allocations: 60 kB / 5.088 GB, free: 237.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/13.82, allocations: 0.9215 MB / 5.089 GB, free: 236.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/13.82, allocations: 7.938 kB / 5.089 GB, free: 236.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-05/13.82, allocations: 28 kB / 5.089 GB, free: 236.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/13.82, allocations: 15.98 kB / 5.089 GB, free: 236.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009969/13.83, allocations: 0.7064 MB / 5.09 GB, free: 236.1 MB / 1.167 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.00562/13.83, allocations: 4.734 MB / 5.094 GB, free: 231 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/13.83, allocations: 4.024 MB / 5.098 GB, free: 226.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003917/13.83, allocations: 325.9 kB / 5.099 GB, free: 225.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003505/13.83, allocations: 204 kB / 5.099 GB, free: 225.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000465/13.83, allocations: 309.1 kB / 5.099 GB, free: 225.3 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007475/13.84, allocations: 31.69 kB / 5.099 GB, free: 225.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 4.338e-06/13.84, allocations: 0 / 5.099 GB, free: 225.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.001453/13.84, allocations: 0.7313 MB / 5.1 GB, free: 224.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/13.84, allocations: 93.03 kB / 5.1 GB, free: 224.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/13.84, allocations: 1.024 MB / 5.101 GB, free: 223.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/13.84, allocations: 41.7 kB / 5.101 GB, free: 223.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004142/13.84, allocations: 0.5127 MB / 5.102 GB, free: 222.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.658e-05/13.84, allocations: 126.3 kB / 5.102 GB, free: 222.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/13.84, allocations: 8 kB / 5.102 GB, free: 222.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001045/13.84, allocations: 330 kB / 5.102 GB, free: 222.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/13.84, allocations: 185 kB / 5.102 GB, free: 222.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/13.84, allocations: 0.5249 MB / 5.103 GB, free: 221.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/13.84, allocations: 303.1 kB / 5.103 GB, free: 221.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/13.84, allocations: 3.938 kB / 5.103 GB, free: 221.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001402/13.84, allocations: 0.9476 MB / 5.104 GB, free: 220.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001059/13.84, allocations: 2.225 MB / 5.106 GB, free: 217.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/13.84, allocations: 8 kB / 5.106 GB, free: 217.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006059/13.84, allocations: 241.5 kB / 5.106 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003283/13.84, allocations: 71.91 kB / 5.106 GB, free: 217.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009397/13.84, allocations: 0.9999 MB / 5.107 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/13.85, allocations: 103.8 kB / 5.107 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.895e-05/13.85, allocations: 24 kB / 5.107 GB, free: 216.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/13.85, allocations: 5.562 kB / 5.107 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001085/13.85, allocations: 0.7515 MB / 5.108 GB, free: 215.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/13.85, allocations: 8 kB / 5.108 GB, free: 215.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004962/13.85, allocations: 221.2 kB / 5.108 GB, free: 215.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/13.85, allocations: 79.89 kB / 5.108 GB, free: 215.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/13.85, allocations: 2.872 MB / 5.111 GB, free: 212.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/13.85, allocations: 107.7 kB / 5.111 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.908e-05/13.85, allocations: 27.98 kB / 5.111 GB, free: 212.2 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 () * 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.0002189/13.85, allocations: 145.1 kB / 5.112 GB, free: 212 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/13.85, allocations: 106.7 kB / 5.112 GB, free: 211.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/13.85, allocations: 0.7477 MB / 5.112 GB, free: 211.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/13.85, allocations: 8 kB / 5.112 GB, free: 211.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/13.85, allocations: 4 kB / 5.112 GB, free: 211.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/13.85, allocations: 0 / 5.112 GB, free: 211.1 MB / 1.167 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.002517/13.86, allocations: 2.101 MB / 5.114 GB, free: 208.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/13.86, allocations: 8.25 kB / 5.114 GB, free: 208.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/13.86, allocations: 59.91 kB / 5.115 GB, free: 208.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003503/13.86, allocations: 172.6 kB / 5.115 GB, free: 208.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/13.86, allocations: 15.92 kB / 5.115 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005839/13.86, allocations: 0.845 MB / 5.116 GB, free: 207.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/13.86, allocations: 8.016 kB / 5.116 GB, free: 207.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009466/13.86, allocations: 0.9197 MB / 5.116 GB, free: 206.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004325/13.86, allocations: 235.7 kB / 5.117 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/13.86, allocations: 11.98 kB / 5.117 GB, free: 206.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006701/13.86, allocations: 71.77 kB / 5.117 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-05/13.86, allocations: 47.84 kB / 5.117 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/13.86, allocations: 12 kB / 5.117 GB, free: 206.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009556/13.86, allocations: 0.8181 MB / 5.118 GB, free: 205.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/13.86, allocations: 0 / 5.118 GB, free: 205.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001969/13.86, allocations: 0.605 MB / 5.118 GB, free: 204.9 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) * 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.001681/13.86, allocations: 1.06 MB / 5.119 GB, free: 203.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001802/13.87, allocations: 1.107 MB / 5.12 GB, free: 202.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/13.87, allocations: 3.938 kB / 5.12 GB, free: 202.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003333/13.87, allocations: 231.8 kB / 5.121 GB, free: 202.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/13.87, allocations: 0.6496 MB / 5.121 GB, free: 201.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/13.87, allocations: 1.458 MB / 5.123 GB, free: 200.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005893/13.87, allocations: 1.235 MB / 5.124 GB, free: 199.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001939/13.88, allocations: 0.8162 MB / 5.125 GB, free: 198.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.434e-05/13.88, allocations: 47.44 kB / 5.125 GB, free: 198.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.764e-06/13.88, allocations: 0 / 5.125 GB, free: 198.2 MB / 1.167 GB Notification: Performance of Templates: time 0.05378/13.93, allocations: 38.32 MB / 5.162 GB, free: 160.1 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