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) 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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|idxLasTru.y|idxLasTruAllFal.y",fileNamePrefix="Buildings_latest_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.001333/0.001333, allocations: 107 kB / 16.42 MB, free: 6.418 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.001335/0.001335, allocations: 190 kB / 17.36 MB, free: 5.688 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.1/1.1, 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.0.1-master/package.mo): time 2.115/2.115, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.549e-05, allocations: 2.281 kB / 1.055 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex): time 0.001328/0.001353, allocations: 0.7256 MB / 1.055 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001572/0.001521, allocations: 43.84 kB / 1.055 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.35e-05/0.001582, allocations: 4 kB / 1.055 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.431e-05/0.001671, allocations: 15.86 kB / 1.055 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.275e-05/0.001759, allocations: 7.922 kB / 1.055 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.441e-05/0.001815, allocations: 19.98 kB / 1.055 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.00201, allocations: 127.8 kB / 1.056 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.002129, allocations: 47.95 kB / 1.056 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.331e-05/0.00217, allocations: 27.92 kB / 1.056 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.658e-05/0.002221, allocations: 31.84 kB / 1.056 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.002245, allocations: 8 kB / 1.056 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.365e-05/0.002263, allocations: 4 kB / 1.056 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of combineBinaries: time 7.309e-05/0.00234, allocations: 106.7 kB / 1.056 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 3.164e-05/0.002378, allocations: 74.88 kB / 1.056 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.444e-05/0.002396, allocations: 11.94 kB / 1.056 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.137e-05/0.002422, allocations: 4 kB / 1.056 GB, free: 6.527 MB / 0.8262 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.0004186/0.002844, allocations: 432.3 kB / 1.056 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 1.976e-05/0.002871, allocations: 11.89 kB / 1.056 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001502/0.003026, allocations: 196.2 kB / 1.056 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simplify1: time 1.027e-05/0.003043, allocations: 15.95 kB / 1.056 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of Alias: time 0.0002805/0.003328, allocations: 217 kB / 1.057 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of simplify2: time 7.204e-06/0.003343, allocations: 7.984 kB / 1.057 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of Events: time 1.785e-05/0.003365, allocations: 15.98 kB / 1.057 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of Detect States: time 7.663e-05/0.003446, allocations: 90.17 kB / 1.057 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of Partitioning: time 8.681e-05/0.003538, allocations: 76.23 kB / 1.057 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0008199/0.004363, allocations: 0.8945 MB / 1.058 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0001332/0.004505, allocations: 176.2 kB / 1.058 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of Inline: time 0.0002071/0.004718, allocations: 268.2 kB / 1.058 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of Partitioning: time 2.047e-05/0.004744, allocations: 16.12 kB / 1.058 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of Cleanup: time 1.48e-05/0.004764, allocations: 15.98 kB / 1.058 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0008198/0.005589, allocations: 0.9139 MB / 1.059 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of Tearing: time 6.462e-06/0.005604, allocations: 0 / 1.059 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of Initialization: time 3.1e-07/0.005608, allocations: 0 / 1.059 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of Tearing: time 1.903e-06/0.005613, allocations: 0 / 1.059 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of Categorize: time 7.624e-06/0.005624, allocations: 4 kB / 1.059 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of Solve: time 8.423e-05/0.005712, allocations: 51.89 kB / 1.059 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of Jacobian: time 2.705e-06/0.00572, allocations: 0 / 1.059 GB, free: 2.887 MB / 0.8262 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.141e-05/0.005766, allocations: 24.06 kB / 1.059 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0009548/0.006725, allocations: 1.625 MB / 1.061 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of Templates: time 0.00253/0.009265, allocations: 0.7794 MB / 1.061 GB, free: 452 kB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe 2>&1) 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) Reference file matches