Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.00139/0.00139, allocations: 96.42 kB / 19.71 MB, free: 2.125 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.001507/0.001507, allocations: 211.5 kB / 23.01 MB, free: 4.934 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.275/1.275, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.817/2.817, allocations: 0.49 GB / 0.7958 GB, free: 35.39 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.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.517e-05, allocations: 3.828 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.002741/0.002756, allocations: 2.119 MB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002763/0.005519, allocations: 2.541 MB / 1.16 GB, free: 22.12 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.722e-05/0.005607, allocations: 2.969 kB / 1.16 GB, free: 22.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.00673, allocations: 499.3 kB / 1.16 GB, free: 21.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.007016, allocations: 168.2 kB / 1.16 GB, free: 21.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.007436, allocations: 206.3 kB / 1.16 GB, free: 21.73 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003817/0.007817, allocations: 388.5 kB / 1.161 GB, free: 21.58 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.61e-05/0.007913, allocations: 14.39 kB / 1.161 GB, free: 21.58 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.008092, allocations: 187.3 kB / 1.161 GB, free: 21.51 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.008306, allocations: 192.6 kB / 1.161 GB, free: 21.45 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.00833, allocations: 11.03 kB / 1.161 GB, free: 21.45 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004801/0.00881, allocations: 269 kB / 1.161 GB, free: 21.4 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0004091/0.009219, allocations: 0.528 MB / 1.162 GB, free: 21.11 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001688/0.009388, allocations: 338 kB / 1.162 GB, free: 20.89 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.375e-05/0.009432, allocations: 13.69 kB / 1.162 GB, free: 20.89 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.821e-05/0.00945, allocations: 5.984 kB / 1.162 GB, free: 20.89 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 (9) * Number of variables: 9 (9) Notification: Performance of [SIM] Bindings: time 0.001953/0.0114, allocations: 2.874 MB / 1.165 GB, free: 19.14 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001658/0.01157, allocations: 111.2 kB / 1.165 GB, free: 19.07 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0001625/0.01173, allocations: 220.7 kB / 1.165 GB, free: 18.91 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001236/0.01186, allocations: 110.8 kB / 1.166 GB, free: 18.79 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0004681/0.01232, allocations: 307 kB / 1.166 GB, free: 18.54 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001013/0.01242, allocations: 109.4 kB / 1.166 GB, free: 18.42 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.674e-05/0.01246, allocations: 55.25 kB / 1.166 GB, free: 18.36 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001386/0.0126, allocations: 142.9 kB / 1.166 GB, free: 18.2 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.356e-05/0.01267, allocations: 40.03 kB / 1.166 GB, free: 18.18 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001388/0.01281, allocations: 123.7 kB / 1.166 GB, free: 18.1 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0003058/0.01312, allocations: 234.1 kB / 1.166 GB, free: 18.03 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001479/0.01327, allocations: 198.4 kB / 1.167 GB, free: 17.93 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.001826/0.01509, allocations: 430.4 kB / 1.167 GB, free: 17.63 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002555/0.01535, allocations: 321.8 kB / 1.167 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.046e-05/0.01537, allocations: 16.73 kB / 1.167 GB, free: 17.45 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 5.04e-05/0.01542, allocations: 62.73 kB / 1.167 GB, free: 17.41 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001246/0.01666, allocations: 1.015 MB / 1.168 GB, free: 17.17 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.286e-05/0.01668, allocations: 12.47 kB / 1.168 GB, free: 17.16 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 6.31e-07/0.01668, allocations: 0 / 1.168 GB, free: 17.16 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.21e-06/0.01668, allocations: 1.031 kB / 1.168 GB, free: 17.16 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.679e-06/0.01669, allocations: 14.72 kB / 1.168 GB, free: 17.15 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 8.316e-06/0.0167, allocations: 2 kB / 1.168 GB, free: 17.15 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001924/0.01689, allocations: 138.6 kB / 1.169 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.171e-06/0.0169, allocations: 1.625 kB / 1.169 GB, free: 17.09 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 2 (2) {sta.combiTimeTable.nextTimeEvent, sta.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (7) {speSel.stage, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_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: ........... 13 (scalar:13, array:0, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 26 (scalar:23, array:2, record:1) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (resizable: 1, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.099e-05/0.01693, allocations: 32.86 kB / 1.169 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of SimCode: time 0.004474/0.0214, allocations: 3.088 MB / 1.172 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of Templates: time 0.009133/0.03053, allocations: 4.266 MB / 1.176 GB, free: 15.36 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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: 7.5333601189777255]