Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.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.00193/0.00193, allocations: 111.8 kB / 18.34 MB, free: 3.684 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.001862/0.001862, allocations: 192.5 kB / 21.51 MB, free: 0.5195 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.491/1.491, allocations: 225.6 MB / 250.1 MB, free: 13.5 MB / 206.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 3.286/3.286, allocations: 496.1 MB / 0.7826 GB, free: 33.67 MB / 0.6231 GB " [Timeout remaining time 176] 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.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|idxLasTru.y|idxLasTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|idxLasTru.y|idxLasTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.488e-05, allocations: 5.234 kB / 1.136 GB, free: 34 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex): time 0.001772/0.001797, allocations: 0.7231 MB / 1.137 GB, free: 33.55 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0002183/0.002015, allocations: 47.84 kB / 1.137 GB, free: 33.52 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.002091, allocations: 7.781 kB / 1.137 GB, free: 33.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.002216, allocations: 15.11 kB / 1.137 GB, free: 33.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.002334, allocations: 6.562 kB / 1.137 GB, free: 33.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 5.584e-05/0.00239, allocations: 22.16 kB / 1.137 GB, free: 33.49 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000235/0.002625, allocations: 125.7 kB / 1.137 GB, free: 33.44 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.002763, allocations: 40.42 kB / 1.137 GB, free: 33.42 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.902e-05/0.002802, allocations: 26.33 kB / 1.137 GB, free: 33.41 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.553e-05/0.002857, allocations: 33.91 kB / 1.138 GB, free: 33.39 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.00288, allocations: 5.25 kB / 1.138 GB, free: 33.39 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.002895, allocations: 8.469 kB / 1.138 GB, free: 33.39 MB / 0.9044 GB Notification: Performance of combineBinaries: time 8.002e-05/0.002975, allocations: 109.7 kB / 1.138 GB, free: 33.31 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.954e-05/0.003005, allocations: 82.83 kB / 1.138 GB, free: 33.25 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.677e-05/0.003022, allocations: 10.53 kB / 1.138 GB, free: 33.25 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.22e-05/0.003044, allocations: 5.812 kB / 1.138 GB, free: 33.25 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: 64 (14) * Number of variables: 64 (14) Notification: Performance of Bindings: time 0.000411/0.003455, allocations: 386.6 kB / 1.138 GB, free: 32.86 MB / 0.9044 GB Notification: Performance of FunctionAlias: time 3.52e-05/0.00349, allocations: 24.97 kB / 1.138 GB, free: 32.84 MB / 0.9044 GB Notification: Performance of Early Inline: time 0.0001149/0.003605, allocations: 158.5 kB / 1.138 GB, free: 32.71 MB / 0.9044 GB Notification: Performance of Simplify 1: time 4.472e-05/0.00365, allocations: 63.75 kB / 1.138 GB, free: 32.64 MB / 0.9044 GB Notification: Performance of Alias: time 0.000696/0.004346, allocations: 0.5587 MB / 1.139 GB, free: 32.28 MB / 0.9044 GB Notification: Performance of Simplify 2: time 3.142e-05/0.004377, allocations: 48.16 kB / 1.139 GB, free: 32.21 MB / 0.9044 GB Notification: Performance of Remove Stream: time 2.452e-05/0.004402, allocations: 48.39 kB / 1.139 GB, free: 32.15 MB / 0.9044 GB Notification: Performance of Detect States: time 0.0001163/0.004518, allocations: 88.33 kB / 1.139 GB, free: 32.04 MB / 0.9044 GB Notification: Performance of Events: time 1.686e-05/0.004535, allocations: 13.75 kB / 1.139 GB, free: 32.04 MB / 0.9044 GB Notification: Performance of Partitioning: time 7.078e-05/0.004606, allocations: 66.58 kB / 1.139 GB, free: 31.98 MB / 0.9044 GB Notification: Performance of Causalize: time 0.0003442/0.00495, allocations: 323.1 kB / 1.139 GB, free: 31.86 MB / 0.9044 GB Notification: Performance of After Index Reduction Inline: time 5.662e-05/0.005007, allocations: 71 kB / 1.139 GB, free: 31.82 MB / 0.9044 GB Notification: Performance of Simplify: time 9.55e-05/0.005102, allocations: 95.25 kB / 1.14 GB, free: 31.71 MB / 0.9044 GB Notification: Performance of Inline: time 7.693e-05/0.005179, allocations: 117.8 kB / 1.14 GB, free: 31.63 MB / 0.9044 GB Notification: Performance of Partitioning: time 9.128e-06/0.005188, allocations: 10.94 kB / 1.14 GB, free: 31.62 MB / 0.9044 GB Notification: Performance of Cleanup: time 2.03e-05/0.005208, allocations: 28 kB / 1.14 GB, free: 31.6 MB / 0.9044 GB Notification: Performance of Causalize: time 0.0003414/0.00555, allocations: 332.4 kB / 1.14 GB, free: 31.49 MB / 0.9044 GB Notification: Performance of Tearing: time 1.085e-05/0.005561, allocations: 7.875 kB / 1.14 GB, free: 31.48 MB / 0.9044 GB Notification: Performance of Initialization: time 2.8e-07/0.005561, allocations: 0 / 1.14 GB, free: 31.48 MB / 0.9044 GB Notification: Performance of Remove Dummies: time 3.937e-06/0.005565, allocations: 0 / 1.14 GB, free: 31.48 MB / 0.9044 GB Notification: Performance of Tearing: time 8.42e-07/0.005566, allocations: 0 / 1.14 GB, free: 31.48 MB / 0.9044 GB Notification: Performance of Categorize: time 9.708e-06/0.005575, allocations: 4 kB / 1.14 GB, free: 31.48 MB / 0.9044 GB Notification: Performance of Solve: time 5.764e-05/0.005633, allocations: 19.28 kB / 1.14 GB, free: 31.47 MB / 0.9044 GB Notification: Performance of Jacobian: time 5.15e-06/0.005638, allocations: 0 / 1.14 GB, free: 31.47 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 26 (6) {idxLasTru.y, idxLasTru.booToInt.y, idxLasTruAllFal.y, idxLasTruAllFal.booToInt.y, conAllFal.y, con.y} * 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: ........... 2 (scalar:2, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, 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: ........... 2 (scalar:2, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.929e-05/0.005677, allocations: 26.64 kB / 1.14 GB, free: 31.45 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001035/0.006713, allocations: 1.536 MB / 1.142 GB, free: 30.42 MB / 0.9044 GB Notification: Performance of Templates: time 0.003497/0.01021, allocations: 0.6359 MB / 1.142 GB, free: 30.33 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.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: 8.714810392819345]