Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.001138/0.001138, allocations: 108.3 kB / 19.71 MB, free: 2.152 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.001201/0.001201, allocations: 213.5 kB / 23.01 MB, free: 4.961 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.824 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.803/2.803, allocations: 0.49 GB / 0.7958 GB, free: 35.62 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.ZeroOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zerOrdHol.u|zerOrdHol.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zerOrdHol.u|zerOrdHol.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.444e-05, allocations: 2.281 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001323/0.001338, allocations: 0.6675 MB / 1.156 GB, free: 24.86 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.002389, allocations: 1.089 MB / 1.157 GB, free: 24.07 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.795e-05/0.002427, allocations: 0 / 1.157 GB, free: 24.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.211e-05/0.002449, allocations: 7.172 kB / 1.157 GB, free: 24.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.414e-05/0.002503, allocations: 9.953 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.002742, allocations: 48.14 kB / 1.157 GB, free: 24.03 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.547e-05/0.002828, allocations: 58.3 kB / 1.157 GB, free: 24 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 8.987e-05/0.002917, allocations: 12.19 kB / 1.157 GB, free: 24 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.451e-05/0.002972, allocations: 25.8 kB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 3.806e-05/0.00301, allocations: 22.28 kB / 1.157 GB, free: 23.97 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.003022, allocations: 4.156 kB / 1.157 GB, free: 23.97 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.435e-05/0.003077, allocations: 19.91 kB / 1.157 GB, free: 23.97 MB / 0.9044 GB Notification: Performance of combineBinaries: time 7.108e-05/0.003148, allocations: 88.72 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.019e-05/0.003168, allocations: 51.77 kB / 1.157 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.566e-05/0.003184, allocations: 4.312 kB / 1.157 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.017e-06/0.003193, allocations: 4.594 kB / 1.157 GB, free: 23.87 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: 8 (8) * Number of variables: 8 (8) Notification: Performance of [SIM] Bindings: time 0.0003393/0.003532, allocations: 355.8 kB / 1.157 GB, free: 23.51 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 5.168e-05/0.003584, allocations: 49.14 kB / 1.157 GB, free: 23.46 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.000226/0.00381, allocations: 212.2 kB / 1.158 GB, free: 23.33 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 7.323e-05/0.003883, allocations: 89.42 kB / 1.158 GB, free: 23.23 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002979/0.004181, allocations: 222.8 kB / 1.158 GB, free: 23.02 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 6.363e-05/0.004245, allocations: 94.31 kB / 1.158 GB, free: 22.92 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 3.075e-05/0.004275, allocations: 51.28 kB / 1.158 GB, free: 22.86 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001284/0.004404, allocations: 131.8 kB / 1.158 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 6.57e-05/0.004469, allocations: 37.03 kB / 1.158 GB, free: 22.69 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 8.801e-05/0.004557, allocations: 76.3 kB / 1.158 GB, free: 22.65 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.000178/0.004735, allocations: 138.6 kB / 1.158 GB, free: 22.6 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 9.917e-05/0.004835, allocations: 153.2 kB / 1.159 GB, free: 22.53 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001896/0.005024, allocations: 160 kB / 1.159 GB, free: 22.37 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001606/0.005185, allocations: 234.2 kB / 1.159 GB, free: 22.24 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.088e-05/0.005196, allocations: 11.72 kB / 1.159 GB, free: 22.23 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.355e-05/0.005229, allocations: 40.23 kB / 1.159 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0003906/0.00562, allocations: 296 kB / 1.159 GB, free: 22.12 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.062e-05/0.00563, allocations: 11.09 kB / 1.159 GB, free: 22.12 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.8e-07/0.005631, allocations: 0 / 1.159 GB, free: 22.12 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 2.956e-06/0.005634, allocations: 1.281 kB / 1.159 GB, free: 22.12 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.876e-06/0.005637, allocations: 9.812 kB / 1.159 GB, free: 22.11 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 6.412e-06/0.005643, allocations: 2.312 kB / 1.159 GB, free: 22.11 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001443/0.005787, allocations: 122.4 kB / 1.159 GB, free: 22.07 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.292e-06/0.005794, allocations: 1.969 kB / 1.159 GB, free: 22.07 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) {zerOrdHol.ySample, zerOrdHol.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {zerOrdHol.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: ............ 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: ........... 12 (scalar:12, 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 3.124e-05/0.005825, allocations: 36.91 kB / 1.159 GB, free: 22.04 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003875/0.006212, allocations: 270.6 kB / 1.16 GB, free: 21.86 MB / 0.9044 GB Notification: Performance of Templates: time 0.003094/0.009306, allocations: 0.8282 MB / 1.161 GB, free: 21.74 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.228445283602923]