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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 112.5 kB / 18.34 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 189.9 kB / 21.51 MB, free: 0.8945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 225.6 MB / 250.1 MB, free: 3.117 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.639/2.639, allocations: 496.2 MB / 0.7826 GB, free: 12.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=2500,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=2500,variableFilter="time|sta.u|sta.y|zerHolTim.y|sta1.u|sta1.y|lesHolTim.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/2.941e-05, allocations: 6.219 kB / 1.137 GB, free: 12.51 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.001915/0.001944, allocations: 0.9343 MB / 1.137 GB, free: 11.58 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.003313, allocations: 1.049 MB / 1.138 GB, free: 10.52 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.369e-05/0.003377, allocations: 4 kB / 1.138 GB, free: 10.51 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.003491, allocations: 19.73 kB / 1.138 GB, free: 10.49 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.003623, allocations: 39.7 kB / 1.139 GB, free: 10.45 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.003964, allocations: 131.7 kB / 1.139 GB, free: 10.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.004323, allocations: 375.2 kB / 1.139 GB, free: 9.957 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.004425, allocations: 13.69 kB / 1.139 GB, free: 9.941 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.004651, allocations: 171.6 kB / 1.139 GB, free: 9.773 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.004882, allocations: 187.4 kB / 1.139 GB, free: 9.59 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.446e-05/0.004936, allocations: 28 kB / 1.139 GB, free: 9.562 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.473e-05/0.004981, allocations: 28 kB / 1.139 GB, free: 9.535 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.0003521/0.005333, allocations: 428.5 kB / 1.14 GB, free: 9.113 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.00011/0.005443, allocations: 177.4 kB / 1.14 GB, free: 8.938 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.005494, allocations: 27.94 kB / 1.14 GB, free: 8.91 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.061e-05/0.005514, allocations: 7.938 kB / 1.14 GB, free: 8.902 MB / 0.92 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.001072/0.006586, allocations: 0.9767 MB / 1.141 GB, free: 7.809 MB / 0.92 GB Notification: Performance of FunctionAlias: time 0.0001691/0.006756, allocations: 134.3 kB / 1.141 GB, free: 7.68 MB / 0.92 GB Notification: Performance of Early Inline: time 0.0007241/0.00748, allocations: 0.6882 MB / 1.142 GB, free: 6.961 MB / 0.92 GB Notification: Performance of Simplify 1: time 0.0001876/0.007667, allocations: 161.2 kB / 1.142 GB, free: 6.777 MB / 0.92 GB Notification: Performance of Alias: time 0.0006838/0.008351, allocations: 435.2 kB / 1.142 GB, free: 6.285 MB / 0.92 GB Notification: Performance of Simplify 2: time 0.0001575/0.008509, allocations: 149.3 kB / 1.142 GB, free: 6.113 MB / 0.92 GB Notification: Performance of Remove Stream: time 0.0001369/0.008645, allocations: 149.3 kB / 1.143 GB, free: 5.941 MB / 0.92 GB Notification: Performance of Detect States: time 0.0005367/0.009182, allocations: 467.8 kB / 1.143 GB, free: 5.445 MB / 0.92 GB Notification: Performance of Events: time 0.0003522/0.009534, allocations: 257.8 kB / 1.143 GB, free: 5.195 MB / 0.92 GB Notification: Performance of Partitioning: time 0.0003721/0.009906, allocations: 351.8 kB / 1.144 GB, free: 4.836 MB / 0.92 GB Notification: Performance of Causalize: time 0.001092/0.011, allocations: 0.8692 MB / 1.145 GB, free: 3.953 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 0.0006764/0.01168, allocations: 0.6945 MB / 1.145 GB, free: 3.258 MB / 0.92 GB Notification: Performance of Simplify: time 0.0005884/0.01226, allocations: 421.9 kB / 1.146 GB, free: 2.797 MB / 0.92 GB Notification: Performance of Inline: time 0.0007918/0.01306, allocations: 0.7997 MB / 1.146 GB, free: 1.992 MB / 0.92 GB Notification: Performance of Partitioning: time 4.423e-05/0.0131, allocations: 35.61 kB / 1.146 GB, free: 1.953 MB / 0.92 GB Notification: Performance of Cleanup: time 0.0001617/0.01326, allocations: 195.7 kB / 1.147 GB, free: 1.762 MB / 0.92 GB Notification: Performance of Causalize: time 0.001695/0.01496, allocations: 1.398 MB / 1.148 GB, free: 364 kB / 0.92 GB Notification: Performance of Tearing: time 1.123e-05/0.01497, allocations: 0 / 1.148 GB, free: 364 kB / 0.92 GB Notification: Performance of Initialization: time 4.21e-07/0.01497, allocations: 0 / 1.148 GB, free: 364 kB / 0.92 GB Notification: Performance of Remove Dummies: time 5.721e-06/0.01497, allocations: 4 kB / 1.148 GB, free: 360 kB / 0.92 GB Notification: Performance of Tearing: time 2.074e-06/0.01498, allocations: 4 kB / 1.148 GB, free: 356 kB / 0.92 GB Notification: Performance of Categorize: time 8.906e-06/0.01498, allocations: 3.938 kB / 1.148 GB, free: 352 kB / 0.92 GB Notification: Performance of Solve: time 0.0002357/0.01522, allocations: 138 kB / 1.148 GB, free: 212 kB / 0.92 GB Notification: Performance of Jacobian: time 3.938e-06/0.01522, allocations: 0 / 1.148 GB, free: 212 kB / 0.92 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: ........... 26 (scalar:26, 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: ........... 66 (scalar:66, 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 0.0001156/0.01534, allocations: 48.38 kB / 1.148 GB, free: 172 kB / 0.92 GB Notification: Performance of SimCode: time 0.001239/0.01658, allocations: 1.425 MB / 1.15 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of Templates: time 0.006812/0.02339, allocations: 3.734 MB / 1.153 GB, free: 10.98 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1) [Timeout 400] 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) [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.361965008080006]