Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,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.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,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.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.484/1.484, allocations: 249.3 MB / 261.8 MB, free: 5.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 178.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.000917/0.0009172, allocations: 90.47 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.662e-05/3.665e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2265, allocations: 106.3 MB / 0.8918 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.356/6.582, allocations: 2.184 GB / 3.076 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/6.582, allocations: 91.94 kB / 3.076 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.374/13.96, allocations: 1.921 GB / 4.998 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.033e-06/13.96, allocations: 3.906 kB / 4.998 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002178/13.96, allocations: 34.5 kB / 4.998 GB, free: 208.5 MB / 0.8698 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.005081/13.96, allocations: 1.269 MB / 4.999 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/13.96, allocations: 9.688 kB / 4.999 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/13.96, allocations: 203.9 kB / 4.999 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004722/13.97, allocations: 1.45 MB / 5.001 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.919e-05/13.97, allocations: 61.03 kB / 5.001 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/13.97, allocations: 64.12 kB / 5.001 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/13.97, allocations: 0.923 MB / 5.002 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/13.97, allocations: 3.609 kB / 5.002 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.401e-05/13.97, allocations: 23.81 kB / 5.002 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/13.97, allocations: 15.75 kB / 5.002 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/13.97, allocations: 0.7008 MB / 5.002 GB, free: 206.4 MB / 0.8698 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.005103/13.98, allocations: 4.702 MB / 5.007 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/13.98, allocations: 3.971 MB / 5.011 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004059/13.98, allocations: 330.8 kB / 5.011 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003011/13.98, allocations: 199.5 kB / 5.011 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004133/13.98, allocations: 310.1 kB / 5.012 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000628/13.98, allocations: 32.02 kB / 5.012 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 5.851e-06/13.98, allocations: 0 / 5.012 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.001604/13.98, allocations: 0.7482 MB / 5.012 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/13.98, allocations: 82.89 kB / 5.012 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/13.98, allocations: 1.036 MB / 5.013 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.545e-05/13.98, allocations: 41.45 kB / 5.014 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004303/13.98, allocations: 0.5155 MB / 5.014 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/13.98, allocations: 130.7 kB / 5.014 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/13.98, allocations: 11.81 kB / 5.014 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.224e-05/13.98, allocations: 331.6 kB / 5.014 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/13.98, allocations: 187 kB / 5.015 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/13.99, allocations: 0.5267 MB / 5.015 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/13.99, allocations: 321.4 kB / 5.015 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/13.99, allocations: 0 / 5.015 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001736/13.99, allocations: 0.9586 MB / 5.016 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007121/13.99, allocations: 2.232 MB / 5.019 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/13.99, allocations: 7.781 kB / 5.019 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000663/13.99, allocations: 271.8 kB / 5.019 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/13.99, allocations: 68.52 kB / 5.019 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009702/13.99, allocations: 1.038 MB / 5.02 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/13.99, allocations: 106.4 kB / 5.02 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.819e-05/13.99, allocations: 39.16 kB / 5.02 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/13.99, allocations: 3.938 kB / 5.02 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001239/13.99, allocations: 0.7597 MB / 5.021 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/13.99, allocations: 7.844 kB / 5.021 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005804/13.99, allocations: 258 kB / 5.021 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/13.99, allocations: 77.06 kB / 5.021 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003406/14, allocations: 3.06 MB / 5.024 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/14, allocations: 110.6 kB / 5.024 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.679e-05/14, allocations: 27.7 kB / 5.024 GB, free: 189.9 MB / 0.8698 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 (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.0002374/14, allocations: 147.1 kB / 5.024 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/14, allocations: 111.6 kB / 5.025 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/14, allocations: 0.7666 MB / 5.025 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/14, allocations: 3.875 kB / 5.025 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/14, allocations: 6.906 kB / 5.025 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/14, allocations: 7.75 kB / 5.025 GB, free: 189.4 MB / 0.8698 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.003203/14, allocations: 2.163 MB / 5.027 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/14, allocations: 3.594 kB / 5.027 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/14, allocations: 40.94 kB / 5.027 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004288/14, allocations: 217.8 kB / 5.028 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/14, allocations: 11.16 kB / 5.028 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006235/14.01, allocations: 0.8763 MB / 5.029 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/14.01, allocations: 3.938 kB / 5.029 GB, free: 187.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/14.01, allocations: 0.9532 MB / 5.029 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000708/14.01, allocations: 235.5 kB / 5.03 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002905/14.01, allocations: 7.938 kB / 5.03 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009254/14.01, allocations: 88.22 kB / 5.03 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/14.01, allocations: 31.81 kB / 5.03 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/14.01, allocations: 14.88 kB / 5.03 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001312/14.01, allocations: 0.8167 MB / 5.031 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.2e-07/14.01, allocations: 0 / 5.031 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002564/14.01, allocations: 0.6019 MB / 5.031 GB, free: 186.3 MB / 0.8698 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 (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.002116/14.01, allocations: 1.126 MB / 5.032 GB, free: 186 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00204/14.02, allocations: 1.124 MB / 5.033 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/14.02, allocations: 0 / 5.033 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004178/14.02, allocations: 248 kB / 5.034 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003645/14.02, allocations: 0.6553 MB / 5.034 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/14.02, allocations: 1.461 MB / 5.036 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007743/14.02, allocations: 1.235 MB / 5.037 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002324/14.03, allocations: 0.805 MB / 5.038 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/14.03, allocations: 45.28 kB / 5.038 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of SimCode: time 7.71e-07/14.03, allocations: 3.469 kB / 5.038 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.05492/14.08, allocations: 39.38 MB / 5.076 GB, free: 150.4 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches