Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.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.001743/0.001743, allocations: 96.42 kB / 19.71 MB, free: 2.125 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.002148/0.002148, allocations: 213.1 kB / 23.01 MB, free: 4.93 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.329/3.329, allocations: 0.49 GB / 0.7958 GB, free: 35.53 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.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|idxFirTru.y|idxFirTruAllFal.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.402e-05/3.402e-05, allocations: 3.969 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.003153/0.003187, allocations: 0.843 MB / 1.156 GB, free: 24.68 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0003626/0.003549, allocations: 98.44 kB / 1.156 GB, free: 24.61 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.003658, allocations: 1.344 kB / 1.156 GB, free: 24.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.003812, allocations: 21.33 kB / 1.156 GB, free: 24.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.004003, allocations: 21.25 kB / 1.156 GB, free: 24.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001044/0.004107, allocations: 37.67 kB / 1.156 GB, free: 24.55 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004061/0.004513, allocations: 188 kB / 1.156 GB, free: 24.48 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.004751, allocations: 67.78 kB / 1.156 GB, free: 24.43 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.998e-05/0.004841, allocations: 53.81 kB / 1.156 GB, free: 24.4 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.004959, allocations: 65.92 kB / 1.156 GB, free: 24.36 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/0.005007, allocations: 14.69 kB / 1.156 GB, free: 24.36 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 3.343e-05/0.00504, allocations: 16.06 kB / 1.156 GB, free: 24.36 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002096/0.00525, allocations: 252.8 kB / 1.157 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0001272/0.005377, allocations: 168.9 kB / 1.157 GB, free: 24.07 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.0054, allocations: 5.969 kB / 1.157 GB, free: 24.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.26e-05/0.005443, allocations: 12.36 kB / 1.157 GB, free: 24.06 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: 82 (32) * Number of variables: 82 (32) Notification: Performance of [SIM] Bindings: time 0.001083/0.006526, allocations: 0.6992 MB / 1.157 GB, free: 23.47 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001098/0.006636, allocations: 91.44 kB / 1.158 GB, free: 23.39 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0004442/0.00708, allocations: 370.8 kB / 1.158 GB, free: 23.14 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001728/0.007253, allocations: 110 kB / 1.158 GB, free: 23.02 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001889/0.009142, allocations: 0.9308 MB / 1.159 GB, free: 22.45 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.000113/0.009255, allocations: 78.7 kB / 1.159 GB, free: 22.34 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 6.769e-05/0.009323, allocations: 56.52 kB / 1.159 GB, free: 22.27 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001773/0.0095, allocations: 114.2 kB / 1.159 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.835e-05/0.009578, allocations: 16.59 kB / 1.159 GB, free: 22.13 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001932/0.009771, allocations: 101.9 kB / 1.159 GB, free: 22.06 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0007819/0.01055, allocations: 353.4 kB / 1.16 GB, free: 21.96 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002469/0.0108, allocations: 181.5 kB / 1.16 GB, free: 21.86 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0003921/0.01119, allocations: 224.3 kB / 1.16 GB, free: 21.65 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0003791/0.01157, allocations: 289 kB / 1.16 GB, free: 21.48 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.792e-05/0.0116, allocations: 16.58 kB / 1.16 GB, free: 21.47 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 5.98e-05/0.01166, allocations: 50.44 kB / 1.16 GB, free: 21.43 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0009905/0.01265, allocations: 445 kB / 1.161 GB, free: 21.33 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 2.074e-05/0.01267, allocations: 7.188 kB / 1.161 GB, free: 21.33 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 5.01e-07/0.01267, allocations: 5.125 kB / 1.161 GB, free: 21.32 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 5.5e-06/0.01268, allocations: 0 / 1.161 GB, free: 21.32 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 7.624e-06/0.01268, allocations: 10.78 kB / 1.161 GB, free: 21.32 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.289e-05/0.0127, allocations: 1.656 kB / 1.161 GB, free: 21.32 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.000198/0.01289, allocations: 84.41 kB / 1.161 GB, free: 21.28 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 9.428e-06/0.0129, allocations: 0 / 1.161 GB, free: 21.28 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: ................. 32 (12) {idxFirTru.y, idxFirTru.booToInt.y, idxFirTru.intEqu.y, idxFirTru.intSwi.u3, idxFirTruAllFal.y, idxFirTruAllFal.booToInt.y, idxFirTruAllFal.intEqu.y, idxFirTruAllFal.intSwi.u3, conAllFal.y, con.y, $SEV_1, $SEV_0} * 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: ........... 8 (scalar:8, 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: ........... 16 (scalar:16, 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 0.0001596/0.01306, allocations: 38.72 kB / 1.161 GB, free: 21.25 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00209/0.01515, allocations: 1.175 MB / 1.162 GB, free: 20.72 MB / 0.9044 GB Notification: Performance of Templates: time 0.006045/0.0212, allocations: 1.036 MB / 1.163 GB, free: 20.54 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_FirstTrueIndex.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.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.111918698996305]