Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.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.UnitDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|unitDelay1.u|unitDelay1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|unitDelay1.u|unitDelay1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 105.8 kB / 16.42 MB, free: 6.508 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.002081/0.002081, allocations: 186 kB / 17.36 MB, free: 5.711 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.344/1.344, allocations: 222.9 MB / 241.1 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.399/2.399, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.171e-05, allocations: 2.281 kB / 1.019 GB, free: 9.461 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay): time 0.001663/0.001696, allocations: 0.6839 MB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.003098, allocations: 1.056 MB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.003162, allocations: 4 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.003201, allocations: 3.938 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.373e-05/0.00328, allocations: 7.922 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.003613, allocations: 35.86 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.003729, allocations: 47.89 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.003847, allocations: 11.98 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.896e-05/0.003933, allocations: 19.94 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.269e-05/0.003992, allocations: 27.84 kB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.004012, allocations: 4 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.239e-05/0.004089, allocations: 15.98 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of combineBinaries: time 7.261e-05/0.004167, allocations: 63.31 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 2.049e-05/0.004193, allocations: 39.41 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.00422, allocations: 4 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.641e-05/0.00424, allocations: 0 / 1.021 GB, free: 7.43 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: 6 (6) * Number of variables: 6 (6) Notification: Performance of Bindings: time 0.0004321/0.004679, allocations: 304.2 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of FunctionAlias: time 6.643e-05/0.004752, allocations: 19.89 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0002512/0.005009, allocations: 176.2 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of simplify1: time 2.181e-05/0.005039, allocations: 11.98 kB / 1.022 GB, free: 6.801 MB / 0.795 GB Notification: Performance of Alias: time 0.0003536/0.0054, allocations: 173.1 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of simplify2: time 2.167e-05/0.005432, allocations: 15.98 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of Detect States: time 0.0001743/0.005611, allocations: 70.95 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of Events: time 0.0001803/0.005799, allocations: 55.83 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of Partitioning: time 9.375e-05/0.005901, allocations: 56.23 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of Causalize: time 0.0002407/0.006148, allocations: 164 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0001627/0.006321, allocations: 168.4 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of Inline: time 0.0002625/0.00659, allocations: 236.3 kB / 1.022 GB, free: 5.723 MB / 0.795 GB Notification: Performance of Partitioning: time 2.68e-05/0.006624, allocations: 24.11 kB / 1.022 GB, free: 5.691 MB / 0.795 GB Notification: Performance of Cleanup: time 2.033e-05/0.006649, allocations: 8 kB / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of Causalize: time 0.0004943/0.007148, allocations: 352 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of Tearing: time 1.536e-05/0.007174, allocations: 11.88 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of Initialization: time 4.11e-07/0.007179, allocations: 0 / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of Tearing: time 2.645e-06/0.007186, allocations: 0 / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of Categorize: time 1.01e-05/0.007201, allocations: 0 / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of Solve: time 7.787e-05/0.007282, allocations: 31.97 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of Jacobian: time 3.667e-06/0.007293, allocations: 4 kB / 1.023 GB, free: 5.281 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: .................... 1 (1) {unitDelay1.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {unitDelay1.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: ............ 1 (algorithm:0, when:1, 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: ............ 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.278e-05/0.00734, allocations: 17.91 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of SimCode: time 0.0007205/0.008065, allocations: 0.8488 MB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of Templates: time 0.002949/0.01103, allocations: 0.7225 MB / 1.024 GB, free: 3.68 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Discrete_Examples_UnitDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches