Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.631/2.631, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001276/0.001276, allocations: 186.4 kB / 0.4902 GB, free: 2.25 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.882/1.882, allocations: 223.2 MB / 0.7992 GB, free: 14.69 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.001131/0.00113, allocations: 94.95 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005043/0.0005043, allocations: 11.22 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3837, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.74/5.124, allocations: 1.87 GB / 3.099 GB, free: 82.77 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/5.124, allocations: 96.92 kB / 3.099 GB, free: 82.71 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.041/9.166, allocations: 1.081 GB / 4.18 GB, free: 363.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.827e-06/9.166, allocations: 0 / 4.18 GB, free: 363.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003077/9.166, allocations: 25.64 kB / 4.18 GB, free: 363.9 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.007861/9.174, allocations: 1.586 MB / 4.182 GB, free: 362.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/9.174, allocations: 8.703 kB / 4.182 GB, free: 362.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/9.176, allocations: 202.4 kB / 4.182 GB, free: 362.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004795/9.18, allocations: 1.437 MB / 4.183 GB, free: 362 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.222e-05/9.181, allocations: 47.78 kB / 4.183 GB, free: 362 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002311/9.181, allocations: 66.53 kB / 4.183 GB, free: 361.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/9.183, allocations: 0.9465 MB / 4.184 GB, free: 361.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/9.183, allocations: 10.91 kB / 4.184 GB, free: 361.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.232e-05/9.183, allocations: 31.53 kB / 4.184 GB, free: 361.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/9.183, allocations: 14.47 kB / 4.184 GB, free: 361.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/9.184, allocations: 0.7552 MB / 4.185 GB, free: 360.9 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.005294/9.189, allocations: 4.734 MB / 4.19 GB, free: 356.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/9.191, allocations: 4.053 MB / 4.194 GB, free: 352.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003105/9.192, allocations: 199.7 kB / 4.194 GB, free: 351.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005018/9.192, allocations: 323.9 kB / 4.194 GB, free: 351.7 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005804/9.193, allocations: 37.25 kB / 4.194 GB, free: 351.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=36): time 4.799e-06/9.193, allocations: 0 / 4.194 GB, free: 351.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=36): time 0.003344/9.196, allocations: 1.312 MB / 4.195 GB, free: 350.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/9.196, allocations: 87.97 kB / 4.195 GB, free: 350.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/9.198, allocations: 1.042 MB / 4.196 GB, free: 349.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/9.198, allocations: 37.7 kB / 4.197 GB, free: 349.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/9.198, allocations: 0.5103 MB / 4.197 GB, free: 348.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.922e-05/9.198, allocations: 133.2 kB / 4.197 GB, free: 348.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/9.198, allocations: 8 kB / 4.197 GB, free: 348.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.571e-05/9.198, allocations: 332.5 kB / 4.197 GB, free: 348.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/9.199, allocations: 212.9 kB / 4.198 GB, free: 347.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005372/9.199, allocations: 0.5502 MB / 4.198 GB, free: 347.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/9.2, allocations: 319.4 kB / 4.199 GB, free: 346.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/9.2, allocations: 0 / 4.199 GB, free: 346.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001513/9.201, allocations: 0.9815 MB / 4.199 GB, free: 345.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005084/9.202, allocations: 2.232 MB / 4.202 GB, free: 343.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/9.202, allocations: 7.953 kB / 4.202 GB, free: 343.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005787/9.202, allocations: 286 kB / 4.202 GB, free: 343.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/9.203, allocations: 91.81 kB / 4.202 GB, free: 343.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/9.204, allocations: 1.658 MB / 4.204 GB, free: 341.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/9.205, allocations: 107.7 kB / 4.204 GB, free: 341.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-05/9.205, allocations: 27.98 kB / 4.204 GB, free: 341.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/9.205, allocations: 4.188 kB / 4.204 GB, free: 341.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001328/9.207, allocations: 0.7942 MB / 4.205 GB, free: 340.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/9.207, allocations: 12.59 kB / 4.205 GB, free: 340.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004733/9.207, allocations: 217.8 kB / 4.205 GB, free: 340.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/9.207, allocations: 83.83 kB / 4.205 GB, free: 340.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003178/9.211, allocations: 2.962 MB / 4.208 GB, free: 337.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/9.212, allocations: 111.8 kB / 4.208 GB, free: 337 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.842e-05/9.212, allocations: 24 kB / 4.208 GB, free: 337 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006525/9.212, allocations: 481.5 kB / 4.208 GB, free: 336.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/9.213, allocations: 106.7 kB / 4.208 GB, free: 336.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/9.214, allocations: 0.7815 MB / 4.209 GB, free: 335.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/9.214, allocations: 4 kB / 4.209 GB, free: 335.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/9.214, allocations: 7.984 kB / 4.209 GB, free: 335.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/9.214, allocations: 3.953 kB / 4.209 GB, free: 335.6 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 postOpt removeSimpleEquations (simulation): time 0.003411/9.218, allocations: 2.161 MB / 4.211 GB, free: 333.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/9.218, allocations: 4 kB / 4.211 GB, free: 333.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/9.218, allocations: 63.89 kB / 4.211 GB, free: 333.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003797/9.218, allocations: 204.1 kB / 4.212 GB, free: 333.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/9.218, allocations: 12 kB / 4.212 GB, free: 333 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000967/9.219, allocations: 1.468 MB / 4.213 GB, free: 331.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/9.219, allocations: 4.094 kB / 4.213 GB, free: 331.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/9.22, allocations: 0.9636 MB / 4.214 GB, free: 330.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005961/9.221, allocations: 235.7 kB / 4.214 GB, free: 330.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/9.221, allocations: 15.98 kB / 4.214 GB, free: 330.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006627/9.222, allocations: 71.77 kB / 4.214 GB, free: 330.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/9.222, allocations: 43.69 kB / 4.214 GB, free: 330.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/9.222, allocations: 16 kB / 4.214 GB, free: 330.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00106/9.223, allocations: 0.8209 MB / 4.215 GB, free: 329.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/9.223, allocations: 4 kB / 4.215 GB, free: 329.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002154/9.225, allocations: 0.6087 MB / 4.216 GB, free: 328.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001683/9.227, allocations: 1.07 MB / 4.217 GB, free: 327.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002441/9.229, allocations: 1.273 MB / 4.218 GB, free: 326.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/9.229, allocations: 0 / 4.218 GB, free: 326.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005682/9.23, allocations: 316.2 kB / 4.218 GB, free: 326.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/9.233, allocations: 0.6514 MB / 4.219 GB, free: 325.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/9.236, allocations: 2.216 MB / 4.221 GB, free: 323.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/9.236, allocations: 1.24 MB / 4.222 GB, free: 322 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001087/9.237, allocations: 388 kB / 4.223 GB, free: 321.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/9.238, allocations: 71.38 kB / 4.223 GB, free: 321.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.382e-06/9.238, allocations: 0 / 4.223 GB, free: 321.5 MB / 1.167 GB Notification: Performance of Templates: time 0.04554/9.283, allocations: 33.18 MB / 4.255 GB, free: 288.6 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches