Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 112.5 kB / 18.35 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 189.9 kB / 21.51 MB, free: 0.9141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 225.6 MB / 250.1 MB, free: 13.51 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.801/2.801, allocations: 496.1 MB / 0.7826 GB, free: 33.67 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.699e-05, allocations: 8 kB / 1.136 GB, free: 33.95 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001277/0.001294, allocations: 0.6932 MB / 1.137 GB, free: 33.52 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0009079/0.002202, allocations: 1.078 MB / 1.138 GB, free: 32.73 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.002243, allocations: 7.781 kB / 1.138 GB, free: 32.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.741e-05/0.002271, allocations: 3.938 kB / 1.138 GB, free: 32.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-05/0.002329, allocations: 7.875 kB / 1.138 GB, free: 32.72 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.002556, allocations: 48.41 kB / 1.138 GB, free: 32.7 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.229e-05/0.002648, allocations: 70.88 kB / 1.138 GB, free: 32.66 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.629e-05/0.002725, allocations: 21.86 kB / 1.138 GB, free: 32.65 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.909e-05/0.002774, allocations: 27.53 kB / 1.138 GB, free: 32.64 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.418e-05/0.002818, allocations: 32.47 kB / 1.138 GB, free: 32.62 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.002832, allocations: 6.781 kB / 1.138 GB, free: 32.62 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.2e-05/0.002884, allocations: 21.39 kB / 1.138 GB, free: 32.62 MB / 0.9044 GB Notification: Performance of combineBinaries: time 6.533e-05/0.002949, allocations: 105 kB / 1.139 GB, free: 32.55 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.625e-05/0.002965, allocations: 56.08 kB / 1.139 GB, free: 32.51 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/0.002983, allocations: 6.969 kB / 1.139 GB, free: 32.51 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.137e-05/0.002994, allocations: 11.56 kB / 1.139 GB, free: 32.5 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 Bindings: time 0.000317/0.003311, allocations: 362.2 kB / 1.139 GB, free: 32.13 MB / 0.9044 GB Notification: Performance of FunctionAlias: time 6.635e-05/0.003377, allocations: 33.33 kB / 1.139 GB, free: 32.12 MB / 0.9044 GB Notification: Performance of Early Inline: time 0.0001912/0.003569, allocations: 229.5 kB / 1.139 GB, free: 31.97 MB / 0.9044 GB Notification: Performance of Simplify 1: time 4.473e-05/0.003613, allocations: 61.77 kB / 1.139 GB, free: 31.91 MB / 0.9044 GB Notification: Performance of Alias: time 0.0002885/0.003902, allocations: 220.2 kB / 1.139 GB, free: 31.71 MB / 0.9044 GB Notification: Performance of Simplify 2: time 4.221e-05/0.003944, allocations: 68.78 kB / 1.14 GB, free: 31.64 MB / 0.9044 GB Notification: Performance of Remove Stream: time 2.791e-05/0.003972, allocations: 57.94 kB / 1.14 GB, free: 31.57 MB / 0.9044 GB Notification: Performance of Detect States: time 0.0002586/0.004231, allocations: 145.6 kB / 1.14 GB, free: 31.44 MB / 0.9044 GB Notification: Performance of Events: time 6.743e-05/0.004298, allocations: 51.7 kB / 1.14 GB, free: 31.41 MB / 0.9044 GB Notification: Performance of Partitioning: time 7.58e-05/0.004374, allocations: 83.64 kB / 1.14 GB, free: 31.36 MB / 0.9044 GB Notification: Performance of Causalize: time 0.0002461/0.00462, allocations: 257.9 kB / 1.14 GB, free: 31.27 MB / 0.9044 GB Notification: Performance of After Index Reduction Inline: time 8.833e-05/0.004708, allocations: 144.8 kB / 1.14 GB, free: 31.2 MB / 0.9044 GB Notification: Performance of Simplify: time 0.0001388/0.004847, allocations: 138.8 kB / 1.14 GB, free: 31.07 MB / 0.9044 GB Notification: Performance of Inline: time 0.0001298/0.004977, allocations: 234.3 kB / 1.141 GB, free: 30.95 MB / 0.9044 GB Notification: Performance of Partitioning: time 1.122e-05/0.004988, allocations: 18.19 kB / 1.141 GB, free: 30.93 MB / 0.9044 GB Notification: Performance of Cleanup: time 2.695e-05/0.005015, allocations: 56.58 kB / 1.141 GB, free: 30.89 MB / 0.9044 GB Notification: Performance of Causalize: time 0.000342/0.005357, allocations: 365.5 kB / 1.141 GB, free: 30.78 MB / 0.9044 GB Notification: Performance of Tearing: time 7.824e-06/0.005365, allocations: 0 / 1.141 GB, free: 30.78 MB / 0.9044 GB Notification: Performance of Initialization: time 3.1e-07/0.005365, allocations: 0 / 1.141 GB, free: 30.78 MB / 0.9044 GB Notification: Performance of Remove Dummies: time 2.735e-06/0.005368, allocations: 2.531 kB / 1.141 GB, free: 30.78 MB / 0.9044 GB Notification: Performance of Tearing: time 9.62e-07/0.005369, allocations: 0 / 1.141 GB, free: 30.78 MB / 0.9044 GB Notification: Performance of Categorize: time 4.679e-06/0.005374, allocations: 7.938 kB / 1.141 GB, free: 30.77 MB / 0.9044 GB Notification: Performance of Solve: time 6.962e-05/0.005443, allocations: 44.88 kB / 1.141 GB, free: 30.76 MB / 0.9044 GB Notification: Performance of Jacobian: time 3.958e-06/0.005447, allocations: 4 kB / 1.141 GB, free: 30.75 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.516e-05/0.005492, allocations: 25.19 kB / 1.141 GB, free: 30.73 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004195/0.005912, allocations: 0.9048 MB / 1.142 GB, free: 29.93 MB / 0.9044 GB Notification: Performance of Templates: time 0.002867/0.008779, allocations: 0.9295 MB / 1.143 GB, free: 29.84 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.443352549336851]