Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001411/0.001411, allocations: 105.2 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: 206.4 kB / 23 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.285/1.285, 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.78/2.78, allocations: 0.49 GB / 0.7958 GB, free: 35.38 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.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.37e-05/1.37e-05, allocations: 2.281 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001398/0.001412, allocations: 0.7446 MB / 1.156 GB, free: 24.76 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.002526, allocations: 1.182 MB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.204e-05/0.002568, allocations: 0.625 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.002595, allocations: 6.188 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.657e-05/0.002652, allocations: 10.22 kB / 1.157 GB, free: 23.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.003052, allocations: 143.3 kB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.003209, allocations: 130.4 kB / 1.157 GB, free: 23.77 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.161e-05/0.0033, allocations: 23.64 kB / 1.157 GB, free: 23.75 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.211e-05/0.003372, allocations: 54.98 kB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.582e-05/0.003448, allocations: 44.72 kB / 1.157 GB, free: 23.71 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.003475, allocations: 19.31 kB / 1.157 GB, free: 23.7 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.25e-05/0.003537, allocations: 27.17 kB / 1.157 GB, free: 23.7 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001074/0.003645, allocations: 168 kB / 1.157 GB, free: 23.59 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.571e-05/0.00367, allocations: 69.91 kB / 1.158 GB, free: 23.55 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.003699, allocations: 6.844 kB / 1.158 GB, free: 23.55 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.608e-06/0.003708, allocations: 2.25 kB / 1.158 GB, free: 23.55 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 (10) * Number of variables: 10 (10) Notification: Performance of [SIM] Bindings: time 0.0004734/0.004182, allocations: 0.5276 MB / 1.158 GB, free: 23.08 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 4.016e-05/0.004222, allocations: 47.12 kB / 1.158 GB, free: 23.04 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0003447/0.004567, allocations: 385.6 kB / 1.158 GB, free: 22.82 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.000157/0.004724, allocations: 171.8 kB / 1.159 GB, free: 22.7 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0004455/0.005169, allocations: 371.2 kB / 1.159 GB, free: 22.41 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001532/0.005322, allocations: 180.8 kB / 1.159 GB, free: 22.28 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001044/0.005427, allocations: 121.5 kB / 1.159 GB, free: 22.19 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001854/0.005612, allocations: 196.2 kB / 1.159 GB, free: 22.02 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.754e-05/0.00568, allocations: 45.48 kB / 1.16 GB, free: 21.99 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 9.246e-05/0.005772, allocations: 69.84 kB / 1.16 GB, free: 21.96 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.000177/0.005949, allocations: 131.7 kB / 1.16 GB, free: 21.91 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001938/0.006143, allocations: 269.5 kB / 1.16 GB, free: 21.79 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002832/0.006426, allocations: 284.1 kB / 1.16 GB, free: 21.57 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002707/0.006697, allocations: 374.8 kB / 1.161 GB, free: 21.38 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.153e-05/0.006708, allocations: 11.25 kB / 1.161 GB, free: 21.36 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 4.862e-05/0.006757, allocations: 55.34 kB / 1.161 GB, free: 21.34 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002673/0.007024, allocations: 213 kB / 1.161 GB, free: 21.27 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.217e-06/0.007033, allocations: 9.312 kB / 1.161 GB, free: 21.26 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.71e-07/0.007034, allocations: 1.219 kB / 1.161 GB, free: 21.26 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.256e-06/0.007037, allocations: 0 / 1.161 GB, free: 21.26 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 3.166e-06/0.00704, allocations: 10.25 kB / 1.161 GB, free: 21.25 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 4.739e-06/0.007045, allocations: 5.062 kB / 1.161 GB, free: 21.25 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 9.854e-05/0.007144, allocations: 61.55 kB / 1.161 GB, free: 21.23 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 5.761e-06/0.007149, allocations: 4 kB / 1.161 GB, free: 21.23 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: .................... 3 (3) {triSam1.y, triSam.y, triSam.trigger} * 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: ........... 6 (scalar:6, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ........... 11 (scalar:11, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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.676e-05/0.007176, allocations: 23.12 kB / 1.161 GB, free: 21.21 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004309/0.007607, allocations: 355 kB / 1.161 GB, free: 21 MB / 0.9044 GB Notification: Performance of Templates: time 0.003766/0.01137, allocations: 1.429 MB / 1.163 GB, free: 20.83 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.220114350318909]