Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001372/0.001372, 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.001496/0.001496, allocations: 216.9 kB / 23.01 MB, free: 4.965 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.283/1.283, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.74/2.74, allocations: 0.49 GB / 0.7958 GB, free: 35.46 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.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|firOrdHol.u|firOrdHol.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|firOrdHol.u|firOrdHol.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/1.962e-05, allocations: 3.75 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001311/0.001331, allocations: 0.6754 MB / 1.156 GB, free: 24.85 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.002334, allocations: 1.091 MB / 1.157 GB, free: 24.06 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.054e-05/0.002375, allocations: 3.094 kB / 1.157 GB, free: 24.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.075e-05/0.002396, allocations: 3.938 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.374e-05/0.002449, allocations: 10.8 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.002685, allocations: 50.72 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.787e-05/0.002783, allocations: 74.59 kB / 1.157 GB, free: 23.99 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.888e-05/0.002862, allocations: 11.27 kB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.137e-05/0.002913, allocations: 31.92 kB / 1.157 GB, free: 23.96 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.767e-05/0.002961, allocations: 31.56 kB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.002975, allocations: 8.188 kB / 1.157 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.845e-05/0.003033, allocations: 36.08 kB / 1.157 GB, free: 23.93 MB / 0.9044 GB Notification: Performance of combineBinaries: time 8.084e-05/0.003114, allocations: 111.6 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.958e-05/0.003134, allocations: 58.59 kB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.623e-05/0.00315, allocations: 4.25 kB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.397e-06/0.003159, allocations: 1.812 kB / 1.157 GB, free: 23.82 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: 11 (11) * Number of variables: 11 (11) Notification: Performance of [SIM] Bindings: time 0.000379/0.003538, allocations: 428.9 kB / 1.158 GB, free: 23.41 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 5.504e-05/0.003594, allocations: 63.42 kB / 1.158 GB, free: 23.37 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002689/0.003862, allocations: 295 kB / 1.158 GB, free: 23.19 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 9.595e-05/0.003958, allocations: 102.8 kB / 1.158 GB, free: 23.09 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003179/0.004276, allocations: 266.4 kB / 1.158 GB, free: 22.86 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 7.59e-05/0.004352, allocations: 109.8 kB / 1.158 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.726e-05/0.004389, allocations: 67.47 kB / 1.158 GB, free: 22.68 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001549/0.004544, allocations: 155.6 kB / 1.159 GB, free: 22.53 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.421e-05/0.004608, allocations: 35.62 kB / 1.159 GB, free: 22.51 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001202/0.004729, allocations: 105.7 kB / 1.159 GB, free: 22.46 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002487/0.004977, allocations: 188 kB / 1.159 GB, free: 22.41 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001503/0.005128, allocations: 211.5 kB / 1.159 GB, free: 22.31 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.00021/0.005338, allocations: 195.6 kB / 1.159 GB, free: 22.13 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002082/0.005546, allocations: 318.7 kB / 1.16 GB, free: 21.96 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.615e-05/0.005562, allocations: 20.89 kB / 1.16 GB, free: 21.94 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.819e-05/0.0056, allocations: 47.11 kB / 1.16 GB, free: 21.92 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003599/0.00596, allocations: 303 kB / 1.16 GB, free: 21.83 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.084e-05/0.005971, allocations: 7.781 kB / 1.16 GB, free: 21.83 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.41e-07/0.005971, allocations: 0.7188 kB / 1.16 GB, free: 21.83 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.487e-06/0.005975, allocations: 1.125 kB / 1.16 GB, free: 21.83 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.747e-06/0.005979, allocations: 10.38 kB / 1.16 GB, free: 21.82 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 4.919e-06/0.005984, allocations: 5.188 kB / 1.16 GB, free: 21.82 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001661/0.00615, allocations: 143.5 kB / 1.16 GB, free: 21.77 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 5.711e-06/0.006155, allocations: 0 / 1.16 GB, free: 21.77 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: .................... 5 (5) {firOrdHol.c, firOrdHol.pre_uSample, firOrdHol.uSample, firOrdHol.tSample, firOrdHol.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {firOrdHol.sampleTrigger, $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: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:0, when:5, 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:19, 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 4.447e-05/0.0062, allocations: 34.23 kB / 1.16 GB, free: 21.74 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004103/0.00661, allocations: 305.8 kB / 1.16 GB, free: 21.55 MB / 0.9044 GB Notification: Performance of Templates: time 0.003119/0.009729, allocations: 1.023 MB / 1.161 GB, free: 21.4 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.210667413659394]