Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,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.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,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.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001298/0.001299, allocations: 180.2 kB / 326.5 MB, free: 2.258 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.019/2.019, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.00102/0.00102, allocations: 95.72 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003949, allocations: 13.25 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2613, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.201/6.463, allocations: 2.184 GB / 3.084 GB, free: 248 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/6.463, allocations: 96.31 kB / 3.085 GB, free: 248 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.99/9.453, allocations: 0.9401 GB / 4.025 GB, free: 75.69 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.593e-06/9.453, allocations: 0 / 4.025 GB, free: 75.69 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001563/9.453, allocations: 27.98 kB / 4.025 GB, free: 75.66 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003942/9.457, allocations: 1.436 MB / 4.026 GB, free: 74.17 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/9.457, allocations: 12.03 kB / 4.026 GB, free: 74.16 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/9.458, allocations: 186.5 kB / 4.026 GB, free: 73.97 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/9.461, allocations: 1.108 MB / 4.027 GB, free: 72.81 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/9.461, allocations: 45 kB / 4.027 GB, free: 72.76 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.858e-05/9.461, allocations: 60 kB / 4.027 GB, free: 72.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009772/9.462, allocations: 0.7696 MB / 4.028 GB, free: 71.86 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/9.462, allocations: 3.938 kB / 4.028 GB, free: 71.85 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.672e-05/9.462, allocations: 20 kB / 4.028 GB, free: 71.83 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/9.462, allocations: 15.95 kB / 4.028 GB, free: 71.82 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007347/9.463, allocations: 0.5189 MB / 4.029 GB, free: 71.3 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.003398/9.466, allocations: 4.587 MB / 4.033 GB, free: 66.33 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006321/9.467, allocations: 426.4 kB / 4.034 GB, free: 65.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/9.467, allocations: 198.2 kB / 4.034 GB, free: 65.67 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003995/9.467, allocations: 294.9 kB / 4.034 GB, free: 65.36 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 1.774e-06/9.467, allocations: 0 / 4.034 GB, free: 65.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.003051/9.471, allocations: 1.308 MB / 4.035 GB, free: 64.03 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/9.471, allocations: 81.11 kB / 4.035 GB, free: 63.93 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/9.472, allocations: 0.9799 MB / 4.036 GB, free: 62.93 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/9.472, allocations: 37.7 kB / 4.036 GB, free: 62.89 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/9.472, allocations: 0.4888 MB / 4.037 GB, free: 62.39 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/9.472, allocations: 114.4 kB / 4.037 GB, free: 62.28 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/9.472, allocations: 8 kB / 4.037 GB, free: 62.27 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.876e-05/9.472, allocations: 326 kB / 4.037 GB, free: 61.95 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/9.472, allocations: 184.7 kB / 4.038 GB, free: 61.77 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004236/9.473, allocations: 0.5091 MB / 4.038 GB, free: 61.12 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/9.473, allocations: 295.5 kB / 4.038 GB, free: 60.82 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/9.473, allocations: 0 / 4.038 GB, free: 60.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00121/9.474, allocations: 0.8933 MB / 4.039 GB, free: 59.91 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004735/9.475, allocations: 2.128 MB / 4.041 GB, free: 57.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/9.475, allocations: 4 kB / 4.041 GB, free: 57.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005175/9.475, allocations: 275.4 kB / 4.042 GB, free: 57.35 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/9.476, allocations: 60.12 kB / 4.042 GB, free: 57.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/9.477, allocations: 1.089 MB / 4.043 GB, free: 56.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008343/9.478, allocations: 103.4 kB / 4.043 GB, free: 56.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.999e-05/9.478, allocations: 27.98 kB / 4.043 GB, free: 56.05 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/9.478, allocations: 5.562 kB / 4.043 GB, free: 56.04 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001177/9.479, allocations: 0.7122 MB / 4.043 GB, free: 55.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/9.479, allocations: 8.625 kB / 4.043 GB, free: 55.31 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004822/9.479, allocations: 212.7 kB / 4.044 GB, free: 55.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/9.48, allocations: 67.84 kB / 4.044 GB, free: 55.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/9.483, allocations: 3.062 MB / 4.047 GB, free: 51.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008285/9.483, allocations: 91.59 kB / 4.047 GB, free: 51.74 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/9.483, allocations: 27.98 kB / 4.047 GB, free: 51.71 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 (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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006239/9.484, allocations: 473.9 kB / 4.047 GB, free: 51.24 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/9.484, allocations: 102.8 kB / 4.047 GB, free: 51.14 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/9.485, allocations: 0.7141 MB / 4.048 GB, free: 50.41 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/9.485, allocations: 4 kB / 4.048 GB, free: 50.41 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/9.485, allocations: 0 / 4.048 GB, free: 50.41 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/9.485, allocations: 0 / 4.048 GB, free: 50.41 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/9.487, allocations: 1.615 MB / 4.05 GB, free: 48.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/9.487, allocations: 0 / 4.05 GB, free: 48.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/9.488, allocations: 27.92 kB / 4.05 GB, free: 48.69 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004065/9.488, allocations: 242.7 kB / 4.05 GB, free: 48.45 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/9.488, allocations: 11.98 kB / 4.05 GB, free: 48.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007447/9.489, allocations: 1.028 MB / 4.051 GB, free: 47.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/9.489, allocations: 4.094 kB / 4.051 GB, free: 47.38 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009985/9.49, allocations: 0.9162 MB / 4.052 GB, free: 46.38 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003855/9.49, allocations: 227.7 kB / 4.052 GB, free: 46.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.372e-05/9.49, allocations: 8 kB / 4.052 GB, free: 46.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005006/9.491, allocations: 59.78 kB / 4.052 GB, free: 46.07 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.631e-05/9.491, allocations: 31.91 kB / 4.052 GB, free: 46.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/9.491, allocations: 15.94 kB / 4.052 GB, free: 46.03 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007948/9.492, allocations: 0.7838 MB / 4.053 GB, free: 45.23 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/9.492, allocations: 0 / 4.053 GB, free: 45.23 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001617/9.493, allocations: 0.5075 MB / 4.053 GB, free: 44.73 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 (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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00135/9.495, allocations: 0.965 MB / 4.054 GB, free: 43.77 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002206/9.497, allocations: 1.176 MB / 4.056 GB, free: 42.55 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/9.497, allocations: 0 / 4.056 GB, free: 42.55 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005116/9.497, allocations: 283.9 kB / 4.056 GB, free: 42.28 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/9.499, allocations: 469.9 kB / 4.056 GB, free: 41.83 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/9.502, allocations: 1.992 MB / 4.058 GB, free: 39.78 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/9.502, allocations: 1.204 MB / 4.059 GB, free: 38.54 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0008672/9.503, allocations: 319.8 kB / 4.06 GB, free: 38.23 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/9.503, allocations: 59.44 kB / 4.06 GB, free: 38.17 MB / 0.8855 GB Notification: Performance of SimCode: time 8.82e-07/9.503, allocations: 0 / 4.06 GB, free: 38.17 MB / 0.8855 GB Notification: Performance of Templates: time 0.0416/9.545, allocations: 29.31 MB / 4.088 GB, free: 9.004 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches