Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.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.Integers.Validation.Stage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sta.u|sta.y|zerHolTim.y|sta1.u|sta1.y|lesHolTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sta.u|sta.y|zerHolTim.y|sta1.u|sta1.y|lesHolTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, 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.001115/0.001115, 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.23/1.23, 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.296/2.296, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.735e-05, allocations: 2.281 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.001579/0.001607, allocations: 0.9297 MB / 1.056 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.002747, allocations: 1.034 MB / 1.057 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.627e-05/0.002813, allocations: 0 / 1.057 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.984e-05/0.00291, allocations: 15.8 kB / 1.057 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.003044, allocations: 47.62 kB / 1.057 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.003347, allocations: 131.7 kB / 1.057 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.003656, allocations: 367.2 kB / 1.057 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.003775, allocations: 37.66 kB / 1.057 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.003973, allocations: 171.5 kB / 1.057 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.00418, allocations: 175.5 kB / 1.057 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.32e-05/0.004241, allocations: 32 kB / 1.058 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.581e-05/0.004293, allocations: 32 kB / 1.058 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0002437/0.004541, allocations: 360.7 kB / 1.058 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 7.473e-05/0.004622, allocations: 173.3 kB / 1.058 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.004671, allocations: 31.88 kB / 1.058 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.777e-05/0.004693, allocations: 4 kB / 1.058 GB, free: 4.199 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: 30 (30) * Number of variables: 30 (30) Notification: Performance of Bindings: time 0.0009491/0.005647, allocations: 1.147 MB / 1.059 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 9.222e-05/0.005745, allocations: 63.81 kB / 1.059 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0007404/0.006492, allocations: 0.9303 MB / 1.06 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of simplify1: time 6.728e-05/0.006565, allocations: 67.88 kB / 1.06 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of Alias: time 0.0006419/0.007213, allocations: 0.6043 MB / 1.061 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of simplify2: time 5.428e-05/0.007277, allocations: 63.88 kB / 1.061 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of Events: time 0.0004244/0.007707, allocations: 369 kB / 1.061 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0005712/0.008286, allocations: 0.5137 MB / 1.062 GB, free: 264 kB / 0.8262 GB Notification: Performance of Partitioning: time 0.0003215/0.008617, allocations: 317.9 kB / 1.062 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001073/0.009698, allocations: 1.02 MB / 1.063 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0008946/0.0106, allocations: 1.131 MB / 1.064 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of Inline: time 0.001255/0.01187, allocations: 1.442 MB / 1.066 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of Partitioning: time 7.325e-05/0.01195, allocations: 79.55 kB / 1.066 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of Cleanup: time 6.91e-05/0.01202, allocations: 87.81 kB / 1.066 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001855/0.01388, allocations: 1.775 MB / 1.067 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of Tearing: time 1.221e-05/0.01391, allocations: 3.984 kB / 1.067 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of Initialization: time 1.522e-06/0.01391, allocations: 4 kB / 1.067 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of Tearing: time 2.936e-06/0.01392, allocations: 3.938 kB / 1.067 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of Categorize: time 8.967e-06/0.01394, allocations: 7.938 kB / 1.067 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of Solve: time 0.0002611/0.0142, allocations: 198.1 kB / 1.068 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of Jacobian: time 1.733e-06/0.01421, allocations: 0 / 1.068 GB, free: 10.1 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: ......... 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: .................... 16 (16) {lesHolTim.lowerThreshold, lesHolTim.upperThreshold, lesHolTim.tNext, lesHolTim.y, sta1.lowerThreshold, sta1.y, sta1.tNext, sta1.upperThreshold, zerHolTim.lowerThreshold, zerHolTim.tNext, zerHolTim.upperThreshold, zerHolTim.y, sta.upperThreshold, sta.tNext, sta.y, sta.lowerThreshold} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 35 (35) {sta.checkUpper, sta.checkLower, zerHolTim.checkUpper, zerHolTim.checkLower, sta1.checkUpper, sta1.checkLower, lesHolTim.checkUpper, lesHolTim.checkLower, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_14, $TEV_13, $TEV_12, $TEV_11, $TEV_10, $TEV_9, $TEV_8, $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: ........... 38 (scalar:38, array:0, record:0) * Number of multi strong components: ............ 16 (algorithm:0, when:16, 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: ........... 78 (scalar:78, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (generic: 4, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001062/0.01432, allocations: 49.77 kB / 1.068 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of SimCode: time 0.001073/0.0154, allocations: 1.555 MB / 1.069 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of Templates: time 0.005942/0.02135, allocations: 3.945 MB / 1.073 GB, free: 4.539 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Stage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,sta.u,sta.y,zerHolTim.y,sta1.u,sta1.y,lesHolTim.y Variables in the result:lesHolTim.h,lesHolTim.holdDuration,lesHolTim.n,lesHolTim.pre_y_start,lesHolTim.staThr[1],lesHolTim.staThr[2],lesHolTim.staThr[3],lesHolTim.staThr[4],lesHolTim.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,sin.amplitude,sin.freqHz,sin.offset,sin.phase,sin.startTime,sta.h,sta.holdDuration,sta.n,sta.pre_y_start,sta.staThr[1],sta.staThr[2],sta.staThr[3],sta.staThr[4],sta.u,sta.y,sta1.h,sta1.holdDuration,sta1.n,sta1.pre_y_start,sta1.staThr[1],sta1.staThr[2],sta1.staThr[3],sta1.staThr[4],sta1.u,sta1.y,time,zerHolTim.h,zerHolTim.holdDuration,zerHolTim.n,zerHolTim.pre_y_start,zerHolTim.staThr[1],zerHolTim.staThr[2],zerHolTim.staThr[3],zerHolTim.staThr[4],zerHolTim.y