Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.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_11_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_11_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.001744/0.001744, allocations: 108.9 kB / 16.42 MB, free: 6.523 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.001741/0.001741, allocations: 188.2 kB / 17.36 MB, free: 5.746 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.113/1.113, allocations: 222.9 MB / 241 MB, free: 15.17 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.15/2.15, allocations: 469.8 MB / 0.7431 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.969e-06/9.989e-06, allocations: 2.281 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.001358/0.001378, allocations: 0.941 MB / 1.067 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.002436, allocations: 1.026 MB / 1.068 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.558e-05/0.002501, allocations: 3.938 kB / 1.068 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.427e-05/0.002591, allocations: 15.81 kB / 1.068 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.002703, allocations: 51.62 kB / 1.068 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.002974, allocations: 127.8 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.003276, allocations: 375.2 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.722e-05/0.003372, allocations: 25.61 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.003551, allocations: 167.5 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.003725, allocations: 179.5 kB / 1.069 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.163e-05/0.003782, allocations: 28 kB / 1.069 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.295e-05/0.00383, allocations: 32 kB / 1.069 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002442/0.004079, allocations: 360.6 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 7.86e-05/0.004163, allocations: 169.4 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.004206, allocations: 31.88 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.77e-05/0.004228, allocations: 7.984 kB / 1.069 GB, free: 10.11 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: 30 (30) * Number of variables: 30 (30) Notification: Performance of Bindings: time 0.0008081/0.00504, allocations: 0.9281 MB / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 8.217e-05/0.005127, allocations: 71.8 kB / 1.07 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0005956/0.005729, allocations: 0.6843 MB / 1.071 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001146/0.005849, allocations: 117.4 kB / 1.071 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of Alias: time 0.0004854/0.00634, allocations: 415 kB / 1.071 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of simplify2: time 9.432e-05/0.006444, allocations: 113.4 kB / 1.071 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0003376/0.006788, allocations: 382 kB / 1.072 GB, free: 7.168 MB / 0.8419 GB Notification: Performance of Events: time 0.0003371/0.007133, allocations: 310.2 kB / 1.072 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.000237/0.007377, allocations: 241.8 kB / 1.072 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0008468/0.00823, allocations: 0.7704 MB / 1.073 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0006869/0.008924, allocations: 0.8268 MB / 1.074 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of Inline: time 0.0009824/0.009912, allocations: 1.089 MB / 1.075 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of Partitioning: time 4.369e-05/0.009964, allocations: 35.61 kB / 1.075 GB, free: 3.816 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001497/0.01012, allocations: 223.7 kB / 1.075 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0014/0.01152, allocations: 1.287 MB / 1.077 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of Tearing: time 9.468e-06/0.01154, allocations: 0 / 1.077 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of Initialization: time 3.11e-07/0.01155, allocations: 0 / 1.077 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of Tearing: time 4.068e-06/0.01155, allocations: 0 / 1.077 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of Categorize: time 8.757e-06/0.01157, allocations: 7.938 kB / 1.077 GB, free: 2.305 MB / 0.8419 GB Notification: Performance of Solve: time 0.0002285/0.0118, allocations: 170.1 kB / 1.077 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.425e-06/0.01181, allocations: 0 / 1.077 GB, free: 2.141 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.y, lesHolTim.tNext, sta1.lowerThreshold, sta1.upperThreshold, sta1.y, sta1.tNext, zerHolTim.lowerThreshold, zerHolTim.upperThreshold, zerHolTim.y, zerHolTim.tNext, sta.lowerThreshold, sta.upperThreshold, sta.y, sta.tNext} * 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 5.498e-05/0.01187, allocations: 48.2 kB / 1.077 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0009298/0.0128, allocations: 1.538 MB / 1.078 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of Templates: time 0.3592/0.372, allocations: 3.873 MB / 1.082 GB, free: 17.96 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Stage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Stage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Stage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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