Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.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.001679/0.001679, allocations: 105.2 kB / 19.72 MB, free: 2.145 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.002233/0.002233, allocations: 209.2 kB / 23.01 MB, free: 4.965 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.597/1.597, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 3.321/3.321, allocations: 0.49 GB / 0.7958 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] 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.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|idxLasTru.y|idxLasTruAllFal.y",fileNamePrefix="Buildings_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.727e-05, allocations: 2.281 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex): time 0.002043/0.002071, allocations: 0.7117 MB / 1.156 GB, free: 24.84 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.000265/0.002336, allocations: 48.36 kB / 1.156 GB, free: 24.81 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.575e-05/0.002421, allocations: 2.25 kB / 1.156 GB, free: 24.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.002554, allocations: 17.2 kB / 1.156 GB, free: 24.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.002695, allocations: 10.94 kB / 1.156 GB, free: 24.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 6.275e-05/0.002758, allocations: 20.66 kB / 1.156 GB, free: 24.78 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002726/0.003031, allocations: 126.1 kB / 1.156 GB, free: 24.73 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.00318, allocations: 32.27 kB / 1.156 GB, free: 24.71 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6.026e-05/0.00324, allocations: 29.73 kB / 1.156 GB, free: 24.7 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.974e-05/0.00332, allocations: 33.38 kB / 1.156 GB, free: 24.68 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.003348, allocations: 7.219 kB / 1.156 GB, free: 24.68 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 1.944e-05/0.003368, allocations: 6.406 kB / 1.156 GB, free: 24.68 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001104/0.003478, allocations: 132.1 kB / 1.156 GB, free: 24.59 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 6.256e-05/0.003541, allocations: 100.1 kB / 1.156 GB, free: 24.52 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.794e-05/0.003559, allocations: 9.188 kB / 1.156 GB, free: 24.52 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.471e-05/0.003583, allocations: 5.406 kB / 1.156 GB, free: 24.52 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 [SIM] Bindings: time 0.0007002/0.004283, allocations: 484.8 kB / 1.157 GB, free: 24.07 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 7.111e-05/0.004355, allocations: 64.64 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002034/0.004558, allocations: 201.8 kB / 1.157 GB, free: 23.87 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 7.975e-05/0.004638, allocations: 79.47 kB / 1.157 GB, free: 23.77 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0008824/0.00552, allocations: 0.5379 MB / 1.158 GB, free: 23.44 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 5.838e-05/0.005578, allocations: 79.89 kB / 1.158 GB, free: 23.33 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.471e-05/0.005613, allocations: 50.19 kB / 1.158 GB, free: 23.27 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 9.001e-05/0.005703, allocations: 97.67 kB / 1.158 GB, free: 23.14 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 1.809e-05/0.005721, allocations: 5.109 kB / 1.158 GB, free: 23.14 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001083/0.00583, allocations: 75.61 kB / 1.158 GB, free: 23.08 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.000387/0.006217, allocations: 254.8 kB / 1.158 GB, free: 23 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001096/0.006326, allocations: 103.1 kB / 1.158 GB, free: 22.95 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001468/0.006473, allocations: 126.3 kB / 1.158 GB, free: 22.79 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.000169/0.006642, allocations: 162 kB / 1.158 GB, free: 22.7 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.199e-05/0.006654, allocations: 12.14 kB / 1.158 GB, free: 22.69 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.168e-05/0.006686, allocations: 25.92 kB / 1.159 GB, free: 22.67 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0004252/0.007111, allocations: 265.9 kB / 1.159 GB, free: 22.6 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.408e-05/0.007125, allocations: 4.906 kB / 1.159 GB, free: 22.6 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.6e-07/0.007125, allocations: 0 / 1.159 GB, free: 22.6 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.581e-06/0.007131, allocations: 4.719 kB / 1.159 GB, free: 22.6 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.358e-06/0.007135, allocations: 9.906 kB / 1.159 GB, free: 22.59 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.112e-05/0.007146, allocations: 0.9375 kB / 1.159 GB, free: 22.59 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 8.638e-05/0.007233, allocations: 18.83 kB / 1.159 GB, free: 22.59 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 1.012e-05/0.007243, allocations: 4 kB / 1.159 GB, free: 22.58 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 5.086e-05/0.007294, allocations: 30.66 kB / 1.159 GB, free: 22.57 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001408/0.008701, allocations: 0.9738 MB / 1.16 GB, free: 22.13 MB / 0.9044 GB Notification: Performance of Templates: time 0.003861/0.01256, allocations: 0.6563 MB / 1.16 GB, free: 21.99 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.172959383111447]