Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 104.3 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 209.7 kB / 23.01 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.33/1.33, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.932/2.932, allocations: 0.49 GB / 0.7958 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.32e-05/1.32e-05, allocations: 2.5 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.1803/0.1804, allocations: 148 MB / 1.3 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004026/0.1844, allocations: 2.071 MB / 1.302 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003518/0.1847, allocations: 27.75 kB / 1.302 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007377/0.1855, allocations: 234.5 kB / 1.302 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.1872, allocations: 0.694 MB / 1.302 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.1883, allocations: 459.9 kB / 1.303 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001921/0.1902, allocations: 1.729 MB / 1.305 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004652/0.1949, allocations: 4.04 MB / 1.309 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002747/0.1976, allocations: 1.579 MB / 1.31 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.1992, allocations: 1.396 MB / 1.311 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003624/0.1996, allocations: 164 kB / 1.312 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.2009, allocations: 0.7525 MB / 1.312 GB, free: 15.78 MB / 1.014 GB Notification: Performance of combineBinaries: time 0.001998/0.2029, allocations: 1.975 MB / 1.314 GB, free: 13.79 MB / 1.014 GB Notification: Performance of replaceArrayConstructors: time 0.0005217/0.2034, allocations: 0.6111 MB / 1.315 GB, free: 13.18 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.2035, allocations: 44 kB / 1.315 GB, free: 13.13 MB / 1.014 GB Notification: Performance of FrontEnd: time 6.863e-05/0.2036, allocations: 15.98 kB / 1.315 GB, free: 13.12 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 (98) * Number of variables: 136 (44) Notification: Performance of [SIM] Bindings: time 0.005331/0.2089, allocations: 5.022 MB / 1.32 GB, free: 7.945 MB / 1.014 GB Notification: Performance of [SIM] FunctionAlias: time 0.001931/0.2109, allocations: 1.865 MB / 1.322 GB, free: 6.062 MB / 1.014 GB Notification: Performance of [SIM] Early Inline: time 0.006649/0.2175, allocations: 6.303 MB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of [SIM] Simplify 1: time 0.002573/0.2201, allocations: 1.887 MB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of [SIM] Alias: time 0.003896/0.224, allocations: 3.272 MB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of [SIM] Simplify 2: time 0.002317/0.2263, allocations: 1.872 MB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of [SIM] Remove Stream: time 0.002933/0.2292, allocations: 2.532 MB / 1.337 GB, free: 5.895 MB / 1.029 GB Notification: Performance of [SIM] Detect States: time 0.001489/0.2307, allocations: 1.297 MB / 1.338 GB, free: 4.543 MB / 1.029 GB Notification: Performance of [SIM] Events: time 0.00039/0.2311, allocations: 347.4 kB / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of [SIM] Partitioning: time 0.002439/0.2336, allocations: 2.268 MB / 1.341 GB, free: 1.914 MB / 1.029 GB Notification: Performance of [SIM] Causalize: time 0.007175/0.2407, allocations: 4.926 MB / 1.346 GB, free: 12.93 MB / 1.045 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.005017/0.2457, allocations: 5.148 MB / 1.351 GB, free: 7.777 MB / 1.045 GB Notification: Performance of [INI] Simplify: time 0.003872/0.2496, allocations: 2.6 MB / 1.353 GB, free: 5.105 MB / 1.045 GB Notification: Performance of [INI] Inline: time 0.008567/0.2582, allocations: 8.917 MB / 1.362 GB, free: 12.18 MB / 1.061 GB Notification: Performance of [INI] Partitioning: time 0.0001166/0.2583, allocations: 33.38 kB / 1.362 GB, free: 12.14 MB / 1.061 GB Notification: Performance of [INI] Cleanup: time 0.001968/0.2603, allocations: 1.631 MB / 1.364 GB, free: 10.5 MB / 1.061 GB Notification: Performance of [INI] Causalize: time 0.01655/0.2768, allocations: 11.51 MB / 1.375 GB, free: 14.91 MB / 1.076 GB Notification: Performance of [INI] Tearing: time 0.0004777/0.2773, allocations: 371 kB / 1.375 GB, free: 14.55 MB / 1.076 GB Notification: Performance of [SIM] Initialization: time 1.523e-06/0.2773, allocations: 4 kB / 1.375 GB, free: 14.55 MB / 1.076 GB Notification: Performance of [SIM] Remove Dummies: time 9.528e-06/0.2773, allocations: 0.5 kB / 1.375 GB, free: 14.55 MB / 1.076 GB Notification: Performance of [SIM] Tearing: time 0.0002048/0.2775, allocations: 173.2 kB / 1.375 GB, free: 14.38 MB / 1.076 GB Notification: Performance of [SIM] Categorize: time 1.279e-05/0.2775, allocations: 4 kB / 1.375 GB, free: 14.38 MB / 1.076 GB Notification: Performance of [SIM] Solve: time 0.007493/0.285, allocations: 5.566 MB / 1.381 GB, free: 8.863 MB / 1.076 GB Notification: Performance of [SIM] Jacobian: time 0.001587/0.2866, allocations: 1.131 MB / 1.382 GB, free: 7.688 MB / 1.076 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 2 (2) {pulse_m_flow.T_start, pulse_m_flow.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {$SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 61 (scalar:59, array:2, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 75 (scalar:69, array:6, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 8 (resizable: 8, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 75 (scalar:69, array:6, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 8 (resizable: 8, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 8.857e-05/0.2867, allocations: 67.3 kB / 1.382 GB, free: 7.629 MB / 1.076 GB Notification: Performance of SimCode: time 0.009126/0.2958, allocations: 7.429 MB / 1.389 GB, free: 124 kB / 1.076 GB Notification: Performance of Templates: time 0.03937/0.3352, allocations: 27.65 MB / 1.416 GB, free: 4.371 MB / 1.107 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.67302662320435]