Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.001136/0.001136, 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.001237/0.001237, allocations: 211.2 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.288/1.288, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 179] 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 2.802/2.802, allocations: 0.49 GB / 0.7958 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 177] 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.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.733e-05, allocations: 2.281 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001427/0.001444, allocations: 0.6957 MB / 1.156 GB, free: 24.71 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0008386/0.002283, allocations: 0.892 MB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.605e-05/0.002319, allocations: 0 / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.959e-05/0.002349, allocations: 5.906 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.395e-05/0.002403, allocations: 10.09 kB / 1.157 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.002541, allocations: 19.33 kB / 1.157 GB, free: 24.03 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.469e-05/0.002615, allocations: 47.41 kB / 1.157 GB, free: 24.01 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.002706, allocations: 15.23 kB / 1.157 GB, free: 24 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.367e-05/0.002759, allocations: 20.12 kB / 1.157 GB, free: 23.99 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.078e-05/0.0028, allocations: 23.98 kB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.002816, allocations: 4.094 kB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-06/0.002825, allocations: 5.281 kB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of combineBinaries: time 6.194e-05/0.002887, allocations: 73.89 kB / 1.157 GB, free: 23.93 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.672e-05/0.002904, allocations: 49.55 kB / 1.157 GB, free: 23.89 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.291e-05/0.002917, allocations: 3.219 kB / 1.157 GB, free: 23.89 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.978e-06/0.002927, allocations: 2.219 kB / 1.157 GB, free: 23.89 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of [SIM] Bindings: time 0.0003141/0.003241, allocations: 333.3 kB / 1.157 GB, free: 23.54 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 6.915e-05/0.00331, allocations: 47.59 kB / 1.157 GB, free: 23.49 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0001021/0.003412, allocations: 150.2 kB / 1.157 GB, free: 23.38 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 7.05e-05/0.003482, allocations: 76.91 kB / 1.157 GB, free: 23.28 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003114/0.003794, allocations: 230.1 kB / 1.158 GB, free: 23.06 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 4.512e-05/0.003839, allocations: 75.06 kB / 1.158 GB, free: 22.96 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.17e-05/0.003861, allocations: 51.81 kB / 1.158 GB, free: 22.9 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 5.21e-05/0.003913, allocations: 89.73 kB / 1.158 GB, free: 22.77 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.279e-05/0.003986, allocations: 44.41 kB / 1.158 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 8.174e-05/0.004067, allocations: 67.22 kB / 1.158 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001412/0.004209, allocations: 104.1 kB / 1.158 GB, free: 22.68 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 8.236e-05/0.004291, allocations: 129.1 kB / 1.158 GB, free: 22.62 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001059/0.004397, allocations: 130.2 kB / 1.158 GB, free: 22.46 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001131/0.00451, allocations: 169.5 kB / 1.158 GB, free: 22.38 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 8.806e-06/0.004519, allocations: 10.47 kB / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 1.879e-05/0.004537, allocations: 30.94 kB / 1.159 GB, free: 22.34 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.000151/0.004688, allocations: 129 kB / 1.159 GB, free: 22.3 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 8.686e-06/0.004697, allocations: 4 kB / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.2e-07/0.004697, allocations: 0 / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.266e-06/0.004701, allocations: 3.062 kB / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.603e-06/0.004702, allocations: 7.125 kB / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 4.879e-06/0.004707, allocations: 0 / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 9.225e-05/0.004799, allocations: 70.91 kB / 1.159 GB, free: 22.27 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.053e-06/0.004807, allocations: 2.094 kB / 1.159 GB, free: 22.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: ......... 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {$TEV_3, $TEV_2, $TEV_1, $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: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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 2.779e-05/0.004834, allocations: 21.17 kB / 1.159 GB, free: 22.25 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0002815/0.005116, allocations: 235.2 kB / 1.159 GB, free: 22.09 MB / 0.9044 GB Notification: Performance of Templates: time 0.002303/0.007419, allocations: 494.5 kB / 1.159 GB, free: 22.01 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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: 7.361864904873073]