Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) 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.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|idxLasTru.y|idxLasTruAllFal.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|idxLasTru.y|idxLasTruAllFal.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 111 kB / 16.42 MB, free: 6.527 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.001066/0.001067, 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.145/1.145, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.22/2.22, allocations: 469.8 MB / 0.7431 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.184e-05, allocations: 2.281 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex): time 0.001355/0.001376, allocations: 0.7174 MB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002093/0.001597, allocations: 51.78 kB / 1.067 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.993e-05/0.001685, allocations: 0 / 1.067 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.001806, allocations: 15.86 kB / 1.067 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.001932, allocations: 11.92 kB / 1.067 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.065e-05/0.001993, allocations: 19.97 kB / 1.067 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.002224, allocations: 127.8 kB / 1.067 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.00235, allocations: 23.97 kB / 1.067 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.067e-05/0.002397, allocations: 27.92 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.373e-05/0.002465, allocations: 31.84 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.002494, allocations: 4 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.861e-05/0.002517, allocations: 8 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of combineBinaries: time 8.989e-05/0.002611, allocations: 110.7 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 3.812e-05/0.002654, allocations: 70.88 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.866e-05/0.002678, allocations: 15.94 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.68e-05/0.002708, allocations: 8 kB / 1.067 GB, free: 12.42 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: 64 (14) * Number of variables: 64 (14) Notification: Performance of Bindings: time 0.0004453/0.003158, allocations: 336.3 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 2.498e-05/0.003189, allocations: 19.94 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0001366/0.00333, allocations: 152.2 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of simplify1: time 4.389e-05/0.003381, allocations: 48.34 kB / 1.068 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of Alias: time 0.0002553/0.003641, allocations: 161.1 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of simplify2: time 3.992e-05/0.003691, allocations: 44.42 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of Detect States: time 7.046e-05/0.003766, allocations: 70.58 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of Events: time 1.629e-05/0.003788, allocations: 12 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of Partitioning: time 7.432e-05/0.003867, allocations: 60.22 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0007448/0.004617, allocations: 0.7292 MB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001091/0.004735, allocations: 136.2 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of Inline: time 0.00019/0.004931, allocations: 212.2 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.588e-05/0.004953, allocations: 20.11 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of Cleanup: time 2.684e-05/0.004985, allocations: 31.97 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0007434/0.005734, allocations: 0.7383 MB / 1.07 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of Tearing: time 8.165e-06/0.005752, allocations: 4 kB / 1.07 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of Initialization: time 3.11e-07/0.005757, allocations: 0 / 1.07 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of Tearing: time 1.433e-06/0.005762, allocations: 0 / 1.07 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of Categorize: time 6.442e-06/0.005772, allocations: 0 / 1.07 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of Solve: time 7.216e-05/0.005849, allocations: 47.89 kB / 1.07 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.635e-06/0.005857, allocations: 0 / 1.07 GB, free: 9.297 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: ......... 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 62 (12) {idxLasTru.u1, idxLasTru.booToInt.y, idxLasTru.booToInt.u, idxLasTru.mulMax.u, idxLasTru.mulMax.y, idxLasTruAllFal.u1, idxLasTruAllFal.booToInt.y, idxLasTruAllFal.booToInt.u, idxLasTruAllFal.mulMax.u, idxLasTruAllFal.mulMax.y, conAllFal.y, con.y} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:2, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, 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: ........... 8 (scalar:2, array:6, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.357e-05/0.005904, allocations: 37.48 kB / 1.07 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0009519/0.00686, allocations: 1.552 MB / 1.071 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of Templates: time 0.0026/0.009472, allocations: 0.785 MB / 1.072 GB, free: 6.895 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.makefile (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_LastTrueIndex.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches