Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.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.Sampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sampler1.u|sampler1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sampler1.u|sampler1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 113.8 kB / 16.43 MB, free: 6.48 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.001023/0.001023, allocations: 183.2 kB / 17.35 MB, free: 5.703 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.134/1.134, allocations: 222.9 MB / 241 MB, free: 15.07 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.211/2.211, allocations: 469.8 MB / 0.7431 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.389e-05, allocations: 2.5 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001269/0.001294, allocations: 0.6754 MB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.002365, allocations: 1.057 MB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.463e-05/0.00241, allocations: 0 / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.002438, allocations: 7.938 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.554e-05/0.002502, allocations: 11.92 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.002724, allocations: 31.91 kB / 1.068 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.607e-05/0.00282, allocations: 55.83 kB / 1.068 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.802e-05/0.002893, allocations: 8 kB / 1.068 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.62e-05/0.002945, allocations: 19.92 kB / 1.068 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.888e-05/0.002989, allocations: 19.92 kB / 1.068 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.003006, allocations: 4 kB / 1.068 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.147e-05/0.003061, allocations: 19.98 kB / 1.068 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of combineBinaries: time 6.225e-05/0.00313, allocations: 71.3 kB / 1.068 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.412e-05/0.00316, allocations: 39.41 kB / 1.068 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.423e-05/0.003179, allocations: 7.938 kB / 1.068 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.959e-06/0.003193, allocations: 0 / 1.068 GB, free: 11.59 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.000289/0.003486, allocations: 272.2 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 4.821e-05/0.00354, allocations: 19.88 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0001811/0.003727, allocations: 160.2 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simplify1: time 4.918e-05/0.003786, allocations: 48.42 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of Alias: time 0.0002358/0.004028, allocations: 149.2 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of simplify2: time 4.864e-05/0.004086, allocations: 56.34 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0002242/0.004315, allocations: 70.89 kB / 1.069 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of Events: time 0.000109/0.004432, allocations: 55.88 kB / 1.069 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of Partitioning: time 6.32e-05/0.004503, allocations: 48.23 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001804/0.004688, allocations: 152.1 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001187/0.004816, allocations: 140.3 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of Inline: time 0.0002191/0.00504, allocations: 220.4 kB / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.539e-05/0.005065, allocations: 20.11 kB / 1.069 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of Cleanup: time 3.072e-05/0.0051, allocations: 31.95 kB / 1.069 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003385/0.005443, allocations: 274.8 kB / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of Tearing: time 6.762e-06/0.005459, allocations: 0 / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of Initialization: time 3.81e-07/0.005463, allocations: 0 / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of Tearing: time 1.393e-06/0.005468, allocations: 0 / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of Categorize: time 6.121e-06/0.005479, allocations: 3.938 kB / 1.069 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of Solve: time 6.081e-05/0.005545, allocations: 43.89 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.485e-06/0.005554, allocations: 0 / 1.069 GB, free: 9.496 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: ......... 2 * 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) {sampler1.y, sampler1.firstTrigger} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {sampler1.sampleTrigger, $SEV_0, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 7 (scalar:7, 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 (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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.372e-05/0.005591, allocations: 38.41 kB / 1.069 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0004954/0.006091, allocations: 0.8643 MB / 1.07 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of Templates: time 0.002316/0.008417, allocations: 0.7619 MB / 1.071 GB, free: 7.816 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Discrete_Validation_Sampler.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches