Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.001388/0.001388, allocations: 96.42 kB / 19.71 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.00149/0.00149, allocations: 213.9 kB / 23.01 MB, free: 4.926 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.274/1.274, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.759/2.759, allocations: 0.49 GB / 0.7958 GB, free: 35.48 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.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|triggeredMax.u|triggeredMax.y|triggeredMax.trigger",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.762e-05, allocations: 3.547 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001403/0.001421, allocations: 0.7121 MB / 1.156 GB, free: 24.74 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.002515, allocations: 1.204 MB / 1.157 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.224e-05/0.002557, allocations: 5.875 kB / 1.157 GB, free: 23.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.002578, allocations: 1.812 kB / 1.157 GB, free: 23.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.376e-05/0.002631, allocations: 15.2 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.003075, allocations: 146.5 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.003229, allocations: 128.2 kB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.666e-05/0.003315, allocations: 16.12 kB / 1.157 GB, free: 23.72 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.841e-05/0.003394, allocations: 46.7 kB / 1.157 GB, free: 23.7 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.116e-05/0.003475, allocations: 54.94 kB / 1.157 GB, free: 23.68 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.0035, allocations: 10.25 kB / 1.157 GB, free: 23.68 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.375e-05/0.003563, allocations: 24.47 kB / 1.157 GB, free: 23.67 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.0001077/0.003671, allocations: 134.2 kB / 1.157 GB, free: 23.59 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.419e-05/0.003695, allocations: 57.95 kB / 1.157 GB, free: 23.55 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.003726, allocations: 7.75 kB / 1.157 GB, free: 23.55 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.027e-05/0.003736, allocations: 3.938 kB / 1.157 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of [SIM] Bindings: time 0.0004566/0.004193, allocations: 488.2 kB / 1.158 GB, free: 23.12 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 5.025e-05/0.004243, allocations: 44.66 kB / 1.158 GB, free: 23.07 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0003378/0.004581, allocations: 360.7 kB / 1.158 GB, free: 22.87 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001465/0.004728, allocations: 166.2 kB / 1.159 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0004086/0.005136, allocations: 326.7 kB / 1.159 GB, free: 22.48 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001482/0.005284, allocations: 166.6 kB / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 9.682e-05/0.005381, allocations: 129 kB / 1.159 GB, free: 22.26 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001966/0.005578, allocations: 188.5 kB / 1.159 GB, free: 22.09 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.44e-05/0.005652, allocations: 37.67 kB / 1.159 GB, free: 22.07 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 9.419e-05/0.005746, allocations: 71.12 kB / 1.159 GB, free: 22.04 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001667/0.005913, allocations: 112.5 kB / 1.159 GB, free: 22 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001955/0.006109, allocations: 276 kB / 1.16 GB, free: 21.87 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002779/0.006386, allocations: 267.3 kB / 1.16 GB, free: 21.66 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002538/0.00664, allocations: 352.5 kB / 1.16 GB, free: 21.48 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.043e-05/0.006651, allocations: 12.03 kB / 1.16 GB, free: 21.47 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 4.686e-05/0.006697, allocations: 62.83 kB / 1.16 GB, free: 21.43 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002763/0.006974, allocations: 186.5 kB / 1.161 GB, free: 21.38 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.848e-06/0.006984, allocations: 9.781 kB / 1.161 GB, free: 21.37 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.61e-07/0.006984, allocations: 0 / 1.161 GB, free: 21.37 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.086e-06/0.006987, allocations: 4.781 kB / 1.161 GB, free: 21.36 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.524e-06/0.00699, allocations: 6.219 kB / 1.161 GB, free: 21.36 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.34e-06/0.006995, allocations: 0.9375 kB / 1.161 GB, free: 21.36 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 9.238e-05/0.007087, allocations: 65.72 kB / 1.161 GB, free: 21.33 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.392e-06/0.007094, allocations: 3.938 kB / 1.161 GB, free: 21.33 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: .................... 2 (2) {booPul.y, triggeredMax.y} * 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: ............ 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: ........... 9 (scalar:9, 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.71e-05/0.007121, allocations: 29.52 kB / 1.161 GB, free: 21.3 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004378/0.007559, allocations: 315.2 kB / 1.161 GB, free: 21.12 MB / 0.9044 GB Notification: Performance of Templates: time 0.003586/0.01114, allocations: 1.381 MB / 1.162 GB, free: 20.95 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.185966143384576]