Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 111.8 kB / 18.34 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 188.5 kB / 21.52 MB, free: 0.7969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 225.6 MB / 250.1 MB, free: 3.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.611/2.611, allocations: 496.2 MB / 0.7826 GB, free: 12.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.356e-05, allocations: 5.375 kB / 1.137 GB, free: 12.56 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003482/0.003505, allocations: 2.269 MB / 1.139 GB, free: 10.27 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002063/0.005568, allocations: 1.282 MB / 1.14 GB, free: 8.984 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001193/0.005687, allocations: 4 kB / 1.14 GB, free: 8.98 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004458/0.006133, allocations: 179.3 kB / 1.14 GB, free: 8.805 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003545/0.006487, allocations: 175.2 kB / 1.14 GB, free: 8.633 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000531/0.007018, allocations: 254.3 kB / 1.141 GB, free: 8.387 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000501/0.007519, allocations: 0.491 MB / 1.141 GB, free: 7.895 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.007685, allocations: 61.23 kB / 1.141 GB, free: 7.832 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.007986, allocations: 239.2 kB / 1.141 GB, free: 7.598 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.008194, allocations: 179.2 kB / 1.141 GB, free: 7.422 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.008239, allocations: 24 kB / 1.142 GB, free: 7.398 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.008388, allocations: 75.97 kB / 1.142 GB, free: 7.324 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.000415/0.008803, allocations: 0.5256 MB / 1.142 GB, free: 6.793 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.0001976/0.009001, allocations: 323.3 kB / 1.142 GB, free: 6.473 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.245e-05/0.009063, allocations: 51.81 kB / 1.142 GB, free: 6.422 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.927e-05/0.009103, allocations: 8 kB / 1.142 GB, free: 6.414 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 (29) * Number of variables: 29 (27) Notification: Performance of Bindings: time 0.00114/0.01024, allocations: 1.066 MB / 1.144 GB, free: 5.227 MB / 0.92 GB Notification: Performance of FunctionAlias: time 0.0001136/0.01036, allocations: 76.36 kB / 1.144 GB, free: 5.156 MB / 0.92 GB Notification: Performance of Early Inline: time 0.0004711/0.01083, allocations: 453 kB / 1.144 GB, free: 4.688 MB / 0.92 GB Notification: Performance of Simplify 1: time 0.0001218/0.01095, allocations: 101.4 kB / 1.144 GB, free: 4.559 MB / 0.92 GB Notification: Performance of Alias: time 0.000885/0.01183, allocations: 0.6153 MB / 1.145 GB, free: 3.832 MB / 0.92 GB Notification: Performance of Simplify 2: time 9.843e-05/0.01193, allocations: 88.34 kB / 1.145 GB, free: 3.719 MB / 0.92 GB Notification: Performance of Remove Stream: time 8.093e-05/0.01201, allocations: 84.36 kB / 1.145 GB, free: 3.609 MB / 0.92 GB Notification: Performance of Detect States: time 0.0002981/0.01231, allocations: 217.4 kB / 1.145 GB, free: 3.359 MB / 0.92 GB Notification: Performance of Events: time 0.0001295/0.01244, allocations: 75.81 kB / 1.145 GB, free: 3.285 MB / 0.92 GB Notification: Performance of Partitioning: time 0.0001851/0.01263, allocations: 152.2 kB / 1.145 GB, free: 3.121 MB / 0.92 GB Notification: Performance of Causalize: time 0.0005899/0.01322, allocations: 475.9 kB / 1.146 GB, free: 2.645 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 0.0002599/0.01348, allocations: 267.7 kB / 1.146 GB, free: 2.383 MB / 0.92 GB Notification: Performance of Simplify: time 0.002955/0.01643, allocations: 0.6826 MB / 1.147 GB, free: 1.723 MB / 0.92 GB Notification: Performance of Inline: time 0.0005289/0.01696, allocations: 0.5358 MB / 1.147 GB, free: 1.18 MB / 0.92 GB Notification: Performance of Partitioning: time 4.001e-05/0.017, allocations: 30.36 kB / 1.147 GB, free: 1.145 MB / 0.92 GB Notification: Performance of Cleanup: time 0.0001082/0.01711, allocations: 123.9 kB / 1.147 GB, free: 1.023 MB / 0.92 GB Notification: Performance of Causalize: time 0.001809/0.01892, allocations: 1.481 MB / 1.149 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of Tearing: time 1.042e-05/0.01893, allocations: 4 kB / 1.149 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of Initialization: time 3e-07/0.01893, allocations: 0 / 1.149 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of Remove Dummies: time 4.98e-06/0.01893, allocations: 0 / 1.149 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of Tearing: time 1.653e-06/0.01893, allocations: 3.938 kB / 1.149 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of Categorize: time 9.648e-06/0.01894, allocations: 4 kB / 1.149 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of Solve: time 0.0002229/0.01917, allocations: 134 kB / 1.149 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of Jacobian: time 4.569e-06/0.01917, allocations: 0 / 1.149 GB, free: 15.39 MB / 0.9356 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: .................... 4 (4) {TTanTop.tab.nextTimeEvent, TTanTop.tab.nextTimeEventScaled, TTanBot.tab.nextTimeEvent, TTanBot.tab.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 13 (12) {tanSta.hysEmp.y, tanSta.not1.y, tanSta.y, tanSta.assMes.u, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $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: ........... 21 (scalar:21, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, 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: ........... 59 (scalar:55, array:2, record:2) * Number of multi strong components: ............ 4 (algorithm:4, when:0, 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: Performance of backend: time 4.688e-05/0.01922, allocations: 37.62 kB / 1.149 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of SimCode: time 0.003324/0.02254, allocations: 2.321 MB / 1.151 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of Templates: time 0.007136/0.02968, allocations: 3.299 MB / 1.154 GB, free: 9.875 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.373722323216498]