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.311/2.311, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001127/0.001127, allocations: 182.5 kB / 0.4902 GB, free: 2.289 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.646/1.646, allocations: 223.2 MB / 0.7992 GB, free: 15.67 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.001059/0.001059, allocations: 103.3 kB / 0.9396 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.0004669, allocations: 9.469 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3794, allocations: 143 MB / 1.229 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.193/5.572, allocations: 1.87 GB / 3.099 GB, free: 92.97 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/5.573, allocations: 87.95 kB / 3.099 GB, free: 92.89 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.699/9.272, allocations: 0.9692 GB / 4.068 GB, free: 19.81 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.118e-06/9.272, allocations: 0 / 4.068 GB, free: 19.81 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001233/9.272, allocations: 27.98 kB / 4.068 GB, free: 19.79 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003612/9.276, allocations: 1.425 MB / 4.07 GB, free: 18.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/9.276, allocations: 12.83 kB / 4.07 GB, free: 18.29 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008578/9.277, allocations: 186.5 kB / 4.07 GB, free: 18.11 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/9.279, allocations: 1.088 MB / 4.071 GB, free: 16.96 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.476e-05/9.279, allocations: 45 kB / 4.071 GB, free: 16.91 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.379e-05/9.279, allocations: 56 kB / 4.071 GB, free: 16.86 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/9.28, allocations: 0.7783 MB / 4.072 GB, free: 16 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/9.28, allocations: 4 kB / 4.072 GB, free: 16 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.98e-05/9.28, allocations: 27.94 kB / 4.072 GB, free: 15.97 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/9.28, allocations: 12 kB / 4.072 GB, free: 15.96 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007375/9.281, allocations: 0.511 MB / 4.073 GB, free: 15.45 MB / 1.167 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.003666/9.285, allocations: 4.595 MB / 4.077 GB, free: 10.47 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006319/9.285, allocations: 426.5 kB / 4.077 GB, free: 10.04 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002916/9.286, allocations: 202.2 kB / 4.078 GB, free: 9.809 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004303/9.286, allocations: 293 kB / 4.078 GB, free: 9.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 1.974e-06/9.286, allocations: 0 / 4.078 GB, free: 9.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.001298/9.287, allocations: 0.6431 MB / 4.079 GB, free: 8.855 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/9.288, allocations: 85.05 kB / 4.079 GB, free: 8.754 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/9.289, allocations: 0.9873 MB / 4.08 GB, free: 7.75 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/9.289, allocations: 33.7 kB / 4.08 GB, free: 7.711 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/9.289, allocations: 496.4 kB / 4.08 GB, free: 7.219 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.685e-05/9.289, allocations: 114.7 kB / 4.08 GB, free: 7.105 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/9.289, allocations: 8 kB / 4.08 GB, free: 7.098 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.414e-05/9.289, allocations: 329.9 kB / 4.081 GB, free: 6.77 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/9.289, allocations: 180.7 kB / 4.081 GB, free: 6.594 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004675/9.29, allocations: 0.5093 MB / 4.081 GB, free: 5.941 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000382/9.29, allocations: 283.3 kB / 4.081 GB, free: 5.66 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/9.29, allocations: 0 / 4.081 GB, free: 5.66 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009748/9.291, allocations: 0.6871 MB / 4.082 GB, free: 4.961 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004655/9.292, allocations: 2.14 MB / 4.084 GB, free: 2.656 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/9.292, allocations: 11.94 kB / 4.084 GB, free: 2.645 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/9.292, allocations: 8 kB / 4.084 GB, free: 2.637 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/9.293, allocations: 295.6 kB / 4.085 GB, free: 2.348 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7483/10.04, allocations: 6.076 MB / 4.09 GB, free: 370.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/10.04, allocations: 105.5 kB / 4.091 GB, free: 370.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.152e-05/10.04, allocations: 25.89 kB / 4.091 GB, free: 370.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/10.04, allocations: 4.312 kB / 4.091 GB, free: 370.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001248/10.04, allocations: 0.539 MB / 4.091 GB, free: 370.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/10.04, allocations: 5.656 kB / 4.091 GB, free: 370.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/10.04, allocations: 9.719 kB / 4.091 GB, free: 370.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/10.04, allocations: 150.6 kB / 4.091 GB, free: 370.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/10.05, allocations: 12.25 kB / 4.091 GB, free: 370.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008543/10.05, allocations: 91.23 kB / 4.091 GB, free: 370.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.203e-05/10.05, allocations: 26 kB / 4.091 GB, free: 370.6 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 () * Number of clocked 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.0007896/10.05, allocations: 472.2 kB / 4.092 GB, free: 370.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/10.05, allocations: 98.12 kB / 4.092 GB, free: 370.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/10.05, allocations: 0.4913 MB / 4.092 GB, free: 370.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/10.05, allocations: 3.938 kB / 4.092 GB, free: 370.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/10.05, allocations: 0 / 4.092 GB, free: 370.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/10.05, allocations: 6.641 kB / 4.092 GB, free: 370.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/10.05, allocations: 1.389 MB / 4.094 GB, free: 369.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/10.05, allocations: 1.219 kB / 4.094 GB, free: 369.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006961/10.05, allocations: 157.7 kB / 4.094 GB, free: 369.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/10.05, allocations: 7.422 kB / 4.094 GB, free: 369.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/10.05, allocations: 12.28 kB / 4.094 GB, free: 369.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/10.05, allocations: 6.016 MB / 4.1 GB, free: 364.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/10.05, allocations: 2.938 kB / 4.1 GB, free: 364.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/10.05, allocations: 0.6944 MB / 4.1 GB, free: 363.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005817/10.06, allocations: 217.1 kB / 4.101 GB, free: 363.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/10.06, allocations: 14.86 kB / 4.101 GB, free: 363.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005506/10.06, allocations: 55.53 kB / 4.101 GB, free: 363.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/10.06, allocations: 43.73 kB / 4.101 GB, free: 363.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.479e-05/10.06, allocations: 13.3 kB / 4.101 GB, free: 363.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001443/10.06, allocations: 0.781 MB / 4.102 GB, free: 363.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/10.06, allocations: 1.062 kB / 4.102 GB, free: 363.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001964/10.06, allocations: 482.8 kB / 4.102 GB, free: 363.5 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) * Number of clocked states: 0 () * 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.001647/10.06, allocations: 0.9114 MB / 4.103 GB, free: 363.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002865/10.06, allocations: 0.9766 MB / 4.104 GB, free: 363.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/10.06, allocations: 3.5 kB / 4.104 GB, free: 363.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008056/10.06, allocations: 276.5 kB / 4.104 GB, free: 363.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/10.07, allocations: 452.2 kB / 4.105 GB, free: 363.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/10.07, allocations: 2.022 MB / 4.107 GB, free: 362.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009612/10.07, allocations: 1.197 MB / 4.108 GB, free: 361.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001538/10.07, allocations: 376.6 kB / 4.108 GB, free: 361.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/10.07, allocations: 68.48 kB / 4.108 GB, free: 361.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.633e-06/10.07, allocations: 0 / 4.108 GB, free: 361.6 MB / 1.167 GB Notification: Performance of Templates: time 0.05318/10.13, allocations: 27.51 MB / 4.135 GB, free: 360.9 MB / 1.167 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