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.4/1.4, allocations: 251.9 MB / 266.9 MB, free: 11 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.001386/0.001385, allocations: 179 kB / 326.5 MB, free: 2.23 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.209/2.209, allocations: 205.4 MB / 0.5775 GB, free: 20.51 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.0009192/0.0009192, allocations: 97.22 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.000361, allocations: 9.062 kB / 0.7962 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2924, allocations: 106.4 MB / 0.9001 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.173/5.465, allocations: 2.182 GB / 3.082 GB, free: 39.98 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/5.465, allocations: 91.95 kB / 3.082 GB, free: 39.89 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.918/11.38, allocations: 1.726 GB / 4.808 GB, free: 27.75 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.484e-06/11.38, allocations: 0 / 4.808 GB, free: 27.75 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001809/11.38, allocations: 31.98 kB / 4.808 GB, free: 27.71 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.004065/11.39, allocations: 1.415 MB / 4.809 GB, free: 26.24 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/11.39, allocations: 11.97 kB / 4.809 GB, free: 26.23 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/11.39, allocations: 194.4 kB / 4.809 GB, free: 26.04 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002812/11.39, allocations: 1.085 MB / 4.81 GB, free: 24.89 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-05/11.39, allocations: 45 kB / 4.81 GB, free: 24.85 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/11.39, allocations: 60 kB / 4.81 GB, free: 24.79 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/11.39, allocations: 0.7654 MB / 4.811 GB, free: 23.95 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/11.39, allocations: 7.938 kB / 4.811 GB, free: 23.94 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.785e-05/11.39, allocations: 24 kB / 4.811 GB, free: 23.92 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/11.39, allocations: 16 kB / 4.811 GB, free: 23.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008217/11.39, allocations: 0.511 MB / 4.812 GB, free: 23.39 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.004086/11.4, allocations: 4.595 MB / 4.816 GB, free: 18.41 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006044/11.4, allocations: 422.5 kB / 4.816 GB, free: 17.99 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/11.4, allocations: 194.2 kB / 4.817 GB, free: 17.76 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004029/11.4, allocations: 290.4 kB / 4.817 GB, free: 17.46 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 2.275e-06/11.4, allocations: 0 / 4.817 GB, free: 17.46 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.001272/11.4, allocations: 0.6372 MB / 4.818 GB, free: 16.82 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/11.4, allocations: 89.11 kB / 4.818 GB, free: 16.71 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/11.4, allocations: 0.9795 MB / 4.819 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/11.4, allocations: 41.7 kB / 4.819 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00032/11.4, allocations: 0.4887 MB / 4.819 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.759e-05/11.4, allocations: 110.5 kB / 4.819 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/11.4, allocations: 8 kB / 4.819 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.47e-05/11.4, allocations: 329.9 kB / 4.82 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/11.4, allocations: 188.7 kB / 4.82 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/11.4, allocations: 0.5093 MB / 4.82 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/11.4, allocations: 293.7 kB / 4.821 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/11.4, allocations: 4 kB / 4.821 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009771/11.41, allocations: 0.6711 MB / 4.821 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004137/11.41, allocations: 2.137 MB / 4.823 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/11.41, allocations: 4 kB / 4.823 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/11.41, allocations: 8 kB / 4.823 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/11.41, allocations: 115.9 kB / 4.823 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/11.41, allocations: 11.94 kB / 4.823 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009033/11.41, allocations: 99.47 kB / 4.824 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/11.41, allocations: 27.98 kB / 4.824 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/11.41, allocations: 7.953 kB / 4.824 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007454/11.41, allocations: 0.5446 MB / 4.824 GB, free: 9.797 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/11.41, allocations: 4.062 kB / 4.824 GB, free: 9.793 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/11.41, allocations: 12 kB / 4.824 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/11.41, allocations: 103.9 kB / 4.824 GB, free: 9.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/11.41, allocations: 15.94 kB / 4.824 GB, free: 9.664 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007928/11.41, allocations: 99.52 kB / 4.824 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/11.41, allocations: 24.05 kB / 4.824 GB, free: 9.543 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked 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.0004935/11.41, allocations: 478.5 kB / 4.825 GB, free: 9.066 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/11.41, allocations: 102.7 kB / 4.825 GB, free: 8.965 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007849/11.41, allocations: 0.4949 MB / 4.825 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/11.41, allocations: 4 kB / 4.825 GB, free: 8.457 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/11.41, allocations: 7.922 kB / 4.825 GB, free: 8.449 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/11.41, allocations: 4 kB / 4.825 GB, free: 8.445 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/11.41, allocations: 1.382 MB / 4.827 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/11.41, allocations: 4 kB / 4.827 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/11.41, allocations: 68.11 kB / 4.827 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/11.41, allocations: 4 kB / 4.827 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/11.41, allocations: 8 kB / 4.827 GB, free: 6.906 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/11.41, allocations: 4 kB / 4.827 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/11.41, allocations: 0 / 4.827 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007272/11.41, allocations: 0.7045 MB / 4.827 GB, free: 6.121 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/11.41, allocations: 219.8 kB / 4.828 GB, free: 5.887 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/11.41, allocations: 8 kB / 4.828 GB, free: 5.879 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005597/11.41, allocations: 55.8 kB / 4.828 GB, free: 5.824 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.97e-05/11.41, allocations: 39.84 kB / 4.828 GB, free: 5.785 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/11.41, allocations: 16 kB / 4.828 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008569/11.42, allocations: 0.7797 MB / 4.829 GB, free: 4.98 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.11e-07/11.42, allocations: 0 / 4.829 GB, free: 4.98 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001543/11.42, allocations: 479.6 kB / 4.829 GB, free: 4.512 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * 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.001503/11.42, allocations: 0.9053 MB / 4.83 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001245/11.42, allocations: 0.8031 MB / 4.831 GB, free: 2.789 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/11.42, allocations: 4.062 kB / 4.831 GB, free: 2.785 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003171/11.42, allocations: 203.7 kB / 4.831 GB, free: 2.586 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/11.42, allocations: 445.9 kB / 4.831 GB, free: 2.156 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/11.43, allocations: 1.961 MB / 4.833 GB, free: 144 kB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4474/11.87, allocations: 1.204 MB / 4.834 GB, free: 267.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001433/11.87, allocations: 426.2 kB / 4.835 GB, free: 267.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/11.87, allocations: 72.05 kB / 4.835 GB, free: 267.2 MB / 0.8855 GB Notification: Performance of SimCode: time 2.174e-06/11.87, allocations: 0 / 4.835 GB, free: 267.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.05209/11.93, allocations: 26.7 MB / 4.861 GB, free: 266.8 MB / 0.8855 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