Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Discrete.Examples.UnitDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|unitDelay1.u|unitDelay1.y",fileNamePrefix="Buildings_9_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_9_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.001142/0.001142, allocations: 103.5 kB / 16.42 MB, free: 6.457 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.001099/0.001099, allocations: 192.3 kB / 17.36 MB, free: 5.695 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.192/1.192, allocations: 222.9 MB / 241 MB, free: 15.07 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.984/1.984, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.818e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay): time 0.001382/0.001412, allocations: 0.6717 MB / 0.9521 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.00269, allocations: 1.046 MB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.002739, allocations: 3.938 kB / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.002772, allocations: 7.938 kB / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.885e-05/0.002835, allocations: 7.938 kB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.003079, allocations: 39.83 kB / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.199e-05/0.00318, allocations: 47.84 kB / 0.9532 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.003273, allocations: 19.98 kB / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.961e-05/0.003328, allocations: 11.98 kB / 0.9532 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.8e-05/0.003381, allocations: 23.86 kB / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.003402, allocations: 8 kB / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.211e-05/0.003458, allocations: 19.92 kB / 0.9533 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of combineBinaries: time 6.285e-05/0.003527, allocations: 63.31 kB / 0.9534 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 1.78e-05/0.00355, allocations: 35.47 kB / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.003575, allocations: 7.938 kB / 0.9534 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.203e-05/0.003591, allocations: 4 kB / 0.9534 GB, free: 5.695 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: 6 (6) * Number of variables: 6 (6) Notification: Performance of Bindings: time 0.0003522/0.003947, allocations: 296.2 kB / 0.9537 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 4.849e-05/0.004001, allocations: 19.92 kB / 0.9537 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0002086/0.004215, allocations: 172.2 kB / 0.9539 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of simplify1: time 1.798e-05/0.004242, allocations: 15.98 kB / 0.9539 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of Alias: time 0.0002907/0.004538, allocations: 185 kB / 0.9541 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of simplify2: time 1.584e-05/0.004565, allocations: 15.98 kB / 0.9541 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0001119/0.004682, allocations: 63 kB / 0.9541 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of Events: time 0.0001362/0.004832, allocations: 63.81 kB / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of Partitioning: time 6.902e-05/0.004909, allocations: 60.23 kB / 0.9543 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001964/0.005111, allocations: 156 kB / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0001273/0.005247, allocations: 164.5 kB / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of Inline: time 0.0002339/0.005487, allocations: 246.5 kB / 0.9548 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.523e-05/0.005509, allocations: 12.12 kB / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.671e-05/0.00553, allocations: 15.92 kB / 0.9548 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0004249/0.005961, allocations: 364.6 kB / 0.9552 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of Tearing: time 1.017e-05/0.005981, allocations: 4 kB / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of Initialization: time 1.863e-06/0.005987, allocations: 0 / 0.9552 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of Tearing: time 1.372e-06/0.005994, allocations: 3.938 kB / 0.9552 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of Categorize: time 9.938e-06/0.006009, allocations: 3.938 kB / 0.9552 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of Solve: time 6.726e-05/0.006081, allocations: 27.98 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of Jacobian: time 2.895e-06/0.00609, allocations: 0 / 0.9552 GB, free: 3.543 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: ......... 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 3.513e-05/0.006128, allocations: 19.03 kB / 0.9552 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0005989/0.006732, allocations: 0.8604 MB / 0.9561 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of Templates: time 0.002571/0.009313, allocations: 0.7225 MB / 0.9568 GB, free: 1.926 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Discrete_Examples_UnitDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches