Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_latest_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_latest_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.001677/0.001677, allocations: 111.8 kB / 16.42 MB, free: 6.523 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.001692/0.001692, allocations: 187.2 kB / 17.36 MB, free: 5.727 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.104/1.104, allocations: 222.9 MB / 241 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.125/2.125, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.42e-05, allocations: 2.281 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001467/0.001493, allocations: 0.8617 MB / 1.055 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002158/0.00172, allocations: 91.69 kB / 1.056 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.772e-05/0.001796, allocations: 11.88 kB / 1.056 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.329e-05/0.001895, allocations: 15.8 kB / 1.056 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.768e-05/0.001998, allocations: 19.86 kB / 1.056 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.461e-05/0.002076, allocations: 39.97 kB / 1.056 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.00231, allocations: 195.7 kB / 1.056 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.002472, allocations: 95.84 kB / 1.056 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.138e-05/0.00253, allocations: 47.8 kB / 1.056 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.557e-05/0.0026, allocations: 63.62 kB / 1.056 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.002629, allocations: 16 kB / 1.056 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.042e-05/0.002654, allocations: 16 kB / 1.056 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0001061/0.002764, allocations: 193.6 kB / 1.056 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 5.84e-05/0.002828, allocations: 129.9 kB / 1.056 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.002857, allocations: 23.94 kB / 1.056 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.737e-05/0.002888, allocations: 7.938 kB / 1.056 GB, free: 5.926 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: 82 (32) * Number of variables: 82 (32) Notification: Performance of Bindings: time 0.0005936/0.003486, allocations: 0.6839 MB / 1.057 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 3.35e-05/0.003525, allocations: 31.94 kB / 1.057 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0002772/0.003807, allocations: 364 kB / 1.057 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of simplify1: time 1.678e-05/0.00383, allocations: 15.97 kB / 1.057 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of Alias: time 0.0007098/0.004544, allocations: 0.7072 MB / 1.058 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of simplify2: time 9.698e-06/0.004562, allocations: 4 kB / 1.058 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of Events: time 5.114e-05/0.004619, allocations: 27.97 kB / 1.058 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001032/0.004728, allocations: 124.3 kB / 1.058 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0001092/0.004844, allocations: 112.2 kB / 1.058 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0009756/0.005825, allocations: 1.057 MB / 1.059 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.000189/0.006022, allocations: 248.2 kB / 1.06 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of Inline: time 0.0003903/0.006418, allocations: 481.8 kB / 1.06 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of Partitioning: time 2.919e-05/0.006455, allocations: 32.11 kB / 1.06 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of Cleanup: time 1.593e-05/0.006477, allocations: 16 kB / 1.06 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of Causalize: time 0.001129/0.007611, allocations: 1.225 MB / 1.061 GB, free: 496 kB / 0.8262 GB Notification: Performance of Tearing: time 8.285e-06/0.007629, allocations: 7.938 kB / 1.061 GB, free: 488 kB / 0.8262 GB Notification: Performance of Initialization: time 4.11e-07/0.007634, allocations: 0 / 1.061 GB, free: 488 kB / 0.8262 GB Notification: Performance of Tearing: time 1.623e-06/0.007639, allocations: 0 / 1.061 GB, free: 488 kB / 0.8262 GB Notification: Performance of Categorize: time 7.213e-06/0.00765, allocations: 4 kB / 1.061 GB, free: 484 kB / 0.8262 GB Notification: Performance of Solve: time 0.000109/0.007763, allocations: 71.92 kB / 1.061 GB, free: 412 kB / 0.8262 GB Notification: Performance of Jacobian: time 2.985e-06/0.007772, allocations: 0 / 1.061 GB, free: 412 kB / 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: ................. 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 4.591e-05/0.007823, allocations: 37.47 kB / 1.061 GB, free: 388 kB / 0.8262 GB Notification: Performance of SimCode: time 0.001109/0.008937, allocations: 1.843 MB / 1.063 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of Templates: time 0.00294/0.01189, allocations: 1.152 MB / 1.064 GB, free: 13.36 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches