Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samTri.y|triggeredSampler.u|triggeredSampler.y|samTri1.y|triggeredSampler1.u|triggeredSampler1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001153, allocations: 111.5 kB / 16.43 MB, free: 6.023 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.001169/0.001169, allocations: 183.1 kB / 17.36 MB, free: 5.621 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.161/1.161, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.907/1.907, allocations: 390.2 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.796e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001462/0.001491, allocations: 0.7683 MB / 0.9522 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.002729, allocations: 1.066 MB / 0.9533 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.814e-05/0.002778, allocations: 0 / 0.9533 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.002816, allocations: 11.92 kB / 0.9533 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.025e-05/0.002881, allocations: 11.86 kB / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.003138, allocations: 51.84 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.003252, allocations: 87.69 kB / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.558e-05/0.003343, allocations: 20.17 kB / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.373e-05/0.003403, allocations: 27.92 kB / 0.9535 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.014e-05/0.003458, allocations: 35.83 kB / 0.9535 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.003476, allocations: 4 kB / 0.9535 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.042e-05/0.003532, allocations: 23.98 kB / 0.9535 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of combineBinaries: time 8.496e-05/0.003622, allocations: 102.8 kB / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.489e-05/0.003652, allocations: 55.12 kB / 0.9537 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.025e-05/0.003677, allocations: 15.94 kB / 0.9537 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.029e-05/0.003692, allocations: 3.938 kB / 0.9537 GB, free: 5.406 MB / 0.7325 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.0003772/0.004073, allocations: 391.6 kB / 0.9541 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 5.274e-05/0.004131, allocations: 31.91 kB / 0.9541 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0002759/0.004413, allocations: 264.1 kB / 0.9543 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of simplify1: time 3.354e-05/0.004455, allocations: 35.94 kB / 0.9544 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of Alias: time 0.000326/0.004786, allocations: 257.2 kB / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of simplify2: time 2.477e-05/0.004821, allocations: 23.95 kB / 0.9546 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0002243/0.005052, allocations: 94.81 kB / 0.9547 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of Events: time 0.0001187/0.005178, allocations: 83.8 kB / 0.9548 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of Partitioning: time 7.832e-05/0.005263, allocations: 76.36 kB / 0.9549 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002395/0.005509, allocations: 228 kB / 0.9551 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0001974/0.00572, allocations: 244.6 kB / 0.9553 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of Inline: time 0.0002924/0.006019, allocations: 352 kB / 0.9557 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of Partitioning: time 3.014e-05/0.006056, allocations: 28.09 kB / 0.9557 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.594e-05/0.006076, allocations: 19.86 kB / 0.9557 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0003658/0.006446, allocations: 340.8 kB / 0.956 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of Tearing: time 8.005e-06/0.006462, allocations: 0 / 0.956 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of Initialization: time 4.01e-07/0.006469, allocations: 4 kB / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of Tearing: time 2.564e-06/0.006476, allocations: 7.938 kB / 0.9561 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of Categorize: time 7.324e-06/0.006487, allocations: 0 / 0.9561 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of Solve: time 8.529e-05/0.006577, allocations: 63.84 kB / 0.9561 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of Jacobian: time 2.264e-06/0.006585, allocations: 0 / 0.9561 GB, free: 2.586 MB / 0.7325 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 3.404e-05/0.006624, allocations: 20.95 kB / 0.9561 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0005464/0.007174, allocations: 0.9238 MB / 0.957 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of Templates: time 0.002663/0.009847, allocations: 1.073 MB / 0.9581 GB, free: 0.6016 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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