Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.426/2.426, allocations: 390.5 MB / 398 MB, free: 10.9 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.001091/0.001091, allocations: 184.8 kB / 491.2 MB, free: 1.555 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.749/1.749, 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.0009798/0.0009793, allocations: 105.9 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.874e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3369, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.172/6.509, allocations: 1.869 GB / 3.082 GB, free: 435.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003704/6.509, allocations: 92.58 kB / 3.082 GB, free: 435.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.468/9.977, allocations: 0.9583 GB / 4.04 GB, free: 362.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.933e-06/9.978, allocations: 0 / 4.04 GB, free: 362.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.945e-05/9.978, allocations: 31.31 kB / 4.04 GB, free: 362.1 MB / 1.151 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.001884/9.98, allocations: 1.137 MB / 4.041 GB, free: 361.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/9.98, allocations: 13.97 kB / 4.041 GB, free: 361.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007494/9.98, allocations: 190.6 kB / 4.041 GB, free: 361.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/9.982, allocations: 1.075 MB / 4.042 GB, free: 360.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/9.982, allocations: 13.88 kB / 4.042 GB, free: 360.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.422e-05/9.982, allocations: 39.31 kB / 4.042 GB, free: 360.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006551/9.983, allocations: 470 kB / 4.043 GB, free: 360.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008259/9.984, allocations: 0.6817 MB / 4.044 GB, free: 359.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/9.984, allocations: 3.812 kB / 4.044 GB, free: 359.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.195e-05/9.984, allocations: 3.984 kB / 4.044 GB, free: 359.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/9.984, allocations: 15.44 kB / 4.044 GB, free: 359.9 MB / 1.151 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.003331/9.987, allocations: 4.466 MB / 4.048 GB, free: 355.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005451/9.988, allocations: 450 kB / 4.048 GB, free: 355.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/9.988, allocations: 235.8 kB / 4.049 GB, free: 355.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003251/9.989, allocations: 195.4 kB / 4.049 GB, free: 355.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003623/9.989, allocations: 264.2 kB / 4.049 GB, free: 355 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 1.883e-06/9.989, allocations: 0 / 4.049 GB, free: 355 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.0009747/9.99, allocations: 486.6 kB / 4.049 GB, free: 354.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/9.99, allocations: 84.7 kB / 4.05 GB, free: 354.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000972/9.991, allocations: 0.8501 MB / 4.05 GB, free: 354.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/9.991, allocations: 29.48 kB / 4.05 GB, free: 354.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003619/9.991, allocations: 496.8 kB / 4.051 GB, free: 353.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.049e-05/9.991, allocations: 100.9 kB / 4.051 GB, free: 353.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/9.991, allocations: 3.938 kB / 4.051 GB, free: 353.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001085/9.992, allocations: 328.5 kB / 4.051 GB, free: 353.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/9.992, allocations: 176.5 kB / 4.051 GB, free: 353.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004445/9.992, allocations: 0.4949 MB / 4.052 GB, free: 352.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/9.993, allocations: 266.8 kB / 4.052 GB, free: 352.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/9.993, allocations: 3.781 kB / 4.052 GB, free: 352.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008119/9.993, allocations: 0.6058 MB / 4.053 GB, free: 352.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006409/9.994, allocations: 2.125 MB / 4.055 GB, free: 350.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/9.994, allocations: 9.859 kB / 4.055 GB, free: 350.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/9.994, allocations: 13.84 kB / 4.055 GB, free: 350.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/9.996, allocations: 302.3 kB / 4.055 GB, free: 350.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002856/9.999, allocations: 6.185 MB / 4.061 GB, free: 344 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009452/10, allocations: 86.62 kB / 4.061 GB, free: 343.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/10, allocations: 26.25 kB / 4.061 GB, free: 343.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/10, allocations: 3.875 kB / 4.061 GB, free: 343.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006548/10, allocations: 420.7 kB / 4.062 GB, free: 343.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/10, allocations: 7.781 kB / 4.062 GB, free: 343.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/10, allocations: 10.09 kB / 4.062 GB, free: 343.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004925/10, allocations: 148 kB / 4.062 GB, free: 343.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/10, allocations: 7.875 kB / 4.062 GB, free: 343.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005756/10, allocations: 84.3 kB / 4.062 GB, free: 343.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/10, allocations: 27.42 kB / 4.062 GB, free: 343.7 MB / 1.151 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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001964/10, allocations: 132.5 kB / 4.062 GB, free: 343.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/10, allocations: 92.19 kB / 4.062 GB, free: 343.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007545/10, allocations: 445.5 kB / 4.063 GB, free: 343.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/10, allocations: 7.844 kB / 4.063 GB, free: 343.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/10, allocations: 0 / 4.063 GB, free: 343.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/10, allocations: 0 / 4.063 GB, free: 343.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/10, allocations: 1.262 MB / 4.064 GB, free: 342.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/10, allocations: 3.812 kB / 4.064 GB, free: 342.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005719/10.01, allocations: 152.9 kB / 4.064 GB, free: 342.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/10.01, allocations: 3.219 kB / 4.064 GB, free: 342.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/10.01, allocations: 11.97 kB / 4.064 GB, free: 342.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/10.01, allocations: 6.04 MB / 4.07 GB, free: 336.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/10.01, allocations: 0 / 4.07 GB, free: 336.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006514/10.01, allocations: 0.6353 MB / 4.071 GB, free: 335.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/10.01, allocations: 215.4 kB / 4.071 GB, free: 335.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/10.01, allocations: 2.188 kB / 4.071 GB, free: 335.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000454/10.01, allocations: 51.94 kB / 4.071 GB, free: 335.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/10.01, allocations: 31.08 kB / 4.071 GB, free: 335.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/10.01, allocations: 7.812 kB / 4.071 GB, free: 335.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009048/10.01, allocations: 0.6707 MB / 4.072 GB, free: 335.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/10.01, allocations: 3.938 kB / 4.072 GB, free: 335.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001571/10.01, allocations: 452.9 kB / 4.072 GB, free: 335.1 MB / 1.151 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 (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001778/10.01, allocations: 1.019 MB / 4.073 GB, free: 334.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002345/10.02, allocations: 0.9454 MB / 4.074 GB, free: 334 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/10.02, allocations: 2.031 kB / 4.074 GB, free: 334 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005795/10.02, allocations: 251.4 kB / 4.074 GB, free: 333.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/10.02, allocations: 385 kB / 4.074 GB, free: 333.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/10.02, allocations: 1.34 MB / 4.076 GB, free: 332 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005457/10.02, allocations: 1.203 MB / 4.077 GB, free: 330.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001726/10.02, allocations: 0.7507 MB / 4.078 GB, free: 330.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/10.02, allocations: 43.44 kB / 4.078 GB, free: 330.1 MB / 1.151 GB Notification: Performance of SimCode: time 3.8e-07/10.02, allocations: 0 / 4.078 GB, free: 330.1 MB / 1.151 GB Notification: Performance of Templates: time 0.03106/10.05, allocations: 20.65 MB / 4.098 GB, free: 309.9 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches