Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.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.001698/0.001698, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.002098/0.002098, allocations: 212.2 kB / 23 MB, free: 4.961 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.583/1.583, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.743/3.743, allocations: 0.49 GB / 0.7958 GB, free: 35.68 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.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.485e-05, allocations: 2.281 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003107/0.003132, allocations: 1.766 MB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.005089, allocations: 1.194 MB / 1.158 GB, free: 23.28 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.483e-05/0.005174, allocations: 2.281 kB / 1.158 GB, free: 23.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.005499, allocations: 58.88 kB / 1.158 GB, free: 23.26 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.005866, allocations: 125.6 kB / 1.158 GB, free: 23.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.006391, allocations: 199.7 kB / 1.158 GB, free: 23.09 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.006656, allocations: 201.2 kB / 1.158 GB, free: 23 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.006794, allocations: 16.08 kB / 1.158 GB, free: 23 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.006941, allocations: 97.73 kB / 1.159 GB, free: 22.95 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.00707, allocations: 67.72 kB / 1.159 GB, free: 22.92 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.007094, allocations: 8.656 kB / 1.159 GB, free: 22.92 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.007284, allocations: 84.89 kB / 1.159 GB, free: 22.89 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001934/0.007478, allocations: 215.3 kB / 1.159 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 9.101e-05/0.007569, allocations: 147.2 kB / 1.159 GB, free: 22.65 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.007608, allocations: 5.656 kB / 1.159 GB, free: 22.65 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.093e-05/0.007639, allocations: 10.53 kB / 1.159 GB, free: 22.64 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: 10 (9) * Number of variables: 10 (9) Notification: Performance of [SIM] Bindings: time 0.0007868/0.008426, allocations: 0.6126 MB / 1.16 GB, free: 22.11 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001474/0.008573, allocations: 83.59 kB / 1.16 GB, free: 22.05 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002388/0.008812, allocations: 220.8 kB / 1.16 GB, free: 21.89 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 9.636e-05/0.008909, allocations: 92.14 kB / 1.16 GB, free: 21.79 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0005488/0.009457, allocations: 268.2 kB / 1.16 GB, free: 21.55 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001292/0.009586, allocations: 90.08 kB / 1.16 GB, free: 21.45 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 5.8e-05/0.009644, allocations: 49.83 kB / 1.16 GB, free: 21.39 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0002609/0.009905, allocations: 131.5 kB / 1.161 GB, free: 21.24 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001049/0.01001, allocations: 25.8 kB / 1.161 GB, free: 21.23 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0002265/0.01024, allocations: 116.8 kB / 1.161 GB, free: 21.16 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.00061/0.01085, allocations: 221.2 kB / 1.161 GB, free: 21.09 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002276/0.01107, allocations: 154.6 kB / 1.161 GB, free: 21.01 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.002475/0.01355, allocations: 354.2 kB / 1.161 GB, free: 20.75 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0003446/0.01389, allocations: 313.8 kB / 1.162 GB, free: 20.57 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 2.489e-05/0.01392, allocations: 13.59 kB / 1.162 GB, free: 20.56 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 7.365e-05/0.01399, allocations: 57.2 kB / 1.162 GB, free: 20.52 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001503/0.0155, allocations: 0.7661 MB / 1.163 GB, free: 20.34 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 2.734e-05/0.01552, allocations: 20.38 kB / 1.163 GB, free: 20.32 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.082e-06/0.01552, allocations: 0 / 1.163 GB, free: 20.32 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 9.969e-06/0.01553, allocations: 0 / 1.163 GB, free: 20.32 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 5.45e-06/0.01554, allocations: 6.938 kB / 1.163 GB, free: 20.32 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.503e-05/0.01555, allocations: 0.6875 kB / 1.163 GB, free: 20.32 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0002688/0.01582, allocations: 116.9 kB / 1.163 GB, free: 20.27 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 1.573e-05/0.01584, allocations: 0 / 1.163 GB, free: 20.27 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: .................... 2 (2) {intTab.combiTimeTable.nextTimeEvent, intTab.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (6) {intRep.u, intRep.y, $SEV_2, $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: ........... 11 (scalar:10, 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: ........... 22 (scalar:19, 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 7.234e-05/0.01591, allocations: 25.09 kB / 1.163 GB, free: 20.25 MB / 0.9044 GB Notification: Performance of SimCode: time 0.003317/0.01923, allocations: 0.9873 MB / 1.164 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of Templates: time 0.0069/0.02613, allocations: 2.009 MB / 1.166 GB, free: 19.52 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.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.457333308178931]