Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 188.2 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 90.3 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003677, allocations: 11.12 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3111, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.268/6.579, allocations: 2.182 GB / 3.082 GB, free: 247.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/6.579, allocations: 93.52 kB / 3.082 GB, free: 247.4 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.23/12.81, allocations: 1.727 GB / 4.809 GB, free: 264 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.793e-06/12.81, allocations: 3.719 kB / 4.809 GB, free: 264 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001887/12.81, allocations: 30.45 kB / 4.809 GB, free: 264 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.005589/12.82, allocations: 1.509 MB / 4.811 GB, free: 263.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/12.82, allocations: 10.78 kB / 4.811 GB, free: 263.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/12.82, allocations: 186.8 kB / 4.811 GB, free: 263.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004107/12.82, allocations: 1.398 MB / 4.812 GB, free: 263.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.068e-05/12.82, allocations: 41.25 kB / 4.812 GB, free: 263.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/12.82, allocations: 63.06 kB / 4.813 GB, free: 263.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/12.82, allocations: 0.7873 MB / 4.813 GB, free: 262.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/12.82, allocations: 9.891 kB / 4.813 GB, free: 262.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.335e-05/12.82, allocations: 22.94 kB / 4.813 GB, free: 262.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/12.82, allocations: 15.16 kB / 4.813 GB, free: 262.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/12.82, allocations: 0.5397 MB / 4.814 GB, free: 262.9 MB / 0.8855 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.004886/12.83, allocations: 4.225 MB / 4.818 GB, free: 260 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007537/12.83, allocations: 449.1 kB / 4.818 GB, free: 260 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003223/12.83, allocations: 188.1 kB / 4.819 GB, free: 259.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004794/12.83, allocations: 322.7 kB / 4.819 GB, free: 259.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004858/12.83, allocations: 30.39 kB / 4.819 GB, free: 259.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 2.345e-06/12.83, allocations: 3.469 kB / 4.819 GB, free: 259.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.003345/12.83, allocations: 1.363 MB / 4.82 GB, free: 259.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/12.83, allocations: 89.17 kB / 4.82 GB, free: 259.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/12.84, allocations: 1.016 MB / 4.821 GB, free: 259.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-05/12.84, allocations: 48.47 kB / 4.821 GB, free: 259.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/12.84, allocations: 485.5 kB / 4.822 GB, free: 259.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.519e-05/12.84, allocations: 119.4 kB / 4.822 GB, free: 259.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/12.84, allocations: 7 kB / 4.822 GB, free: 259.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.112e-05/12.84, allocations: 329 kB / 4.822 GB, free: 258.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/12.84, allocations: 201 kB / 4.822 GB, free: 258.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/12.84, allocations: 0.522 MB / 4.823 GB, free: 258.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/12.84, allocations: 318.7 kB / 4.823 GB, free: 258.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/12.84, allocations: 3.938 kB / 4.823 GB, free: 258.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001476/12.84, allocations: 0.9638 MB / 4.824 GB, free: 258.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005306/12.84, allocations: 2.133 MB / 4.826 GB, free: 256 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/12.84, allocations: 7.562 kB / 4.826 GB, free: 256 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005564/12.84, allocations: 254.8 kB / 4.827 GB, free: 256 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/12.84, allocations: 71.08 kB / 4.827 GB, free: 256 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008776/12.84, allocations: 1.026 MB / 4.828 GB, free: 255.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/12.84, allocations: 92.11 kB / 4.828 GB, free: 255.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.937e-05/12.84, allocations: 31.66 kB / 4.828 GB, free: 255.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/12.84, allocations: 3.469 kB / 4.828 GB, free: 255.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001275/12.84, allocations: 0.7827 MB / 4.829 GB, free: 255.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/12.84, allocations: 6.469 kB / 4.829 GB, free: 255.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005407/12.84, allocations: 244.9 kB / 4.829 GB, free: 255.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/12.84, allocations: 68.86 kB / 4.829 GB, free: 255.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003341/12.85, allocations: 3.05 MB / 4.832 GB, free: 254 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/12.85, allocations: 93.94 kB / 4.832 GB, free: 254 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.649e-05/12.85, allocations: 21.94 kB / 4.832 GB, free: 254 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (35): * Single equations (assignments): 33 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0007365/12.85, allocations: 474.4 kB / 4.832 GB, free: 253.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/12.85, allocations: 101.8 kB / 4.832 GB, free: 253.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/12.85, allocations: 0.7786 MB / 4.833 GB, free: 253.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/12.85, allocations: 3.875 kB / 4.833 GB, free: 253.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/12.85, allocations: 3.938 kB / 4.833 GB, free: 253.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/12.85, allocations: 3.703 kB / 4.833 GB, free: 253.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/12.85, allocations: 1.723 MB / 4.835 GB, free: 253.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/12.85, allocations: 0 / 4.835 GB, free: 253.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/12.85, allocations: 31.08 kB / 4.835 GB, free: 253.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004685/12.85, allocations: 251.1 kB / 4.835 GB, free: 253.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/12.85, allocations: 7.812 kB / 4.835 GB, free: 253.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007949/12.86, allocations: 0.9942 MB / 4.836 GB, free: 252.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/12.86, allocations: 10.58 kB / 4.836 GB, free: 252.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/12.86, allocations: 0.9731 MB / 4.837 GB, free: 252.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005633/12.86, allocations: 230.1 kB / 4.837 GB, free: 252.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/12.86, allocations: 14.89 kB / 4.837 GB, free: 252.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007081/12.86, allocations: 57.09 kB / 4.837 GB, free: 252.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/12.86, allocations: 35.06 kB / 4.837 GB, free: 252.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/12.86, allocations: 10.31 kB / 4.837 GB, free: 252.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001158/12.86, allocations: 0.8146 MB / 4.838 GB, free: 252 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.01e-07/12.86, allocations: 0 / 4.838 GB, free: 252 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002156/12.86, allocations: 0.5335 MB / 4.839 GB, free: 252 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001857/12.86, allocations: 0.9136 MB / 4.84 GB, free: 251.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001923/12.87, allocations: 1.104 MB / 4.841 GB, free: 251.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/12.87, allocations: 7.438 kB / 4.841 GB, free: 251.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004251/12.87, allocations: 242.1 kB / 4.841 GB, free: 251.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/12.87, allocations: 0.6366 MB / 4.842 GB, free: 251.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/12.87, allocations: 1.988 MB / 4.844 GB, free: 250.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005547/12.87, allocations: 1.209 MB / 4.845 GB, free: 250 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009049/12.87, allocations: 318.2 kB / 4.845 GB, free: 250 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/12.87, allocations: 61.53 kB / 4.845 GB, free: 250 MB / 0.8855 GB Notification: Performance of SimCode: time 9.72e-07/12.87, allocations: 0 / 4.845 GB, free: 250 MB / 0.8855 GB Notification: Performance of Templates: time 0.04712/12.92, allocations: 31.41 MB / 4.876 GB, free: 245.5 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches