Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.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 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.Discrete.Examples.Sampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sampler1.u|sampler1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sampler1.u|sampler1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 106.9 kB / 16.42 MB, free: 6.477 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.00148/0.00148, allocations: 187.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.352/1.352, 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 10.1.1-maint.10.0.x/package.mo): time 2.399/2.399, allocations: 437 MB / 0.7111 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.433e-05, allocations: 2.281 kB / 1.019 GB, free: 9.48 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler): time 0.001706/0.001746, allocations: 0.6778 MB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.003178, allocations: 1.056 MB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.649e-05/0.003247, allocations: 0 / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.003287, allocations: 3.938 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.071e-05/0.003375, allocations: 15.86 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.003711, allocations: 47.83 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.003843, allocations: 51.84 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.003959, allocations: 8 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.666e-05/0.004041, allocations: 19.92 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/0.004104, allocations: 23.91 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.004128, allocations: 4 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.083e-05/0.004214, allocations: 15.98 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of combineBinaries: time 7.364e-05/0.004294, allocations: 67.31 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 2.082e-05/0.004322, allocations: 39.41 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.159e-05/0.004348, allocations: 8 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.717e-05/0.00437, allocations: 0 / 1.021 GB, free: 7.434 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0004194/0.004794, allocations: 308.2 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of FunctionAlias: time 6.161e-05/0.004862, allocations: 19.88 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0002721/0.005139, allocations: 196.2 kB / 1.022 GB, free: 6.793 MB / 0.795 GB Notification: Performance of simplify1: time 2.42e-05/0.005172, allocations: 15.97 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of Alias: time 0.0003442/0.005521, allocations: 177.2 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of simplify2: time 2.228e-05/0.005552, allocations: 15.98 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of Detect States: time 0.0003758/0.005935, allocations: 76.61 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of Events: time 0.0001579/0.006101, allocations: 55.88 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of Partitioning: time 9.16e-05/0.006203, allocations: 68.16 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of Causalize: time 0.0002652/0.006475, allocations: 192 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0001858/0.006672, allocations: 168.3 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of Inline: time 0.0003435/0.007022, allocations: 284.4 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of Partitioning: time 2.457e-05/0.007056, allocations: 20.12 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of Cleanup: time 2.48e-05/0.007087, allocations: 7.984 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of Causalize: time 0.0006151/0.007709, allocations: 400.3 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of Tearing: time 1.171e-05/0.00773, allocations: 0 / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of Initialization: time 8.42e-07/0.007736, allocations: 0 / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of Tearing: time 2.104e-06/0.007744, allocations: 4 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of Categorize: time 1.061e-05/0.007759, allocations: 0 / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of Solve: time 8.02e-05/0.007844, allocations: 31.98 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of Jacobian: time 3.176e-06/0.007853, allocations: 3.938 kB / 1.023 GB, free: 5.129 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: ......... 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 4.452e-05/0.007901, allocations: 13.08 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of SimCode: time 0.0007676/0.008674, allocations: 0.8682 MB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of Templates: time 0.003032/0.01172, allocations: 0.7739 MB / 1.025 GB, free: 3.465 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Discrete_Examples_Sampler.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches