Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.SampleTrigger,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.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,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.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 111 kB / 16.42 MB, free: 6.516 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.001101/0.001101, allocations: 190 kB / 17.36 MB, free: 5.727 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.165/1.165, allocations: 222.9 MB / 241 MB, free: 15.14 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.903/1.903, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.246e-05/1.248e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001297/0.001322, allocations: 0.758 MB / 0.9522 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.002523, allocations: 1.07 MB / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.002573, allocations: 4 kB / 0.9533 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.191e-05/0.002609, allocations: 7.875 kB / 0.9533 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.091e-05/0.002675, allocations: 15.84 kB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.002927, allocations: 55.83 kB / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.003038, allocations: 75.83 kB / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.01e-05/0.003134, allocations: 16.17 kB / 0.9534 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.509e-05/0.003196, allocations: 35.86 kB / 0.9535 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.156e-05/0.003252, allocations: 35.83 kB / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.003271, allocations: 8 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.106e-05/0.003327, allocations: 19.98 kB / 0.9535 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of combineBinaries: time 8.464e-05/0.003417, allocations: 98.84 kB / 0.9536 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 2.858e-05/0.00345, allocations: 67.11 kB / 0.9537 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.68e-05/0.003472, allocations: 7.938 kB / 0.9537 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.014e-05/0.003486, allocations: 0 / 0.9537 GB, free: 5.379 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.0003846/0.003876, allocations: 399.5 kB / 0.9541 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 5.34e-05/0.003935, allocations: 31.86 kB / 0.9541 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0002689/0.004209, allocations: 264.1 kB / 0.9544 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of simplify1: time 3.537e-05/0.004253, allocations: 35.91 kB / 0.9544 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of Alias: time 0.0003184/0.004576, allocations: 249.4 kB / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of simplify2: time 2.396e-05/0.004608, allocations: 19.98 kB / 0.9546 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0001324/0.004745, allocations: 110.4 kB / 0.9548 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of Events: time 0.000116/0.004869, allocations: 79.78 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of Partitioning: time 7.569e-05/0.004953, allocations: 76.36 kB / 0.9549 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002357/0.005194, allocations: 220.1 kB / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0002064/0.005409, allocations: 248.5 kB / 0.9553 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of Inline: time 0.0002828/0.005698, allocations: 352 kB / 0.9557 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of Partitioning: time 2.024e-05/0.005726, allocations: 20.11 kB / 0.9557 GB, free: 3 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.588e-05/0.005747, allocations: 19.92 kB / 0.9557 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0003675/0.006119, allocations: 347.3 kB / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of Tearing: time 7.324e-06/0.006135, allocations: 0 / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of Initialization: time 3.6e-07/0.006139, allocations: 0 / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of Tearing: time 2.645e-06/0.006146, allocations: 3.938 kB / 0.9561 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of Categorize: time 6.132e-06/0.006156, allocations: 0 / 0.9561 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of Solve: time 8.196e-05/0.006241, allocations: 67.84 kB / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of Jacobian: time 2.164e-06/0.00625, allocations: 4 kB / 0.9561 GB, free: 2.559 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 2.753e-05/0.006282, allocations: 14.81 kB / 0.9561 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0005395/0.006826, allocations: 0.9194 MB / 0.957 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of Templates: time 0.002755/0.009591, allocations: 1.05 MB / 0.9581 GB, free: 0.5586 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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