Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) 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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=5000,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanSta.TTan.1.|tanSta.TTan.2.|tanSta.THig|tanSta.TLow|tanSta.y.1.|tanSta.y.2.",fileNamePrefix="Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 113.2 kB / 16.42 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 188.3 kB / 17.36 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.137/1.137, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.235/2.235, allocations: 469.8 MB / 0.7432 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.272e-05, allocations: 2.281 kB / 1.066 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.002748/0.002768, allocations: 2.247 MB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.004517, allocations: 1.278 MB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.00463, allocations: 4 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.004987, allocations: 175.3 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.005285, allocations: 167.2 kB / 1.07 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.005728, allocations: 251.4 kB / 1.07 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004016/0.006137, allocations: 450.8 kB / 1.07 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.006285, allocations: 61.28 kB / 1.07 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.006501, allocations: 191.3 kB / 1.07 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.006669, allocations: 159.3 kB / 1.071 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.264e-05/0.006719, allocations: 24 kB / 1.071 GB, free: 8.629 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.006858, allocations: 75.95 kB / 1.071 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0003076/0.007172, allocations: 490.3 kB / 1.071 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0001472/0.007327, allocations: 315.4 kB / 1.071 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.007375, allocations: 43.81 kB / 1.072 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.97e-05/0.00741, allocations: 7.938 kB / 1.072 GB, free: 7.707 MB / 0.8419 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.0008725/0.008287, allocations: 1.002 MB / 1.073 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 7.541e-05/0.008367, allocations: 57.89 kB / 1.073 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0004052/0.008779, allocations: 445.1 kB / 1.073 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of simplify1: time 8.585e-05/0.008872, allocations: 89.42 kB / 1.073 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of Alias: time 0.0005648/0.009443, allocations: 481.4 kB / 1.074 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of simplify2: time 7.828e-05/0.00953, allocations: 84.25 kB / 1.074 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001907/0.009727, allocations: 176 kB / 1.074 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of Events: time 0.000211/0.009945, allocations: 155.3 kB / 1.074 GB, free: 4.969 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001755/0.01013, allocations: 185.5 kB / 1.074 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0006541/0.01079, allocations: 0.6075 MB / 1.075 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0003217/0.01112, allocations: 386.3 kB / 1.075 GB, free: 3.656 MB / 0.8419 GB Notification: Performance of Inline: time 0.002538/0.01366, allocations: 1.132 MB / 1.076 GB, free: 2.555 MB / 0.8419 GB Notification: Performance of Partitioning: time 4.075e-05/0.01371, allocations: 31.62 kB / 1.076 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001119/0.01383, allocations: 143.8 kB / 1.076 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of Causalize: time 0.00164/0.01548, allocations: 1.517 MB / 1.078 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of Tearing: time 9.458e-06/0.0155, allocations: 0 / 1.078 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of Initialization: time 4.11e-07/0.0155, allocations: 0 / 1.078 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of Tearing: time 1.182e-05/0.01552, allocations: 7.938 kB / 1.078 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of Categorize: time 8.516e-06/0.01553, allocations: 0 / 1.078 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of Solve: time 0.000218/0.01575, allocations: 162 kB / 1.078 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.284e-06/0.01576, allocations: 4 kB / 1.078 GB, free: 0.6875 MB / 0.8419 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: ......... 8 * 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 20 (19) {tanSta.hysEmp.y, tanSta.not1.y, tanSta.y, tanSta.assMes.u, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 30 (scalar:28, array:2, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, if:0, tuple:0) * Number of for-loop strong components: ......... 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: ........... 68 (scalar:62, 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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.746e-05/0.0158, allocations: 36.12 kB / 1.078 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of SimCode: time 0.3787/0.3945, allocations: 2.447 MB / 1.08 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of Templates: time 0.006805/0.4013, allocations: 3.726 MB / 1.084 GB, free: 15.73 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile (rm -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches