Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firOrdHol.u|firOrdHol.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firOrdHol.u|firOrdHol.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 115.8 kB / 16.48 MB, free: 6.012 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.00118/0.00118, allocations: 197.2 kB / 17.41 MB, free: 5.512 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.393/1.393, allocations: 225.6 MB / 243.8 MB, free: 14.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.603/2.603, allocations: 476.7 MB / 0.7552 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.771e-05, allocations: 2.281 kB / 1.097 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001762/0.001789, allocations: 0.6889 MB / 1.097 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.003286, allocations: 1.071 MB / 1.098 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.459e-05/0.00334, allocations: 1.156 kB / 1.098 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.194e-05/0.003362, allocations: 4.641 kB / 1.098 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.097e-05/0.003433, allocations: 13.7 kB / 1.098 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.00369, allocations: 40.59 kB / 1.098 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.003829, allocations: 82.73 kB / 1.098 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.553e-05/0.003915, allocations: 6.812 kB / 1.098 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.573e-05/0.00398, allocations: 30.09 kB / 1.098 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.004049, allocations: 36.69 kB / 1.099 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.004068, allocations: 6.844 kB / 1.099 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.914e-05/0.004138, allocations: 15.97 kB / 1.099 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001073/0.004245, allocations: 90.61 kB / 1.099 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 3.128e-05/0.004276, allocations: 49.47 kB / 1.099 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.0043, allocations: 7.688 kB / 1.099 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.292e-05/0.004313, allocations: 5.469 kB / 1.099 GB, free: 10.34 MB / 0.8419 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.0005354/0.004849, allocations: 375.1 kB / 1.099 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 7.349e-05/0.004922, allocations: 43.12 kB / 1.099 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0003161/0.005238, allocations: 218.1 kB / 1.099 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of Simplify 1: time 9.722e-05/0.005335, allocations: 74.25 kB / 1.099 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of Alias: time 0.0004364/0.005772, allocations: 209.7 kB / 1.1 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of Simplify 2: time 8.082e-05/0.005853, allocations: 65.5 kB / 1.1 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of Remove Stream: time 7.407e-05/0.005927, allocations: 63.41 kB / 1.1 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of Detect States: time 0.00028/0.006207, allocations: 152.7 kB / 1.1 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of Events: time 9.723e-05/0.006304, allocations: 46.17 kB / 1.1 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001289/0.006433, allocations: 83.56 kB / 1.1 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003602/0.006793, allocations: 225.3 kB / 1.1 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001746/0.006968, allocations: 143.2 kB / 1.1 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of Simplify: time 0.0002415/0.007209, allocations: 152.5 kB / 1.1 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of Inline: time 0.0002858/0.007495, allocations: 240.4 kB / 1.101 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.284e-05/0.007518, allocations: 20.36 kB / 1.101 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of Cleanup: time 4.602e-05/0.007564, allocations: 46.48 kB / 1.101 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0004829/0.008047, allocations: 341.6 kB / 1.101 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of Tearing: time 9.718e-06/0.008056, allocations: 0 / 1.101 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of Initialization: time 9.52e-07/0.008057, allocations: 0.5312 kB / 1.101 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of Tearing: time 2.624e-06/0.00806, allocations: 0.5312 kB / 1.101 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of Categorize: time 8.256e-06/0.008068, allocations: 5.844 kB / 1.101 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of Solve: time 9.526e-05/0.008163, allocations: 44.73 kB / 1.101 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of Jacobian: time 4.92e-06/0.008168, allocations: 3.984 kB / 1.101 GB, free: 8.578 MB / 0.8419 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: ......... 1 * 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.c, firOrdHol.pre_uSample, firOrdHol.uSample, firOrdHol.tSample, firOrdHol.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {firOrdHol.sampleTrigger, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, 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 (resizable: 0generic: 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: ........... 19 (scalar:19, 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 (resizable: 0generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 8.164e-05/0.00825, allocations: 23.5 kB / 1.101 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0007924/0.009042, allocations: 0.9002 MB / 1.102 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of Templates: time 0.003869/0.01291, allocations: 0.9094 MB / 1.103 GB, free: 7.672 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches