Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.ZeroOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zerOrdHol.u|zerOrdHol.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zerOrdHol.u|zerOrdHol.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 108.9 kB / 16.47 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 193.4 kB / 17.42 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 225.6 MB / 243.8 MB, free: 14.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.569/2.569, allocations: 476.7 MB / 0.7552 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.119e-05/2.119e-05, allocations: 6.219 kB / 1.097 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001756/0.001778, allocations: 0.691 MB / 1.097 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.003329, allocations: 1.067 MB / 1.098 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.003389, allocations: 5.156 kB / 1.098 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.416e-05/0.003413, allocations: 0 / 1.098 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.719e-05/0.00349, allocations: 13.88 kB / 1.098 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003091/0.0038, allocations: 38.8 kB / 1.098 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.003938, allocations: 62.22 kB / 1.098 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.892e-05/0.004036, allocations: 9 kB / 1.098 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.501e-05/0.004101, allocations: 19.28 kB / 1.098 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.114e-05/0.004163, allocations: 28.02 kB / 1.098 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.00418, allocations: 4.844 kB / 1.098 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.032e-05/0.00425, allocations: 18.94 kB / 1.098 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of combineBinaries: time 9.07e-05/0.004341, allocations: 63.22 kB / 1.099 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 4.229e-05/0.004383, allocations: 48.03 kB / 1.099 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.004402, allocations: 2.625 kB / 1.099 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.664e-05/0.004419, allocations: 9 kB / 1.099 GB, free: 10.38 MB / 0.8419 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 Bindings: time 0.0005075/0.004926, allocations: 314.3 kB / 1.099 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 8.063e-05/0.005007, allocations: 25.36 kB / 1.099 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0002661/0.005273, allocations: 167.6 kB / 1.099 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of Simplify 1: time 7.706e-05/0.00535, allocations: 56.14 kB / 1.099 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of Alias: time 0.0004616/0.005812, allocations: 193.5 kB / 1.099 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of Simplify 2: time 7.086e-05/0.005882, allocations: 51.67 kB / 1.099 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of Remove Stream: time 5.722e-05/0.00594, allocations: 50.17 kB / 1.099 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0002494/0.006189, allocations: 111.1 kB / 1.1 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of Events: time 9.964e-05/0.006289, allocations: 48.52 kB / 1.1 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001101/0.006399, allocations: 62.25 kB / 1.1 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0002656/0.006664, allocations: 156.2 kB / 1.1 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001382/0.006803, allocations: 106.8 kB / 1.1 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of Simplify: time 0.0002413/0.007044, allocations: 138 kB / 1.1 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of Inline: time 0.0002135/0.007257, allocations: 170.1 kB / 1.1 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.035e-05/0.007278, allocations: 15.75 kB / 1.1 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of Cleanup: time 5.435e-05/0.007332, allocations: 46 kB / 1.1 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003551/0.007687, allocations: 206.8 kB / 1.1 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of Tearing: time 9.809e-06/0.007697, allocations: 0 / 1.1 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of Initialization: time 7.51e-07/0.007698, allocations: 0.9062 kB / 1.1 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of Tearing: time 2.584e-06/0.0077, allocations: 4 kB / 1.1 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of Categorize: time 9.017e-06/0.007709, allocations: 5.312 kB / 1.1 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of Solve: time 9.205e-05/0.007801, allocations: 41.5 kB / 1.1 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of Jacobian: time 4.319e-06/0.007806, allocations: 0 / 1.1 GB, free: 8.875 MB / 0.8419 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: 0generic: 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: 0generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.52e-05/0.007851, allocations: 23.45 kB / 1.1 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0008331/0.008684, allocations: 0.8668 MB / 1.101 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of Templates: time 0.003428/0.01211, allocations: 0.7484 MB / 1.102 GB, free: 7.973 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches