Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 110.5 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.001189/0.00119, allocations: 186.1 kB / 17.36 MB, free: 5.621 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.124/1.124, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.167/2.167, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012e-05/1.014e-05, allocations: 4.953 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001326/0.001346, allocations: 0.8386 MB / 1.056 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008353/0.002192, allocations: 0.8701 MB / 1.056 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.997e-05/0.002262, allocations: 4 kB / 1.056 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.91e-05/0.002356, allocations: 7.875 kB / 1.056 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.007e-05/0.002399, allocations: 15.86 kB / 1.056 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.002524, allocations: 27.91 kB / 1.056 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.002642, allocations: 83.83 kB / 1.056 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.002748, allocations: 35.86 kB / 1.057 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.608e-05/0.002821, allocations: 35.91 kB / 1.057 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.255e-05/0.002881, allocations: 27.8 kB / 1.057 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.002902, allocations: 8 kB / 1.057 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.002918, allocations: 4 kB / 1.057 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of combineBinaries: time 8.022e-05/0.003002, allocations: 110.6 kB / 1.057 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 2.947e-05/0.003036, allocations: 74.88 kB / 1.057 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.67e-05/0.003057, allocations: 15.94 kB / 1.057 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.174e-05/0.003073, allocations: 0 / 1.057 GB, free: 5.543 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 (9) * Number of variables: 9 (9) Notification: Performance of Bindings: time 0.0003439/0.003422, allocations: 399.5 kB / 1.057 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 5.014e-05/0.003478, allocations: 23.88 kB / 1.057 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001308/0.003616, allocations: 168.2 kB / 1.057 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of simplify1: time 1.882e-05/0.00364, allocations: 11.98 kB / 1.057 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of Alias: time 0.0003355/0.00398, allocations: 269.2 kB / 1.058 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of simplify2: time 1.186e-05/0.004001, allocations: 15.92 kB / 1.058 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of Events: time 7.104e-05/0.004076, allocations: 36.19 kB / 1.058 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001444/0.004228, allocations: 72.16 kB / 1.058 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of Partitioning: time 6.1e-05/0.004295, allocations: 48.11 kB / 1.058 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001583/0.004459, allocations: 148 kB / 1.058 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0001181/0.004584, allocations: 156.3 kB / 1.058 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of Inline: time 0.000189/0.004778, allocations: 228.2 kB / 1.058 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.981e-05/0.004804, allocations: 28.09 kB / 1.058 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of Cleanup: time 1.038e-05/0.004819, allocations: 11.92 kB / 1.058 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0002744/0.005097, allocations: 260.3 kB / 1.059 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of Tearing: time 5.791e-06/0.005111, allocations: 0 / 1.059 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of Initialization: time 7.754e-06/0.005123, allocations: 4 kB / 1.059 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of Tearing: time 9.41e-07/0.005127, allocations: 0 / 1.059 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of Categorize: time 4.679e-06/0.005135, allocations: 0 / 1.059 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of Solve: time 5.689e-05/0.005195, allocations: 39.91 kB / 1.059 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of Jacobian: time 3.707e-06/0.005205, allocations: 0 / 1.059 GB, free: 3.367 MB / 0.8262 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (6) {les.lesNoHys.y, lesHys.lesHys.y, $SEV_1, $SEV_0, $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: ........... 8 (scalar:8, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 12 (scalar:12, 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 2.138e-05/0.00523, allocations: 13.83 kB / 1.059 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0004466/0.00568, allocations: 0.9171 MB / 1.06 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of Templates: time 0.001974/0.007662, allocations: 0.6042 MB / 1.06 GB, free: 1.816 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches