Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold.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.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firOrdHol.u|firOrdHol.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firOrdHol.u|firOrdHol.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001594, allocations: 111.7 kB / 16.42 MB, free: 6.035 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.001617/0.001617, allocations: 178.7 kB / 17.35 MB, free: 5.617 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.379/1.379, allocations: 222.9 MB / 241.1 MB, free: 15.2 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.424/2.424, allocations: 437 MB / 0.7111 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.722e-05, allocations: 2.281 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold): time 0.001462/0.001503, allocations: 0.689 MB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.002841, allocations: 1.075 MB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.102e-05/0.002893, allocations: 0 / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.441e-05/0.002924, allocations: 3.938 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.638e-05/0.002995, allocations: 11.88 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.003273, allocations: 47.88 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.003396, allocations: 71.83 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.572e-05/0.003499, allocations: 16 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.244e-05/0.003568, allocations: 27.91 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.945e-05/0.003633, allocations: 39.83 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.003655, allocations: 4 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.357e-05/0.003723, allocations: 19.98 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0001204/0.003849, allocations: 87.14 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 2.621e-05/0.00388, allocations: 51.22 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.966e-05/0.003904, allocations: 8 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.412e-05/0.003924, allocations: 11.88 kB / 1.021 GB, free: 7.305 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: 11 (11) * Number of variables: 11 (11) Notification: Performance of Bindings: time 0.0004567/0.004385, allocations: 383.9 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of FunctionAlias: time 4.977e-05/0.004441, allocations: 23.94 kB / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0002835/0.00473, allocations: 272.1 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of simplify1: time 3.005e-05/0.004769, allocations: 19.97 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of Alias: time 0.0004079/0.005183, allocations: 236.9 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of simplify2: time 2.436e-05/0.005216, allocations: 23.95 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of Detect States: time 0.0001626/0.005384, allocations: 114.5 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of Events: time 0.0001892/0.005582, allocations: 95.8 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of Partitioning: time 0.0001192/0.00571, allocations: 104.2 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of Causalize: time 0.0004546/0.00617, allocations: 369.5 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0002518/0.006433, allocations: 296.3 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of Inline: time 0.0004444/0.006884, allocations: 438.1 kB / 1.023 GB, free: 4.691 MB / 0.795 GB Notification: Performance of Partitioning: time 3.203e-05/0.006924, allocations: 32.03 kB / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of Cleanup: time 2.509e-05/0.006955, allocations: 31.91 kB / 1.024 GB, free: 4.621 MB / 0.795 GB Notification: Performance of Causalize: time 0.0005269/0.007487, allocations: 480.1 kB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of Tearing: time 1.254e-05/0.007508, allocations: 0 / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of Initialization: time 2.024e-06/0.007514, allocations: 4 kB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of Tearing: time 3.596e-06/0.007523, allocations: 3.938 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of Categorize: time 8.656e-06/0.007535, allocations: 0 / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of Solve: time 0.0001112/0.007651, allocations: 65.62 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of Jacobian: time 2.956e-06/0.00766, allocations: 0 / 1.024 GB, free: 4.066 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: .................... 5 (5) {firOrdHol.pre_uSample, firOrdHol.firstTrigger, firOrdHol.uSample, firOrdHol.tSample, firOrdHol.c} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 10 (10) {firOrdHol.sampleTrigger, $SEV_0, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $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: ........... 13 (scalar:13, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:0, when:5, 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: ........... 24 (scalar:24, 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 8.459e-05/0.007748, allocations: 42.48 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of SimCode: time 0.0007337/0.008486, allocations: 0.9271 MB / 1.025 GB, free: 3.09 MB / 0.795 GB Notification: Performance of Templates: time 0.003499/0.012, allocations: 1.094 MB / 1.026 GB, free: 1.996 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Discrete_Examples_FirstOrderHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,firOrdHol.u,firOrdHol.y Variables in the result:cos1.y,firOrdHol.samplePeriod,firOrdHol.t0,firOrdHol.u,firOrdHol.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,time