Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.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.ZeroOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zerOrdHol.u|zerOrdHol.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zerOrdHol.u|zerOrdHol.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 110.6 kB / 16.42 MB, free: 6.469 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.001213/0.001213, allocations: 186.1 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.23/1.23, 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 10.1.1-maint.10.0.x/package.mo): time 2.232/2.232, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.341e-05, allocations: 6.219 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold): time 0.001533/0.001569, allocations: 0.6778 MB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.002922, allocations: 1.063 MB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.002979, allocations: 4 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.003014, allocations: 7.922 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.42e-05/0.003083, allocations: 7.922 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.003392, allocations: 39.84 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.003514, allocations: 55.89 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.003608, allocations: 8 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.989e-05/0.003674, allocations: 19.92 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.003727, allocations: 27.91 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.003748, allocations: 4 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.067e-05/0.003823, allocations: 23.91 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of combineBinaries: time 7.889e-05/0.003908, allocations: 71.27 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 2.084e-05/0.003934, allocations: 39.38 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.003957, allocations: 3.938 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.3e-05/0.003975, allocations: 4 kB / 1.021 GB, free: 7.367 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: 8 (8) * Number of variables: 8 (8) Notification: Performance of Bindings: time 0.0003618/0.004341, allocations: 280.2 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of FunctionAlias: time 7.036e-05/0.004417, allocations: 15.94 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0002327/0.004656, allocations: 172.2 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of simplify1: time 6.541e-05/0.00473, allocations: 56.34 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of Alias: time 0.0003387/0.005074, allocations: 152.7 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of simplify2: time 5.15e-05/0.005134, allocations: 52.41 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of Detect States: time 0.0001522/0.005292, allocations: 76.97 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of Events: time 0.0001564/0.005456, allocations: 63.75 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of Partitioning: time 8.013e-05/0.005544, allocations: 60.22 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of Causalize: time 0.0002479/0.005799, allocations: 164.1 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0001474/0.005954, allocations: 156.4 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of Inline: time 0.000304/0.006264, allocations: 257.6 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of Partitioning: time 2.059e-05/0.006294, allocations: 16.11 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of Cleanup: time 4.386e-05/0.006342, allocations: 31.97 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of Causalize: time 0.0002925/0.006641, allocations: 213.5 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of Tearing: time 1.096e-05/0.006661, allocations: 0 / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of Initialization: time 4.01e-07/0.006669, allocations: 3.938 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of Tearing: time 2.786e-06/0.006675, allocations: 0 / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of Categorize: time 8.887e-06/0.006691, allocations: 8 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of Solve: time 7.32e-05/0.006768, allocations: 31.91 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of Jacobian: time 3.116e-06/0.006777, allocations: 0 / 1.023 GB, free: 5.242 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) {zerOrdHol.ySample, zerOrdHol.firstTrigger} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {zerOrdHol.sampleTrigger, $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: ........... 13 (scalar:13, 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 3.967e-05/0.006821, allocations: 12.08 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of SimCode: time 0.0007205/0.007545, allocations: 0.8685 MB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of Templates: time 0.003029/0.01059, allocations: 0.8312 MB / 1.025 GB, free: 3.516 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Discrete_Examples_ZeroOrderHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches