Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.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.001705/0.001705, allocations: 100.4 kB / 19.72 MB, free: 2.121 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.002184/0.002184, allocations: 210 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.354/3.354, allocations: 0.49 GB / 0.7958 GB, free: 35.48 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.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.724e-05, allocations: 2.281 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002063/0.00209, allocations: 0.8404 MB / 1.156 GB, free: 24.72 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0002651/0.002355, allocations: 86.59 kB / 1.156 GB, free: 24.66 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.894e-05/0.002434, allocations: 7.688 kB / 1.156 GB, free: 24.65 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.00255, allocations: 23.64 kB / 1.156 GB, free: 24.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.002679, allocations: 15.02 kB / 1.156 GB, free: 24.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 7.775e-05/0.002757, allocations: 38.28 kB / 1.156 GB, free: 24.61 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.00305, allocations: 201.9 kB / 1.156 GB, free: 24.52 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.003235, allocations: 67.89 kB / 1.156 GB, free: 24.47 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6.864e-05/0.003304, allocations: 55.64 kB / 1.156 GB, free: 24.44 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 9.02e-05/0.003394, allocations: 64.94 kB / 1.156 GB, free: 24.4 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.003428, allocations: 17.38 kB / 1.156 GB, free: 24.4 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 2.673e-05/0.003455, allocations: 15.47 kB / 1.156 GB, free: 24.4 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001481/0.003603, allocations: 253.1 kB / 1.157 GB, free: 24.21 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 6.942e-05/0.003673, allocations: 165.5 kB / 1.157 GB, free: 24.1 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.003691, allocations: 9.688 kB / 1.157 GB, free: 24.1 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.788e-05/0.003718, allocations: 7.938 kB / 1.157 GB, free: 24.1 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.0007433/0.004462, allocations: 0.6991 MB / 1.157 GB, free: 23.51 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 8.758e-05/0.004549, allocations: 88.94 kB / 1.158 GB, free: 23.44 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0003079/0.004857, allocations: 372 kB / 1.158 GB, free: 23.18 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.000106/0.004963, allocations: 105.2 kB / 1.158 GB, free: 23.07 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.001319/0.006282, allocations: 0.9274 MB / 1.159 GB, free: 22.49 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 7.162e-05/0.006354, allocations: 80.47 kB / 1.159 GB, free: 22.39 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.774e-05/0.006392, allocations: 51.72 kB / 1.159 GB, free: 22.32 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001082/0.0065, allocations: 121.5 kB / 1.159 GB, free: 22.18 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.11e-05/0.006561, allocations: 21.25 kB / 1.159 GB, free: 22.17 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.000129/0.00669, allocations: 101.6 kB / 1.159 GB, free: 22.1 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0004894/0.007179, allocations: 357 kB / 1.16 GB, free: 22 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001384/0.007318, allocations: 174.5 kB / 1.16 GB, free: 21.91 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002598/0.007578, allocations: 227.3 kB / 1.16 GB, free: 21.69 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002392/0.007817, allocations: 294.6 kB / 1.16 GB, free: 21.52 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.894e-05/0.007836, allocations: 14.19 kB / 1.16 GB, free: 21.5 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.589e-05/0.007872, allocations: 50.02 kB / 1.16 GB, free: 21.47 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0006326/0.008504, allocations: 445.9 kB / 1.161 GB, free: 21.37 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.705e-05/0.008521, allocations: 10.53 kB / 1.161 GB, free: 21.36 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 9.32e-07/0.008522, allocations: 1.188 kB / 1.161 GB, free: 21.36 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.318e-06/0.008527, allocations: 4 kB / 1.161 GB, free: 21.36 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.528e-06/0.008531, allocations: 6.5 kB / 1.161 GB, free: 21.35 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 9.578e-06/0.008541, allocations: 1.797 kB / 1.161 GB, free: 21.35 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001394/0.00868, allocations: 92.62 kB / 1.161 GB, free: 21.3 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.516e-06/0.008689, allocations: 0 / 1.161 GB, free: 21.3 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) {couTru.y, couTru.booToInt.y, couTru.intEqu.y, couTru.intSwi.u3, couTruAllFal.y, couTruAllFal.booToInt.y, couTruAllFal.intEqu.y, couTruAllFal.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.0001091/0.008798, allocations: 36.55 kB / 1.161 GB, free: 21.28 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001364/0.01016, allocations: 1.168 MB / 1.162 GB, free: 20.76 MB / 0.9044 GB Notification: Performance of Templates: time 0.004374/0.01454, allocations: 1.022 MB / 1.163 GB, free: 20.59 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.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: 8.993568357080221]