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.428/2.428, allocations: 390.5 MB / 398 MB, free: 10.94 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.001289/0.00129, allocations: 175.2 kB / 491.2 MB, free: 1.578 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.706/1.706, allocations: 221.5 MB / 0.7868 GB, free: 13.35 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.001072/0.001072, allocations: 95.84 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.129e-05/2.131e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3177, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.869/6.187, allocations: 1.869 GB / 3.082 GB, free: 360.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/6.187, allocations: 91.38 kB / 3.082 GB, free: 360.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.516/13.7, allocations: 1.976 GB / 5.058 GB, free: 192.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.605e-06/13.7, allocations: 0 / 5.058 GB, free: 192.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002951/13.7, allocations: 31.98 kB / 5.058 GB, free: 192.2 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.00613/13.71, allocations: 1.279 MB / 5.059 GB, free: 190.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.762e-05/13.71, allocations: 16.02 kB / 5.059 GB, free: 190.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/13.71, allocations: 205.8 kB / 5.059 GB, free: 190.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005101/13.72, allocations: 1.418 MB / 5.061 GB, free: 189.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.509e-05/13.72, allocations: 20 kB / 5.061 GB, free: 189.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002905/13.72, allocations: 40 kB / 5.061 GB, free: 189.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001412/13.72, allocations: 0.6975 MB / 5.061 GB, free: 188.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/13.72, allocations: 0.8493 MB / 5.062 GB, free: 187.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/13.72, allocations: 11.89 kB / 5.062 GB, free: 187.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/13.72, allocations: 0 / 5.062 GB, free: 187.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/13.72, allocations: 16 kB / 5.062 GB, free: 187.4 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.005587/13.73, allocations: 4.604 MB / 5.067 GB, free: 182.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/13.73, allocations: 4.068 MB / 5.071 GB, free: 177.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004401/13.73, allocations: 344.7 kB / 5.071 GB, free: 177.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003415/13.73, allocations: 194.2 kB / 5.071 GB, free: 177.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004042/13.73, allocations: 292 kB / 5.071 GB, free: 176.8 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005969/13.73, allocations: 23.72 kB / 5.071 GB, free: 176.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 4.729e-06/13.73, allocations: 0 / 5.071 GB, free: 176.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=36): time 0.002106/13.73, allocations: 0.8205 MB / 5.072 GB, free: 175.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/13.73, allocations: 85.11 kB / 5.072 GB, free: 175.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/13.73, allocations: 0.8907 MB / 5.073 GB, free: 174.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.92e-05/13.73, allocations: 29.7 kB / 5.073 GB, free: 174.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004466/13.73, allocations: 0.5277 MB / 5.074 GB, free: 174.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/13.73, allocations: 122.1 kB / 5.074 GB, free: 174.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/13.73, allocations: 0 / 5.074 GB, free: 174.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.625e-05/13.73, allocations: 326 kB / 5.074 GB, free: 173.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/13.74, allocations: 212.9 kB / 5.074 GB, free: 173.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004874/13.74, allocations: 0.5316 MB / 5.075 GB, free: 173 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/13.74, allocations: 297.8 kB / 5.075 GB, free: 172.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/13.74, allocations: 0 / 5.075 GB, free: 172.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001748/13.74, allocations: 0.9533 MB / 5.076 GB, free: 171.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008105/13.74, allocations: 2.217 MB / 5.078 GB, free: 169.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/13.74, allocations: 8 kB / 5.078 GB, free: 169.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004641/13.74, allocations: 229.8 kB / 5.079 GB, free: 169.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/13.74, allocations: 76.77 kB / 5.079 GB, free: 169 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/13.74, allocations: 1.111 MB / 5.08 GB, free: 167.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/13.74, allocations: 83.81 kB / 5.08 GB, free: 167.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.077e-05/13.74, allocations: 31.98 kB / 5.08 GB, free: 167.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/13.74, allocations: 9.047 kB / 5.08 GB, free: 167.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001057/13.74, allocations: 0.6492 MB / 5.08 GB, free: 167.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/13.74, allocations: 8 kB / 5.08 GB, free: 167.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005072/13.74, allocations: 205.7 kB / 5.081 GB, free: 166.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/13.74, allocations: 75.89 kB / 5.081 GB, free: 166.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003757/13.75, allocations: 2.786 MB / 5.083 GB, free: 163.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/13.75, allocations: 91.8 kB / 5.084 GB, free: 163.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.466e-05/13.75, allocations: 24 kB / 5.084 GB, free: 163.8 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.0002739/13.75, allocations: 133.9 kB / 5.084 GB, free: 163.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/13.75, allocations: 98.78 kB / 5.084 GB, free: 163.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/13.75, allocations: 0.7186 MB / 5.084 GB, free: 162.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/13.75, allocations: 4 kB / 5.084 GB, free: 162.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/13.75, allocations: 0 / 5.084 GB, free: 162.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/13.75, allocations: 3.984 kB / 5.084 GB, free: 162.9 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.003681/13.75, allocations: 2.002 MB / 5.086 GB, free: 160.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/13.75, allocations: 0 / 5.086 GB, free: 160.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/13.76, allocations: 55.91 kB / 5.086 GB, free: 160.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002615/13.76, allocations: 132.7 kB / 5.087 GB, free: 160.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/13.76, allocations: 8.25 kB / 5.087 GB, free: 160.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007188/13.76, allocations: 0.8682 MB / 5.087 GB, free: 159.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/13.76, allocations: 7.953 kB / 5.087 GB, free: 159.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/13.76, allocations: 0.8895 MB / 5.088 GB, free: 158.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000669/13.76, allocations: 231.7 kB / 5.089 GB, free: 158.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000305/13.76, allocations: 11.98 kB / 5.089 GB, free: 158.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/13.76, allocations: 67.77 kB / 5.089 GB, free: 158.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/13.76, allocations: 35.91 kB / 5.089 GB, free: 158.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/13.76, allocations: 15.98 kB / 5.089 GB, free: 158.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001284/13.76, allocations: 0.6984 MB / 5.089 GB, free: 157.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.112e-06/13.76, allocations: 4 kB / 5.089 GB, free: 157.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002713/13.76, allocations: 0.5657 MB / 5.09 GB, free: 157 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.002844/13.77, allocations: 1.207 MB / 5.091 GB, free: 155.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002317/13.77, allocations: 1.076 MB / 5.092 GB, free: 154.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/13.77, allocations: 1.25 kB / 5.092 GB, free: 154.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003658/13.77, allocations: 224.1 kB / 5.092 GB, free: 154.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003553/13.77, allocations: 0.5898 MB / 5.093 GB, free: 153.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/13.78, allocations: 1.42 MB / 5.094 GB, free: 152.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000886/13.78, allocations: 1.23 MB / 5.096 GB, free: 151.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002158/13.78, allocations: 0.7337 MB / 5.096 GB, free: 150.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/13.78, allocations: 47.44 kB / 5.096 GB, free: 150.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.262e-06/13.78, allocations: 0 / 5.096 GB, free: 150.3 MB / 1.151 GB Notification: Performance of Templates: time 0.04334/13.82, allocations: 25.28 MB / 5.121 GB, free: 125.3 MB / 1.151 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