Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 100.4 kB / 19.72 MB, free: 2.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 211.2 kB / 23.01 MB, free: 4.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.283/1.283, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.757/2.757, allocations: 0.49 GB / 0.7958 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sta.u|sta.y|zerHolTim.y|sta1.u|sta1.y|lesHolTim.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sta.u|sta.y|zerHolTim.y|sta1.u|sta1.y|lesHolTim.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.566e-05, allocations: 6.219 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.001475/0.00149, allocations: 0.8933 MB / 1.156 GB, free: 24.7 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.002504, allocations: 1.062 MB / 1.157 GB, free: 23.92 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.997e-05/0.002564, allocations: 7.219 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 8.437e-05/0.002648, allocations: 11.81 kB / 1.157 GB, free: 23.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.002784, allocations: 51.91 kB / 1.157 GB, free: 23.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.003095, allocations: 141.3 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.003364, allocations: 371.1 kB / 1.157 GB, free: 23.64 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.958e-05/0.003463, allocations: 23.02 kB / 1.158 GB, free: 23.62 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.003689, allocations: 181.1 kB / 1.158 GB, free: 23.55 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.003868, allocations: 191.1 kB / 1.158 GB, free: 23.46 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.566e-05/0.003923, allocations: 29.53 kB / 1.158 GB, free: 23.46 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.831e-05/0.003991, allocations: 30.78 kB / 1.158 GB, free: 23.46 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.000275/0.004267, allocations: 458.5 kB / 1.158 GB, free: 23.18 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 7.996e-05/0.004346, allocations: 211.5 kB / 1.159 GB, free: 23.04 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.004389, allocations: 15.12 kB / 1.159 GB, free: 23.04 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.476e-05/0.004404, allocations: 3.438 kB / 1.159 GB, free: 23.04 MB / 0.9044 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 [SIM] Bindings: time 0.0009703/0.005374, allocations: 1.276 MB / 1.16 GB, free: 22.17 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001485/0.005523, allocations: 205.9 kB / 1.16 GB, free: 22.05 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0008713/0.006394, allocations: 1.247 MB / 1.161 GB, free: 21.42 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0002268/0.006621, allocations: 215.3 kB / 1.161 GB, free: 21.27 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0008224/0.007443, allocations: 0.7759 MB / 1.162 GB, free: 20.77 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001983/0.007641, allocations: 213.6 kB / 1.162 GB, free: 20.62 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001082/0.007749, allocations: 136.7 kB / 1.163 GB, free: 20.52 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0004144/0.008164, allocations: 487.7 kB / 1.163 GB, free: 20.19 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0002855/0.008449, allocations: 258.3 kB / 1.163 GB, free: 20.04 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0004177/0.008867, allocations: 440.7 kB / 1.164 GB, free: 19.85 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0007349/0.009602, allocations: 0.5822 MB / 1.164 GB, free: 19.7 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007667/0.01037, allocations: 1.093 MB / 1.165 GB, free: 19.16 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0006454/0.01101, allocations: 0.507 MB / 1.166 GB, free: 18.82 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.001016/0.01203, allocations: 1.422 MB / 1.167 GB, free: 18.11 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 4.081e-05/0.01207, allocations: 34.28 kB / 1.167 GB, free: 18.07 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 0.0001399/0.01221, allocations: 200.2 kB / 1.167 GB, free: 17.96 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.001205/0.01342, allocations: 1.025 MB / 1.168 GB, free: 17.71 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.983e-05/0.01344, allocations: 37.28 kB / 1.168 GB, free: 17.68 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.21e-07/0.01344, allocations: 1.062 kB / 1.168 GB, free: 17.68 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 6.192e-06/0.01344, allocations: 192 / 1.168 GB, free: 17.68 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 7.705e-06/0.01345, allocations: 30.22 kB / 1.168 GB, free: 17.66 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.965e-06/0.01346, allocations: 3.453 kB / 1.168 GB, free: 17.66 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0004483/0.01391, allocations: 415.9 kB / 1.169 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 6.943e-06/0.01391, allocations: 0 / 1.169 GB, free: 17.5 MB / 0.9044 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) {} * Number of discrete variables: ................. 23 (23) {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_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: ........... 25 (scalar:25, 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 (resizable: 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: ........... 65 (scalar:65, 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 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 9.205e-05/0.01401, allocations: 53.69 kB / 1.169 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001067/0.01507, allocations: 0.9038 MB / 1.17 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of Templates: time 0.007149/0.02222, allocations: 3.892 MB / 1.174 GB, free: 16.66 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Stage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 7.359852932859212]