Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.304/2.304, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 184.8 kB / 491.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.744/1.744, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000979/0.0009793, allocations: 87.97 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.976e-05/1.978e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3501, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.278/6.629, allocations: 1.872 GB / 3.084 GB, free: 357.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/6.629, allocations: 92.2 kB / 3.084 GB, free: 357.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.559/10.19, allocations: 0.9703 GB / 4.055 GB, free: 323.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.904e-06/10.19, allocations: 0 / 4.055 GB, free: 323.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001071/10.19, allocations: 38.27 kB / 4.055 GB, free: 323.1 MB / 1.167 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.001902/10.19, allocations: 1.15 MB / 4.056 GB, free: 322.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/10.19, allocations: 10.47 kB / 4.056 GB, free: 322.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007521/10.19, allocations: 185.1 kB / 4.056 GB, free: 322.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/10.19, allocations: 1.093 MB / 4.057 GB, free: 321.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/10.19, allocations: 22.7 kB / 4.057 GB, free: 321.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/10.19, allocations: 36.41 kB / 4.057 GB, free: 321.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00071/10.19, allocations: 471 kB / 4.057 GB, free: 321.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008341/10.19, allocations: 0.678 MB / 4.058 GB, free: 320.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/10.19, allocations: 3.844 kB / 4.058 GB, free: 320.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/10.19, allocations: 7.828 kB / 4.058 GB, free: 320.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/10.19, allocations: 9.875 kB / 4.058 GB, free: 320.8 MB / 1.167 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.003363/10.2, allocations: 4.471 MB / 4.062 GB, free: 316.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/10.2, allocations: 437.5 kB / 4.063 GB, free: 316.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/10.2, allocations: 235.4 kB / 4.063 GB, free: 316.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003091/10.2, allocations: 192.3 kB / 4.063 GB, free: 316.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003571/10.2, allocations: 260.6 kB / 4.064 GB, free: 315.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/10.2, allocations: 3.938 kB / 4.064 GB, free: 315.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.001649/10.2, allocations: 0.7359 MB / 4.064 GB, free: 315.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/10.2, allocations: 85.05 kB / 4.064 GB, free: 315.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009342/10.2, allocations: 0.856 MB / 4.065 GB, free: 314.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/10.2, allocations: 33.7 kB / 4.065 GB, free: 314.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/10.2, allocations: 484.2 kB / 4.066 GB, free: 313.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.019e-05/10.2, allocations: 106.5 kB / 4.066 GB, free: 313.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/10.2, allocations: 0 / 4.066 GB, free: 313.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.64e-05/10.2, allocations: 326 kB / 4.066 GB, free: 313.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/10.2, allocations: 176.8 kB / 4.066 GB, free: 313.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/10.2, allocations: 0.4899 MB / 4.067 GB, free: 312.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/10.2, allocations: 274.7 kB / 4.067 GB, free: 312.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/10.2, allocations: 0 / 4.067 GB, free: 312.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001281/10.2, allocations: 0.875 MB / 4.068 GB, free: 311.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005182/10.21, allocations: 2.13 MB / 4.07 GB, free: 309.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/10.21, allocations: 8 kB / 4.07 GB, free: 309.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004354/10.21, allocations: 238.8 kB / 4.07 GB, free: 308.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/10.21, allocations: 71.84 kB / 4.07 GB, free: 308.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/10.21, allocations: 1.178 MB / 4.071 GB, free: 307.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008131/10.21, allocations: 95.45 kB / 4.071 GB, free: 307.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/10.21, allocations: 28 kB / 4.072 GB, free: 307.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/10.21, allocations: 4 kB / 4.072 GB, free: 307.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009222/10.21, allocations: 0.5785 MB / 4.072 GB, free: 306.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/10.21, allocations: 4 kB / 4.072 GB, free: 306.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004791/10.21, allocations: 213.6 kB / 4.072 GB, free: 306.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/10.21, allocations: 67.84 kB / 4.072 GB, free: 306.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/10.21, allocations: 2.851 MB / 4.075 GB, free: 303.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007843/10.21, allocations: 79.67 kB / 4.075 GB, free: 303.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/10.21, allocations: 28 kB / 4.075 GB, free: 303.5 MB / 1.167 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.0001708/10.21, allocations: 124.8 kB / 4.075 GB, free: 303.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/10.21, allocations: 94.78 kB / 4.075 GB, free: 303.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/10.21, allocations: 0.6435 MB / 4.076 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/10.21, allocations: 4 kB / 4.076 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/10.21, allocations: 0 / 4.076 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/10.21, allocations: 0 / 4.076 GB, free: 302.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/10.22, allocations: 1.477 MB / 4.078 GB, free: 301.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/10.22, allocations: 0 / 4.078 GB, free: 301.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/10.22, allocations: 28.12 kB / 4.078 GB, free: 301.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003115/10.22, allocations: 203 kB / 4.078 GB, free: 300.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/10.22, allocations: 4 kB / 4.078 GB, free: 300.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008013/10.22, allocations: 1.053 MB / 4.079 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/10.22, allocations: 7.984 kB / 4.079 GB, free: 299.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008476/10.22, allocations: 0.8488 MB / 4.08 GB, free: 298.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000336/10.22, allocations: 219.8 kB / 4.08 GB, free: 298.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.602e-05/10.22, allocations: 4 kB / 4.08 GB, free: 298.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005003/10.22, allocations: 51.8 kB / 4.08 GB, free: 298.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.711e-05/10.22, allocations: 27.95 kB / 4.08 GB, free: 298.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/10.22, allocations: 12 kB / 4.08 GB, free: 298.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007188/10.22, allocations: 0.6652 MB / 4.081 GB, free: 297.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/10.22, allocations: 0 / 4.081 GB, free: 297.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001657/10.22, allocations: 483.5 kB / 4.081 GB, free: 297.4 MB / 1.167 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.001543/10.22, allocations: 1.1 MB / 4.082 GB, free: 296.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00222/10.23, allocations: 1.112 MB / 4.083 GB, free: 295.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/10.23, allocations: 0 / 4.083 GB, free: 295.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004508/10.23, allocations: 248.1 kB / 4.083 GB, free: 295.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/10.23, allocations: 396.9 kB / 4.084 GB, free: 294.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/10.23, allocations: 1.332 MB / 4.085 GB, free: 293.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/10.23, allocations: 1.209 MB / 4.086 GB, free: 292 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001592/10.23, allocations: 0.6705 MB / 4.087 GB, free: 291.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.46e-05/10.23, allocations: 43.42 kB / 4.087 GB, free: 291.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.072e-06/10.23, allocations: 0 / 4.087 GB, free: 291.3 MB / 1.167 GB Notification: Performance of Templates: time 0.03658/10.27, allocations: 22.1 MB / 4.109 GB, free: 269.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches