Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.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.001351/0.001351, allocations: 97.33 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.00144/0.00144, allocations: 209.2 kB / 23.01 MB, free: 4.93 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.234/1.234, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.656/2.656, allocations: 0.49 GB / 0.7958 GB, free: 35.62 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.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_12_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_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.156e-05/1.156e-05, allocations: 2.281 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.002504/0.002515, allocations: 2.17 MB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.004215, allocations: 1.362 MB / 1.158 GB, free: 22.92 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.706e-05/0.004312, allocations: 9 kB / 1.158 GB, free: 22.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.004662, allocations: 172.8 kB / 1.159 GB, free: 22.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.005021, allocations: 222.5 kB / 1.159 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.005281, allocations: 179.1 kB / 1.159 GB, free: 22.66 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000407/0.005688, allocations: 0.5206 MB / 1.16 GB, free: 22.41 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.005828, allocations: 62.92 kB / 1.16 GB, free: 22.38 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.006041, allocations: 228.9 kB / 1.16 GB, free: 22.28 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.006209, allocations: 179.2 kB / 1.16 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.574e-05/0.006255, allocations: 26.91 kB / 1.16 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.006383, allocations: 78.23 kB / 1.16 GB, free: 22.18 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0003085/0.006691, allocations: 0.6179 MB / 1.161 GB, free: 21.75 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001421/0.006834, allocations: 410.8 kB / 1.161 GB, free: 21.47 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.006872, allocations: 17.53 kB / 1.161 GB, free: 21.47 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.752e-05/0.006899, allocations: 10.16 kB / 1.161 GB, free: 21.47 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: 29 (29) * Number of variables: 29 (27) Notification: Performance of [SIM] Bindings: time 0.001012/0.007911, allocations: 1.442 MB / 1.162 GB, free: 20.4 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001375/0.008048, allocations: 129.6 kB / 1.163 GB, free: 20.32 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0004472/0.008496, allocations: 0.6147 MB / 1.163 GB, free: 19.95 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001459/0.008641, allocations: 158 kB / 1.163 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0007905/0.009432, allocations: 0.7217 MB / 1.164 GB, free: 19.3 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001261/0.009558, allocations: 139.9 kB / 1.164 GB, free: 19.19 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 5.364e-05/0.009612, allocations: 87.05 kB / 1.164 GB, free: 19.1 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001964/0.009808, allocations: 226.8 kB / 1.165 GB, free: 18.9 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001065/0.009915, allocations: 84.03 kB / 1.165 GB, free: 18.85 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001801/0.01009, allocations: 187.2 kB / 1.165 GB, free: 18.75 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0004113/0.01051, allocations: 361.3 kB / 1.165 GB, free: 18.64 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002863/0.01079, allocations: 432 kB / 1.166 GB, free: 18.42 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.003103/0.0139, allocations: 0.8017 MB / 1.166 GB, free: 17.95 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.00055/0.01445, allocations: 0.7839 MB / 1.167 GB, free: 17.49 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 4.028e-05/0.01449, allocations: 39.5 kB / 1.167 GB, free: 17.45 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 8.949e-05/0.01458, allocations: 124.4 kB / 1.167 GB, free: 17.38 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.002197/0.01677, allocations: 2.03 MB / 1.169 GB, free: 16.89 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.86e-05/0.01679, allocations: 32.91 kB / 1.169 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.71e-07/0.01679, allocations: 1.156 kB / 1.169 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.419e-06/0.0168, allocations: 0 / 1.169 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.929e-06/0.0168, allocations: 16.81 kB / 1.169 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.933e-06/0.01681, allocations: 1.188 kB / 1.169 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0004448/0.01725, allocations: 437.4 kB / 1.17 GB, free: 16.68 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.362e-06/0.01726, allocations: 4 kB / 1.17 GB, free: 16.68 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: .................... 4 (4) {TTanTop.tab.nextTimeEvent, TTanTop.tab.nextTimeEventScaled, TTanBot.tab.nextTimeEvent, TTanBot.tab.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 14 (13) {tanSta.y, tanSta.hysCha.y, tanSta.hysEmp.y, tanSta.not1.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: ........... 22 (scalar:22, 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: ........... 64 (scalar:58, array:4, 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 3.347e-05/0.01729, allocations: 41.33 kB / 1.17 GB, free: 16.64 MB / 0.9044 GB Notification: Performance of SimCode: time 0.002855/0.02015, allocations: 1.859 MB / 1.172 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of Templates: time 0.006742/0.02689, allocations: 3.741 MB / 1.175 GB, free: 15.4 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.062075285241008]