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.471/1.471, allocations: 249.3 MB / 261.8 MB, free: 5.93 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.001154/0.001154, allocations: 180.9 kB / 321.3 MB, free: 14.62 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.389/1.389, allocations: 205.2 MB / 0.572 GB, free: 10.57 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.0007592/0.0007592, allocations: 90.47 kB / 0.6764 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.061e-05/4.086e-05, allocations: 4 kB / 0.7879 GB, free: 97.06 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2203, allocations: 106.3 MB / 0.8918 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.57/5.791, allocations: 2.184 GB / 3.076 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/5.791, allocations: 91.94 kB / 3.076 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.771/9.562, allocations: 0.9392 GB / 4.015 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.462e-06/9.562, allocations: 0 / 4.015 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001721/9.562, allocations: 33.41 kB / 4.015 GB, free: 228.4 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.003012/9.565, allocations: 1.145 MB / 4.017 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/9.565, allocations: 14.78 kB / 4.017 GB, free: 227.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/9.567, allocations: 185.8 kB / 4.017 GB, free: 227.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003632/9.57, allocations: 1.103 MB / 4.018 GB, free: 226.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.653e-05/9.571, allocations: 43.91 kB / 4.018 GB, free: 226.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/9.571, allocations: 58.47 kB / 4.018 GB, free: 226.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/9.572, allocations: 0.7439 MB / 4.019 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/9.572, allocations: 7.906 kB / 4.019 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.968e-05/9.572, allocations: 23.81 kB / 4.019 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/9.572, allocations: 17.06 kB / 4.019 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007506/9.573, allocations: 470.8 kB / 4.019 GB, free: 226.1 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.004117/9.577, allocations: 4.599 MB / 4.024 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/9.577, allocations: 380.6 kB / 4.024 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/9.578, allocations: 220.7 kB / 4.024 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002616/9.578, allocations: 196.4 kB / 4.024 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003494/9.578, allocations: 264.6 kB / 4.025 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 2.044e-06/9.578, allocations: 2.281 kB / 4.025 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001271/9.58, allocations: 0.6697 MB / 4.025 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/9.58, allocations: 86.61 kB / 4.025 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/9.581, allocations: 0.9739 MB / 4.026 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.772e-05/9.581, allocations: 37.05 kB / 4.026 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/9.581, allocations: 490.2 kB / 4.027 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.578e-05/9.581, allocations: 109.4 kB / 4.027 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/9.581, allocations: 14.34 kB / 4.027 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.513e-05/9.581, allocations: 325.8 kB / 4.027 GB, free: 219.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/9.582, allocations: 163.1 kB / 4.027 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/9.582, allocations: 487.4 kB / 4.028 GB, free: 218.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/9.582, allocations: 278.5 kB / 4.028 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/9.582, allocations: 3.562 kB / 4.028 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00114/9.583, allocations: 0.8565 MB / 4.029 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004487/9.584, allocations: 2.127 MB / 4.031 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/9.584, allocations: 11.55 kB / 4.031 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005369/9.584, allocations: 250.3 kB / 4.031 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/9.585, allocations: 70.41 kB / 4.031 GB, free: 215.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/9.586, allocations: 1.084 MB / 4.032 GB, free: 215 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000883/9.587, allocations: 107.3 kB / 4.033 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.595e-05/9.587, allocations: 26.86 kB / 4.033 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/9.587, allocations: 5.141 kB / 4.033 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001017/9.588, allocations: 0.6744 MB / 4.033 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/9.588, allocations: 3.938 kB / 4.033 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004974/9.588, allocations: 218 kB / 4.033 GB, free: 214.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/9.589, allocations: 58.78 kB / 4.033 GB, free: 214.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002941/9.592, allocations: 2.975 MB / 4.036 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008705/9.592, allocations: 96.23 kB / 4.036 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/9.592, allocations: 23.59 kB / 4.037 GB, free: 212.1 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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001965/9.593, allocations: 151.3 kB / 4.037 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/9.593, allocations: 97.84 kB / 4.037 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/9.594, allocations: 0.6704 MB / 4.037 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/9.594, allocations: 3.812 kB / 4.037 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/9.594, allocations: 3.812 kB / 4.037 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/9.594, allocations: 0 / 4.037 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/9.596, allocations: 1.573 MB / 4.039 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/9.596, allocations: 3.875 kB / 4.039 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/9.596, allocations: 31.09 kB / 4.039 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004302/9.597, allocations: 232.4 kB / 4.039 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/9.597, allocations: 9.531 kB / 4.039 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008163/9.598, allocations: 1.034 MB / 4.04 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/9.598, allocations: 3.594 kB / 4.04 GB, free: 209.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008873/9.599, allocations: 0.868 MB / 4.041 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/9.599, allocations: 229.9 kB / 4.041 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.141e-05/9.599, allocations: 7.562 kB / 4.041 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004946/9.6, allocations: 56.23 kB / 4.041 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/9.6, allocations: 28.23 kB / 4.041 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/9.6, allocations: 15.14 kB / 4.041 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000886/9.601, allocations: 0.7757 MB / 4.042 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/9.601, allocations: 4 kB / 4.042 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001627/9.602, allocations: 0.5119 MB / 4.043 GB, free: 207.8 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001273/9.603, allocations: 0.975 MB / 4.044 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00203/9.606, allocations: 1.144 MB / 4.045 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/9.606, allocations: 0 / 4.045 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004628/9.606, allocations: 268 kB / 4.045 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/9.608, allocations: 455.6 kB / 4.045 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/9.61, allocations: 1.356 MB / 4.047 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/9.61, allocations: 1.206 MB / 4.048 GB, free: 202.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001582/9.612, allocations: 0.729 MB / 4.049 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/9.612, allocations: 43.44 kB / 4.049 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.513e-06/9.612, allocations: 0 / 4.049 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.0433/9.655, allocations: 33.82 MB / 4.082 GB, free: 168 MB / 0.8698 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