Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.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.001393/0.001393, allocations: 109.2 kB / 19.72 MB, free: 2.137 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.001519/0.001519, allocations: 214.8 kB / 23.01 MB, free: 4.957 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.605/1.605, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.496/3.496, allocations: 0.49 GB / 0.7958 GB, free: 35.39 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.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.|booRep.y.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.114e-05, allocations: 2.281 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002917/0.002938, allocations: 1.796 MB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.004799, allocations: 1.12 MB / 1.158 GB, free: 23.27 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.8e-05/0.004897, allocations: 2.625 kB / 1.158 GB, free: 23.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006804/0.005577, allocations: 178.6 kB / 1.158 GB, free: 23.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004119/0.005989, allocations: 153.9 kB / 1.158 GB, free: 23.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.006385, allocations: 145.2 kB / 1.158 GB, free: 23.07 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.006651, allocations: 216.3 kB / 1.159 GB, free: 22.97 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.006781, allocations: 14.95 kB / 1.159 GB, free: 22.97 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.00692, allocations: 104 kB / 1.159 GB, free: 22.92 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.007044, allocations: 77.28 kB / 1.159 GB, free: 22.89 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.007069, allocations: 8.156 kB / 1.159 GB, free: 22.89 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.007228, allocations: 70.14 kB / 1.159 GB, free: 22.88 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0002027/0.00743, allocations: 257.9 kB / 1.159 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 8.078e-05/0.007511, allocations: 157.5 kB / 1.159 GB, free: 22.61 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.007546, allocations: 5.562 kB / 1.159 GB, free: 22.61 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.903e-05/0.007575, allocations: 8.219 kB / 1.159 GB, free: 22.6 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: 12 (9) * Number of variables: 12 (9) Notification: Performance of [SIM] Bindings: time 0.0007446/0.008319, allocations: 0.6367 MB / 1.16 GB, free: 22.05 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 9.995e-05/0.008419, allocations: 60.3 kB / 1.16 GB, free: 22.01 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0001738/0.008593, allocations: 191.5 kB / 1.16 GB, free: 21.86 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 8.713e-05/0.00868, allocations: 87.91 kB / 1.16 GB, free: 21.76 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0004369/0.009117, allocations: 250.2 kB / 1.16 GB, free: 21.54 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 7.57e-05/0.009193, allocations: 88.78 kB / 1.16 GB, free: 21.43 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.568e-05/0.009229, allocations: 45.16 kB / 1.16 GB, free: 21.37 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.00019/0.009419, allocations: 126.8 kB / 1.161 GB, free: 21.23 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.446e-05/0.009483, allocations: 32.75 kB / 1.161 GB, free: 21.21 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001239/0.009607, allocations: 74.66 kB / 1.161 GB, free: 21.17 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0003129/0.00992, allocations: 164.4 kB / 1.161 GB, free: 21.12 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001066/0.01003, allocations: 125.4 kB / 1.161 GB, free: 21.05 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.002034/0.01206, allocations: 424.1 kB / 1.161 GB, free: 20.78 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.000281/0.01234, allocations: 290.5 kB / 1.162 GB, free: 20.61 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.091e-05/0.01236, allocations: 17.44 kB / 1.162 GB, free: 20.59 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 5.102e-05/0.01241, allocations: 47.81 kB / 1.162 GB, free: 20.57 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001133/0.01355, allocations: 0.7441 MB / 1.162 GB, free: 20.39 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.622e-05/0.01356, allocations: 11.66 kB / 1.162 GB, free: 20.38 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 8.71e-07/0.01356, allocations: 0 / 1.162 GB, free: 20.38 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 6.452e-06/0.01357, allocations: 5.188 kB / 1.162 GB, free: 20.38 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.428e-06/0.01358, allocations: 9.219 kB / 1.162 GB, free: 20.37 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.484e-06/0.01358, allocations: 1.438 kB / 1.162 GB, free: 20.37 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0002088/0.01379, allocations: 132.1 kB / 1.163 GB, free: 20.32 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.835e-06/0.0138, allocations: 0 / 1.163 GB, free: 20.32 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: ......... 1 * 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: .................... 2 (2) {booTab.combiTimeTable.nextTimeEvent, booTab.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 8 (5) {booRep.u, booRep.y, $SEV_1, $SEV_0, $TEV_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:7, array:1, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, 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: ........... 19 (scalar:16, array:2, record:1) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.514e-05/0.01383, allocations: 31.33 kB / 1.163 GB, free: 20.3 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0026/0.01643, allocations: 0.9466 MB / 1.164 GB, free: 19.86 MB / 0.9044 GB Notification: Performance of Templates: time 0.006752/0.02319, allocations: 1.944 MB / 1.165 GB, free: 19.61 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BooleanReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BooleanReplicator.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.4778140229173]