Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.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.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 111 kB / 16.43 MB, free: 6.039 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.001088/0.001088, allocations: 182.9 kB / 17.35 MB, free: 5.613 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.144/1.144, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.228/2.228, allocations: 469.8 MB / 0.7431 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.188e-05/1.188e-05, allocations: 4.531 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001456/0.001478, allocations: 0.8672 MB / 1.067 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002152/0.001705, allocations: 91.59 kB / 1.067 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.938e-05/0.001783, allocations: 4 kB / 1.067 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.001893, allocations: 27.72 kB / 1.067 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.002, allocations: 15.84 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.564e-05/0.002081, allocations: 39.97 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.002325, allocations: 191.7 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.002467, allocations: 59.86 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.229e-05/0.002526, allocations: 55.78 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.34e-05/0.002604, allocations: 55.7 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.002634, allocations: 12 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.999e-05/0.002659, allocations: 16 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001134/0.002777, allocations: 197.6 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 5.531e-05/0.00284, allocations: 141.8 kB / 1.068 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.002869, allocations: 19.94 kB / 1.068 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.737e-05/0.002901, allocations: 11.88 kB / 1.068 GB, free: 11.85 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: 82 (32) * Number of variables: 82 (32) Notification: Performance of Bindings: time 0.0004906/0.003396, allocations: 0.5063 MB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 3.284e-05/0.003434, allocations: 39.84 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0002061/0.003645, allocations: 252.2 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simplify1: time 5.796e-05/0.003709, allocations: 68.31 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of Alias: time 0.0005695/0.004285, allocations: 496.4 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simplify2: time 4.065e-05/0.004335, allocations: 48.34 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of Detect States: time 7.618e-05/0.004416, allocations: 80.14 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of Events: time 5.427e-05/0.004476, allocations: 23.98 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of Partitioning: time 9.058e-05/0.004572, allocations: 90.28 kB / 1.069 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0008594/0.005437, allocations: 0.8379 MB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001496/0.005596, allocations: 188.1 kB / 1.07 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of Inline: time 0.0003176/0.005919, allocations: 369.9 kB / 1.07 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.822e-05/0.005946, allocations: 12.12 kB / 1.07 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of Cleanup: time 3.991e-05/0.00599, allocations: 55.95 kB / 1.07 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0009514/0.006946, allocations: 0.9555 MB / 1.071 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of Tearing: time 8.435e-06/0.006963, allocations: 0 / 1.071 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of Initialization: time 3.51e-07/0.00697, allocations: 4 kB / 1.071 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of Tearing: time 1.543e-06/0.006977, allocations: 4 kB / 1.071 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of Categorize: time 6.583e-06/0.006989, allocations: 3.938 kB / 1.071 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of Solve: time 9.698e-05/0.007089, allocations: 59.94 kB / 1.071 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.475e-06/0.007098, allocations: 0 / 1.071 GB, free: 7.402 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: ................. 68 (18) {idxFirTru.u1, idxFirTru.booToInt.y, idxFirTru.booToInt.u, idxFirTru.mulMin.u, idxFirTru.intEqu.y, idxFirTru.intSwi.u3, idxFirTru.intSwi.y, idxFirTruAllFal.u1, idxFirTruAllFal.booToInt.y, idxFirTruAllFal.booToInt.u, idxFirTruAllFal.mulMin.u, idxFirTruAllFal.intEqu.y, idxFirTruAllFal.intSwi.u3, idxFirTruAllFal.intSwi.y, conAllFal.y, con.y, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 14 (scalar:8, 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: ........... 22 (scalar:16, 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 3.587e-05/0.007137, allocations: 30.98 kB / 1.072 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of SimCode: time 0.001057/0.0082, allocations: 1.756 MB / 1.073 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of Templates: time 0.003066/0.01128, allocations: 1.159 MB / 1.074 GB, free: 4.434 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches