Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 112.8 kB / 16.42 MB, free: 6.523 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.001251/0.001251, allocations: 182 kB / 17.36 MB, free: 5.746 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.272/1.272, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.304/2.304, allocations: 437 MB / 0.7111 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.042e-05, allocations: 2.281 kB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001701/0.001735, allocations: 0.7547 MB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.003127, allocations: 1.083 MB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/0.003186, allocations: 4 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.003221, allocations: 3.938 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.912e-05/0.003295, allocations: 11.88 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.00362, allocations: 55.81 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.003748, allocations: 71.83 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.003857, allocations: 16.17 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.302e-05/0.003947, allocations: 39.84 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.081e-05/0.004023, allocations: 27.91 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.004049, allocations: 8 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.148e-05/0.004135, allocations: 27.86 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of combineBinaries: time 9.958e-05/0.004242, allocations: 98.91 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 3.014e-05/0.004278, allocations: 59.12 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.004305, allocations: 7.938 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.187e-05/0.004332, allocations: 0 / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 (9) * Number of variables: 9 (9) Notification: Performance of Bindings: time 0.0005312/0.004869, allocations: 395.6 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of FunctionAlias: time 7.082e-05/0.004948, allocations: 27.88 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0003682/0.005322, allocations: 272.1 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of simplify1: time 3.715e-05/0.00537, allocations: 35.91 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of Alias: time 0.0004345/0.00581, allocations: 257.3 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of simplify2: time 3.925e-05/0.005859, allocations: 23.97 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of Detect States: time 0.0001578/0.006022, allocations: 108 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of Events: time 0.0001496/0.006179, allocations: 71.86 kB / 1.023 GB, free: 5.82 MB / 0.795 GB Notification: Performance of Partitioning: time 0.0001031/0.006291, allocations: 76.36 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of Causalize: time 0.000293/0.006591, allocations: 228 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0002262/0.006826, allocations: 240.6 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of Inline: time 0.0003449/0.007178, allocations: 352.6 kB / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of Partitioning: time 2.868e-05/0.007214, allocations: 31.98 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of Cleanup: time 2.155e-05/0.007241, allocations: 15.97 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of Causalize: time 0.000444/0.00769, allocations: 352 kB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of Tearing: time 9.548e-06/0.007708, allocations: 3.938 kB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of Initialization: time 3.91e-07/0.007713, allocations: 0 / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of Tearing: time 2.364e-06/0.007719, allocations: 0 / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of Categorize: time 9.748e-06/0.007732, allocations: 4 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of Solve: time 0.0001003/0.007837, allocations: 59.84 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of Jacobian: time 5.781e-06/0.007849, allocations: 3.938 kB / 1.024 GB, free: 4.359 MB / 0.795 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: ......... 3 * 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) {triggeredSampler1.y, triggeredSampler.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 8 (8) {samTri.y, samTri1.y, $SEV_1, $SEV_0, $TEV_3, $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: ........... 9 (scalar:9, 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: ........... 17 (scalar:17, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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 4.379e-05/0.007897, allocations: 22.88 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of SimCode: time 0.0007717/0.008673, allocations: 0.9358 MB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of Templates: time 0.00333/0.01202, allocations: 1.058 MB / 1.026 GB, free: 2.371 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,samTri.y,triggeredSampler.u,triggeredSampler.y,samTri1.y,triggeredSampler1.u,triggeredSampler1.y Variables in the result:ramp.duration,ramp.height,ramp.offset,ramp.startTime,samTri.period,samTri.shift,samTri.t0,samTri.y,samTri1.period,samTri1.shift,samTri1.t0,samTri1.y,time,triggeredSampler.u,triggeredSampler.y,triggeredSampler.y_start,triggeredSampler1.u,triggeredSampler1.y,triggeredSampler1.y_start