Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,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.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,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.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.516/1.516, allocations: 249.3 MB / 261.8 MB, free: 5.934 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.001222/0.001222, allocations: 184.9 kB / 321.3 MB, free: 14.64 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.881/1.881, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.001081/0.001081, allocations: 94.47 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.205e-05/4.246e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2664, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.079/6.345, allocations: 2.182 GB / 3.073 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/6.345, allocations: 95.38 kB / 3.074 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.507/9.852, allocations: 0.9276 GB / 4.001 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.663e-06/9.852, allocations: 4 kB / 4.001 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001749/9.852, allocations: 31.98 kB / 4.001 GB, free: 217.8 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002951/9.855, allocations: 1.137 MB / 4.002 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/9.855, allocations: 8.031 kB / 4.002 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/9.857, allocations: 188.6 kB / 4.002 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002837/9.859, allocations: 1.081 MB / 4.003 GB, free: 215.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.735e-05/9.86, allocations: 52.92 kB / 4.004 GB, free: 215.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/9.86, allocations: 63.95 kB / 4.004 GB, free: 215.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/9.861, allocations: 0.7377 MB / 4.004 GB, free: 214.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/9.861, allocations: 3.938 kB / 4.004 GB, free: 214.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.517e-05/9.861, allocations: 27.98 kB / 4.004 GB, free: 214.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/9.861, allocations: 12 kB / 4.004 GB, free: 214.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007099/9.862, allocations: 482.6 kB / 4.005 GB, free: 213.9 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.00444/9.866, allocations: 4.586 MB / 4.009 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/9.867, allocations: 386.5 kB / 4.01 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/9.867, allocations: 218.3 kB / 4.01 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003293/9.867, allocations: 190.2 kB / 4.01 GB, free: 208.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003933/9.868, allocations: 271.8 kB / 4.01 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 2.775e-06/9.868, allocations: 0 / 4.01 GB, free: 207.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001015/9.869, allocations: 457.6 kB / 4.011 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/9.869, allocations: 89.09 kB / 4.011 GB, free: 207.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/9.87, allocations: 0.9765 MB / 4.012 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/9.87, allocations: 37.7 kB / 4.012 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/9.871, allocations: 0.4926 MB / 4.012 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.782e-05/9.871, allocations: 106.5 kB / 4.012 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/9.871, allocations: 4 kB / 4.012 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.541e-05/9.871, allocations: 333.9 kB / 4.013 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/9.871, allocations: 160.8 kB / 4.013 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/9.871, allocations: 496.7 kB / 4.013 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/9.872, allocations: 279.4 kB / 4.014 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/9.872, allocations: 0 / 4.014 GB, free: 204.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008762/9.873, allocations: 0.6344 MB / 4.014 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004663/9.873, allocations: 2.132 MB / 4.016 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/9.873, allocations: 4 kB / 4.016 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/9.873, allocations: 8 kB / 4.016 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/9.875, allocations: 295.5 kB / 4.017 GB, free: 201 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/9.877, allocations: 6.087 MB / 4.023 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009862/9.878, allocations: 99.66 kB / 4.023 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-05/9.878, allocations: 27.98 kB / 4.023 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/9.878, allocations: 4 kB / 4.023 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006464/9.879, allocations: 497.3 kB / 4.023 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/9.879, allocations: 8.656 kB / 4.023 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/9.879, allocations: 12.23 kB / 4.023 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/9.879, allocations: 147.8 kB / 4.023 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/9.879, allocations: 11.94 kB / 4.023 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008899/9.88, allocations: 95.48 kB / 4.023 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/9.88, allocations: 27.98 kB / 4.023 GB, free: 193.7 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 (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.0001498/9.88, allocations: 149.6 kB / 4.024 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/9.881, allocations: 98.78 kB / 4.024 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007698/9.881, allocations: 463 kB / 4.024 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/9.881, allocations: 4 kB / 4.024 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/9.881, allocations: 3.938 kB / 4.024 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/9.881, allocations: 7.922 kB / 4.024 GB, free: 193 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/9.883, allocations: 1.357 MB / 4.025 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/9.883, allocations: 4 kB / 4.025 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006114/9.884, allocations: 152 kB / 4.026 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/9.884, allocations: 7.953 kB / 4.026 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/9.884, allocations: 8 kB / 4.026 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/9.886, allocations: 6.021 MB / 4.032 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/9.886, allocations: 4 kB / 4.032 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006318/9.887, allocations: 0.6506 MB / 4.032 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/9.887, allocations: 223.8 kB / 4.032 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/9.887, allocations: 8 kB / 4.032 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006028/9.888, allocations: 55.8 kB / 4.032 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.132e-05/9.888, allocations: 35.84 kB / 4.032 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/9.888, allocations: 15.94 kB / 4.032 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009546/9.889, allocations: 0.7766 MB / 4.033 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/9.889, allocations: 0 / 4.033 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001722/9.891, allocations: 479.7 kB / 4.034 GB, free: 182.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 (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.001495/9.892, allocations: 0.9079 MB / 4.035 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002361/9.895, allocations: 0.9474 MB / 4.036 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/9.895, allocations: 0 / 4.036 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006195/9.895, allocations: 255.7 kB / 4.036 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/9.897, allocations: 457.7 kB / 4.036 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/9.9, allocations: 1.371 MB / 4.038 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/9.9, allocations: 1.203 MB / 4.039 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001944/9.902, allocations: 0.7919 MB / 4.039 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.797e-05/9.903, allocations: 43.44 kB / 4.04 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of SimCode: time 9.41e-07/9.903, allocations: 0 / 4.04 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.04382/9.946, allocations: 31.87 MB / 4.071 GB, free: 145 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches