Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Experimental.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_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus") translateModel(Buildings.Experimental.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_10_Buildings.Experimental.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.001132/0.001132, allocations: 112.6 kB / 16.42 MB, free: 6.523 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.001119/0.001119, allocations: 183.2 kB / 17.35 MB, free: 5.75 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.195/1.195, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.218/2.218, allocations: 437 MB / 0.7111 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/1.881e-05, allocations: 2.281 kB / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003108/0.003135, allocations: 2.27 MB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.005121, allocations: 1.275 MB / 1.023 GB, free: 5.918 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.005323, allocations: 4 kB / 1.023 GB, free: 5.914 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004191/0.005748, allocations: 175.3 kB / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003738/0.006131, allocations: 175.2 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005424/0.006699, allocations: 250.2 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000487/0.007194, allocations: 450.7 kB / 1.024 GB, free: 4.887 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.00739, allocations: 105.3 kB / 1.024 GB, free: 4.781 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/0.007667, allocations: 183.3 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.007868, allocations: 163.3 kB / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.981e-05/0.00793, allocations: 28 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.008093, allocations: 71.97 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0002984/0.008398, allocations: 490.3 kB / 1.025 GB, free: 3.859 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 0.0001536/0.008559, allocations: 311.5 kB / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.769e-05/0.008632, allocations: 51.81 kB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.954e-05/0.008687, allocations: 7.938 kB / 1.025 GB, free: 3.492 MB / 0.795 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.001127/0.009818, allocations: 1.306 MB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of FunctionAlias: time 9.111e-05/0.009915, allocations: 54.84 kB / 1.026 GB, free: 2.027 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0005116/0.01043, allocations: 0.5635 MB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of simplify1: time 4.477e-05/0.01049, allocations: 39.94 kB / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of Alias: time 0.0008145/0.0113, allocations: 0.7203 MB / 1.028 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of simplify2: time 4.757e-05/0.01136, allocations: 39.94 kB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of Detect States: time 0.0002263/0.01159, allocations: 203.3 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of Events: time 0.0002533/0.01186, allocations: 178.9 kB / 1.028 GB, free: 176 kB / 0.795 GB Notification: Performance of Partitioning: time 0.0002428/0.01211, allocations: 240.9 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of Causalize: time 0.0007892/0.0129, allocations: 0.7558 MB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of After Index Reduction Inline: time 0.0004246/0.01334, allocations: 0.5143 MB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of Inline: time 0.002939/0.01628, allocations: 1.396 MB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of Partitioning: time 7.423e-05/0.01637, allocations: 79.61 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of Cleanup: time 5.265e-05/0.01643, allocations: 43.89 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of Causalize: time 0.002266/0.01871, allocations: 2.134 MB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of Tearing: time 1.167e-05/0.01873, allocations: 0 / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of Initialization: time 5.01e-07/0.01873, allocations: 0 / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of Tearing: time 8.556e-06/0.01874, allocations: 7.938 kB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of Categorize: time 1.176e-05/0.01876, allocations: 0 / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of Solve: time 0.0002807/0.01904, allocations: 206 kB / 1.033 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of Jacobian: time 2.885e-06/0.01905, allocations: 0 / 1.033 GB, free: 10.67 MB / 0.8106 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.nextTimeEventScaled, TTanBot.tab.nextTimeEvent} * 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 5.246e-05/0.01911, allocations: 45.39 kB / 1.033 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of SimCode: time 0.002526/0.02164, allocations: 2.516 MB / 1.036 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of Templates: time 0.006742/0.0284, allocations: 3.701 MB / 1.039 GB, free: 4.574 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Cooling_Controls_Validation_TankStatus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.TankStatus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches