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.545/1.545, allocations: 249.5 MB / 257 MB, free: 6.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.00103/0.001031, allocations: 184.9 kB / 316.3 MB, free: 3.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0008839/0.0008839, allocations: 108.1 kB / 0.6714 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.098e-05/2.102e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2285, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.183/6.412, allocations: 2.185 GB / 3.07 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/6.412, allocations: 88.19 kB / 3.07 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.513/9.926, allocations: 0.9289 GB / 3.999 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.503e-06/9.926, allocations: 0 / 3.999 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.581e-05/9.926, allocations: 34.77 kB / 3.999 GB, free: 237.5 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.001999/9.928, allocations: 1.149 MB / 4 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/9.928, allocations: 10.91 kB / 4 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007691/9.928, allocations: 187.8 kB / 4 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/9.931, allocations: 1.103 MB / 4.001 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/9.931, allocations: 14.94 kB / 4.001 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.361e-05/9.931, allocations: 36.84 kB / 4.001 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006836/9.931, allocations: 468.5 kB / 4.002 GB, free: 236.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008249/9.932, allocations: 0.6785 MB / 4.002 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/9.932, allocations: 0 / 4.002 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/9.932, allocations: 7.781 kB / 4.002 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/9.932, allocations: 14.25 kB / 4.002 GB, free: 235.8 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.003283/9.936, allocations: 4.461 MB / 4.007 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005/9.936, allocations: 439.3 kB / 4.007 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/9.936, allocations: 245.7 kB / 4.007 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/9.937, allocations: 192.2 kB / 4.008 GB, free: 231.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003636/9.937, allocations: 269.2 kB / 4.008 GB, free: 231.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 1.964e-06/9.937, allocations: 3.156 kB / 4.008 GB, free: 231.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001578/9.939, allocations: 0.7478 MB / 4.009 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/9.939, allocations: 81.05 kB / 4.009 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00092/9.94, allocations: 0.8531 MB / 4.01 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/9.94, allocations: 29.67 kB / 4.01 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/9.94, allocations: 486.9 kB / 4.01 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.671e-05/9.94, allocations: 109.4 kB / 4.01 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/9.94, allocations: 0 / 4.01 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.039e-05/9.94, allocations: 329.1 kB / 4.01 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/9.94, allocations: 174.4 kB / 4.011 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/9.941, allocations: 498.4 kB / 4.011 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/9.941, allocations: 265 kB / 4.011 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/9.941, allocations: 3.844 kB / 4.011 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001376/9.942, allocations: 0.8821 MB / 4.012 GB, free: 229.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004369/9.943, allocations: 2.127 MB / 4.014 GB, free: 227 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/9.943, allocations: 7.875 kB / 4.014 GB, free: 227 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004367/9.943, allocations: 246.2 kB / 4.014 GB, free: 226.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/9.944, allocations: 74.41 kB / 4.015 GB, free: 226.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/9.945, allocations: 1.178 MB / 4.016 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008156/9.946, allocations: 92.06 kB / 4.016 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.379e-05/9.946, allocations: 26.39 kB / 4.016 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/9.946, allocations: 3.875 kB / 4.016 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009231/9.947, allocations: 0.5811 MB / 4.016 GB, free: 226 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/9.947, allocations: 7.812 kB / 4.016 GB, free: 226 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004687/9.947, allocations: 203.7 kB / 4.017 GB, free: 226 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/9.947, allocations: 64.27 kB / 4.017 GB, free: 226 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002722/9.95, allocations: 2.858 MB / 4.019 GB, free: 224.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009038/9.951, allocations: 76.91 kB / 4.02 GB, free: 224 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/9.951, allocations: 22.72 kB / 4.02 GB, free: 224 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.0001756/9.951, allocations: 132.1 kB / 4.02 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/9.951, allocations: 96.27 kB / 4.02 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/9.952, allocations: 0.6396 MB / 4.02 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/9.952, allocations: 3.938 kB / 4.02 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/9.952, allocations: 0 / 4.02 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/9.952, allocations: 7.625 kB / 4.02 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/9.954, allocations: 1.464 MB / 4.022 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/9.954, allocations: 3.688 kB / 4.022 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/9.955, allocations: 22.77 kB / 4.022 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003285/9.955, allocations: 204.5 kB / 4.022 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/9.955, allocations: 3.906 kB / 4.022 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000818/9.956, allocations: 1.046 MB / 4.023 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/9.956, allocations: 7.469 kB / 4.023 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008609/9.957, allocations: 0.8531 MB / 4.024 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/9.957, allocations: 211.4 kB / 4.024 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.776e-05/9.957, allocations: 3.344 kB / 4.024 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/9.958, allocations: 60.59 kB / 4.024 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.095e-05/9.958, allocations: 27.91 kB / 4.024 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/9.958, allocations: 10.75 kB / 4.024 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000735/9.958, allocations: 0.6658 MB / 4.025 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/9.958, allocations: 2.656 kB / 4.025 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001579/9.96, allocations: 493.7 kB / 4.025 GB, free: 221.1 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.001452/9.961, allocations: 1.097 MB / 4.026 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002053/9.964, allocations: 1.113 MB / 4.028 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/9.964, allocations: 0 / 4.028 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004368/9.964, allocations: 244.6 kB / 4.028 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/9.966, allocations: 399.8 kB / 4.028 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/9.968, allocations: 1.326 MB / 4.029 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/9.968, allocations: 1.21 MB / 4.031 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001629/9.97, allocations: 0.6766 MB / 4.031 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.87e-05/9.97, allocations: 41.28 kB / 4.031 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of SimCode: time 9.82e-07/9.97, allocations: 0 / 4.031 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.03165/10, allocations: 22.09 MB / 4.053 GB, free: 201.1 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