Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,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.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,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.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.515/1.515, allocations: 249.5 MB / 257 MB, free: 7.008 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.001191/0.001191, allocations: 184.8 kB / 316.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0009576/0.0009573, allocations: 103.6 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.9e-05/1.916e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2564, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.956/6.213, allocations: 2.185 GB / 3.07 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/6.213, allocations: 86.58 kB / 3.07 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.632/11.85, allocations: 1.717 GB / 4.787 GB, free: 127 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.563e-06/11.85, allocations: 0 / 4.787 GB, free: 127 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001711/11.85, allocations: 31.98 kB / 4.787 GB, free: 127 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002708/11.85, allocations: 1.156 MB / 4.788 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/11.85, allocations: 8.031 kB / 4.788 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/11.85, allocations: 178.5 kB / 4.788 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002477/11.85, allocations: 1.116 MB / 4.79 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/11.85, allocations: 16 kB / 4.79 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/11.85, allocations: 36 kB / 4.79 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007186/11.85, allocations: 470.3 kB / 4.79 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000813/11.85, allocations: 0.6737 MB / 4.791 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/11.85, allocations: 7.938 kB / 4.791 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/11.85, allocations: 0 / 4.791 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/11.85, allocations: 16 kB / 4.791 GB, free: 123.2 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.003493/11.86, allocations: 4.473 MB / 4.795 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/11.86, allocations: 442.4 kB / 4.795 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/11.86, allocations: 239.9 kB / 4.796 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002576/11.86, allocations: 190.2 kB / 4.796 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003278/11.86, allocations: 264.1 kB / 4.796 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/11.86, allocations: 4 kB / 4.796 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001638/11.86, allocations: 0.7632 MB / 4.797 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/11.86, allocations: 81.11 kB / 4.797 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008754/11.86, allocations: 0.8521 MB / 4.798 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.063e-05/11.86, allocations: 29.7 kB / 4.798 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/11.86, allocations: 488.2 kB / 4.798 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.708e-05/11.86, allocations: 110.8 kB / 4.798 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.009e-05/11.86, allocations: 3.938 kB / 4.798 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.602e-05/11.86, allocations: 322 kB / 4.799 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/11.86, allocations: 176.8 kB / 4.799 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/11.86, allocations: 499.9 kB / 4.799 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/11.86, allocations: 265.8 kB / 4.8 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/11.86, allocations: 0 / 4.8 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001403/11.86, allocations: 0.8871 MB / 4.8 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005871/11.86, allocations: 2.13 MB / 4.803 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/11.86, allocations: 8 kB / 4.803 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003896/11.86, allocations: 227.2 kB / 4.803 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/11.87, allocations: 63.84 kB / 4.803 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008889/11.87, allocations: 1.103 MB / 4.804 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008791/11.87, allocations: 91.47 kB / 4.804 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.526e-05/11.87, allocations: 27.98 kB / 4.804 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/11.87, allocations: 4 kB / 4.804 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009993/11.87, allocations: 0.5857 MB / 4.805 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/11.87, allocations: 11.95 kB / 4.805 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000425/11.87, allocations: 197.3 kB / 4.805 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/11.87, allocations: 63.91 kB / 4.805 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00293/11.87, allocations: 2.962 MB / 4.808 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007457/11.87, allocations: 83.67 kB / 4.808 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/11.87, allocations: 24 kB / 4.808 GB, free: 104.6 MB / 0.8698 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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.0001862/11.87, allocations: 124.8 kB / 4.808 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/11.87, allocations: 98.88 kB / 4.808 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009801/11.87, allocations: 0.6472 MB / 4.809 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/11.87, allocations: 4.188 kB / 4.809 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/11.87, allocations: 0 / 4.809 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/11.87, allocations: 3.984 kB / 4.809 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/11.88, allocations: 1.478 MB / 4.81 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/11.88, allocations: 0 / 4.81 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/11.88, allocations: 27.92 kB / 4.81 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000266/11.88, allocations: 188.8 kB / 4.81 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/11.88, allocations: 4 kB / 4.81 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006396/11.88, allocations: 0.9872 MB / 4.811 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/11.88, allocations: 7.969 kB / 4.811 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008103/11.88, allocations: 0.838 MB / 4.812 GB, free: 100 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003083/11.88, allocations: 211.8 kB / 4.812 GB, free: 99.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/11.88, allocations: 11.94 kB / 4.812 GB, free: 99.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005262/11.88, allocations: 55.8 kB / 4.812 GB, free: 99.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.428e-05/11.88, allocations: 31.89 kB / 4.812 GB, free: 99.67 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.132e-05/11.88, allocations: 12 kB / 4.812 GB, free: 99.66 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006884/11.88, allocations: 0.6652 MB / 4.813 GB, free: 98.98 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/11.88, allocations: 4 kB / 4.813 GB, free: 98.98 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001508/11.88, allocations: 487.4 kB / 4.814 GB, free: 98.5 MB / 0.8698 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001519/11.88, allocations: 1.091 MB / 4.815 GB, free: 97.41 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001391/11.88, allocations: 0.9855 MB / 4.816 GB, free: 96.39 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/11.88, allocations: 0 / 4.816 GB, free: 96.39 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00033/11.88, allocations: 198.6 kB / 4.816 GB, free: 96.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/11.89, allocations: 402.6 kB / 4.816 GB, free: 95.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/11.89, allocations: 1.332 MB / 4.817 GB, free: 94.42 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006232/11.89, allocations: 1.209 MB / 4.819 GB, free: 93.18 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001556/11.89, allocations: 0.651 MB / 4.819 GB, free: 92.52 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/11.89, allocations: 39.44 kB / 4.819 GB, free: 92.48 MB / 0.8698 GB Notification: Performance of SimCode: time 3.7e-07/11.89, allocations: 0 / 4.819 GB, free: 92.48 MB / 0.8698 GB Notification: Performance of Templates: time 0.0337/11.92, allocations: 22.38 MB / 4.841 GB, free: 70.23 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches