Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,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.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,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.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.501/1.501, allocations: 249.3 MB / 261.8 MB, free: 5.859 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.001362/0.001362, allocations: 184.8 kB / 321.3 MB, free: 14.66 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.889/1.889, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.001136/0.001135, allocations: 82.48 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.072e-05/4.075e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2453, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.033/6.279, allocations: 2.182 GB / 3.073 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/6.279, allocations: 94.69 kB / 3.074 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.03/12.31, allocations: 1.724 GB / 4.798 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.595e-06/12.31, allocations: 0 / 4.798 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000206/12.31, allocations: 27.98 kB / 4.798 GB, free: 106.6 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002867/12.31, allocations: 1.14 MB / 4.799 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/12.31, allocations: 12.03 kB / 4.799 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/12.31, allocations: 186.5 kB / 4.799 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/12.32, allocations: 1.077 MB / 4.8 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.442e-05/12.32, allocations: 41 kB / 4.8 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/12.32, allocations: 67.94 kB / 4.8 GB, free: 104 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/12.32, allocations: 0.7377 MB / 4.801 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/12.32, allocations: 11.92 kB / 4.801 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.82e-05/12.32, allocations: 16 kB / 4.801 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/12.32, allocations: 16 kB / 4.801 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006749/12.32, allocations: 478.6 kB / 4.801 GB, free: 102.7 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.003913/12.32, allocations: 4.598 MB / 4.806 GB, free: 97.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004736/12.32, allocations: 380 kB / 4.806 GB, free: 97.31 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/12.32, allocations: 230.3 kB / 4.806 GB, free: 97.09 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002778/12.32, allocations: 194.2 kB / 4.807 GB, free: 96.86 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003409/12.32, allocations: 271.5 kB / 4.807 GB, free: 96.57 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 1.884e-06/12.32, allocations: 0 / 4.807 GB, free: 96.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.0009161/12.33, allocations: 465.5 kB / 4.807 GB, free: 96.12 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/12.33, allocations: 81.11 kB / 4.807 GB, free: 96.02 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/12.33, allocations: 0.9724 MB / 4.808 GB, free: 95.03 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/12.33, allocations: 37.7 kB / 4.808 GB, free: 94.98 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/12.33, allocations: 492.5 kB / 4.809 GB, free: 94.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.4e-05/12.33, allocations: 114.5 kB / 4.809 GB, free: 94.38 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/12.33, allocations: 8 kB / 4.809 GB, free: 94.38 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.286e-05/12.33, allocations: 322 kB / 4.809 GB, free: 94.05 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/12.33, allocations: 168.8 kB / 4.809 GB, free: 93.89 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/12.33, allocations: 492.8 kB / 4.81 GB, free: 93.27 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/12.33, allocations: 275.5 kB / 4.81 GB, free: 92.99 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/12.33, allocations: 4 kB / 4.81 GB, free: 92.99 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008568/12.33, allocations: 0.6304 MB / 4.811 GB, free: 92.34 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004799/12.33, allocations: 2.136 MB / 4.813 GB, free: 90.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/12.33, allocations: 8 kB / 4.813 GB, free: 90.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/12.33, allocations: 11.94 kB / 4.813 GB, free: 90.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/12.33, allocations: 111.8 kB / 4.813 GB, free: 89.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/12.33, allocations: 19.92 kB / 4.813 GB, free: 89.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008832/12.33, allocations: 103.4 kB / 4.813 GB, free: 89.79 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/12.33, allocations: 27.98 kB / 4.813 GB, free: 89.77 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/12.33, allocations: 4.625 kB / 4.813 GB, free: 89.76 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006069/12.33, allocations: 497.5 kB / 4.814 GB, free: 89.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/12.33, allocations: 8 kB / 4.814 GB, free: 89.26 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/12.33, allocations: 8 kB / 4.814 GB, free: 89.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/12.33, allocations: 104.4 kB / 4.814 GB, free: 89.15 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/12.33, allocations: 15.94 kB / 4.814 GB, free: 89.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007846/12.33, allocations: 103.4 kB / 4.814 GB, free: 89.04 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.755e-05/12.33, allocations: 27.94 kB / 4.814 GB, free: 89.01 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 (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001301/12.33, allocations: 136.9 kB / 4.814 GB, free: 88.87 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/12.33, allocations: 98.78 kB / 4.814 GB, free: 88.77 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006989/12.33, allocations: 467.1 kB / 4.814 GB, free: 88.31 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/12.33, allocations: 11.98 kB / 4.814 GB, free: 88.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/12.33, allocations: 0 / 4.814 GB, free: 88.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/12.33, allocations: 3.984 kB / 4.814 GB, free: 88.29 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/12.34, allocations: 1.353 MB / 4.816 GB, free: 86.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/12.34, allocations: 4 kB / 4.816 GB, free: 86.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/12.34, allocations: 67.89 kB / 4.816 GB, free: 86.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/12.34, allocations: 7.953 kB / 4.816 GB, free: 86.79 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/12.34, allocations: 8 kB / 4.816 GB, free: 86.78 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/12.34, allocations: 4 kB / 4.816 GB, free: 86.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/12.34, allocations: 4 kB / 4.816 GB, free: 86.77 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005785/12.34, allocations: 0.6705 MB / 4.817 GB, free: 86.02 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003819/12.34, allocations: 211.8 kB / 4.817 GB, free: 85.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/12.34, allocations: 11.98 kB / 4.817 GB, free: 85.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000542/12.34, allocations: 51.89 kB / 4.817 GB, free: 85.73 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/12.34, allocations: 35.89 kB / 4.817 GB, free: 85.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/12.34, allocations: 19.94 kB / 4.817 GB, free: 85.68 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008873/12.34, allocations: 0.7649 MB / 4.818 GB, free: 84.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/12.34, allocations: 0 / 4.818 GB, free: 84.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001534/12.34, allocations: 479.7 kB / 4.818 GB, free: 84.43 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 (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001711/12.34, allocations: 0.9166 MB / 4.819 GB, free: 83.52 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001146/12.34, allocations: 0.7783 MB / 4.82 GB, free: 82.71 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/12.34, allocations: 3.938 kB / 4.82 GB, free: 82.71 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002521/12.34, allocations: 181.5 kB / 4.82 GB, free: 82.54 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/12.35, allocations: 453.5 kB / 4.82 GB, free: 82.09 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/12.35, allocations: 1.353 MB / 4.822 GB, free: 80.68 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/12.35, allocations: 1.203 MB / 4.823 GB, free: 79.45 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00187/12.35, allocations: 0.8387 MB / 4.824 GB, free: 78.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/12.35, allocations: 55.42 kB / 4.824 GB, free: 78.55 MB / 0.8698 GB Notification: Performance of SimCode: time 1.363e-06/12.35, allocations: 4 kB / 4.824 GB, free: 78.54 MB / 0.8698 GB Notification: Performance of Templates: time 0.04025/12.39, allocations: 31.09 MB / 4.854 GB, free: 47.54 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches