Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001583/0.001583, allocations: 112.7 kB / 18.34 MB, free: 3.961 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.001865/0.001865, allocations: 190 kB / 21.52 MB, free: 0.7969 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.394/1.394, allocations: 225.6 MB / 250.1 MB, free: 13.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 443.4 MB / 0.7311 GB, free: 12.74 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|sta.u|sta.y|zerHolTim.y|sta1.u|sta1.y|lesHolTim.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.Stage") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.605e-05, allocations: 2.281 kB / 1.06 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.002109/0.002135, allocations: 0.9475 MB / 1.061 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.003577, allocations: 1.042 MB / 1.062 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.163e-05/0.003658, allocations: 7.938 kB / 1.062 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.003794, allocations: 15.8 kB / 1.062 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.003939, allocations: 47.64 kB / 1.062 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.004319, allocations: 127.8 kB / 1.062 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004106/0.004729, allocations: 367.2 kB / 1.062 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.004855, allocations: 21.61 kB / 1.062 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/0.005125, allocations: 167.7 kB / 1.062 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.00536, allocations: 187.4 kB / 1.063 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.658e-05/0.005417, allocations: 28 kB / 1.063 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.69e-05/0.005474, allocations: 28 kB / 1.063 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of combineBinaries: time 0.0004023/0.005876, allocations: 432.4 kB / 1.063 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of replaceArrayConstructors: time 0.0001236/0.005999, allocations: 181.4 kB / 1.063 GB, free: 388 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.625e-05/0.006056, allocations: 27.94 kB / 1.063 GB, free: 360 kB / 0.8575 GB Notification: Performance of FrontEnd: time 2.594e-05/0.006082, allocations: 11.92 kB / 1.063 GB, free: 348 kB / 0.8575 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.001195/0.007277, allocations: 0.965 MB / 1.064 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of FunctionAlias: time 0.0001906/0.007467, allocations: 142.4 kB / 1.064 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of Early Inline: time 0.000773/0.008241, allocations: 0.6882 MB / 1.065 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of Simplify 1: time 0.0002118/0.008452, allocations: 157.2 kB / 1.065 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of Alias: time 0.0008003/0.009253, allocations: 447.2 kB / 1.066 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of Simplify 2: time 0.0001832/0.009436, allocations: 145.3 kB / 1.066 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of Remove Stream: time 0.0001533/0.009589, allocations: 141.3 kB / 1.066 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of Detect States: time 0.0005947/0.01018, allocations: 466.5 kB / 1.066 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of Events: time 0.0004091/0.01059, allocations: 255.1 kB / 1.067 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of Partitioning: time 0.0004357/0.01103, allocations: 355.8 kB / 1.067 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of Causalize: time 0.001228/0.01226, allocations: 0.8733 MB / 1.068 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of After Index Reduction Inline: time 0.0008093/0.01307, allocations: 0.6906 MB / 1.068 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of Simplify: time 0.0006725/0.01374, allocations: 422.8 kB / 1.069 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of Inline: time 0.0008608/0.0146, allocations: 0.7997 MB / 1.07 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of Partitioning: time 5.185e-05/0.01465, allocations: 35.61 kB / 1.07 GB, free: 9.391 MB / 0.8731 GB Notification: Performance of Cleanup: time 0.0001891/0.01484, allocations: 199.7 kB / 1.07 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of Causalize: time 0.0019/0.01674, allocations: 1.387 MB / 1.071 GB, free: 7.793 MB / 0.8731 GB Notification: Performance of Tearing: time 1.416e-05/0.01675, allocations: 0 / 1.071 GB, free: 7.793 MB / 0.8731 GB Notification: Performance of Initialization: time 4.71e-07/0.01675, allocations: 7.938 kB / 1.071 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of Remove Dummies: time 7.404e-06/0.01676, allocations: 0 / 1.071 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of Tearing: time 2.034e-06/0.01676, allocations: 0 / 1.071 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of Categorize: time 1.236e-05/0.01678, allocations: 4 kB / 1.071 GB, free: 7.781 MB / 0.8731 GB Notification: Performance of Solve: time 0.0002864/0.01706, allocations: 146 kB / 1.071 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of Jacobian: time 5.26e-06/0.01707, allocations: 4 kB / 1.071 GB, free: 7.633 MB / 0.8731 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.0001338/0.0172, allocations: 50.09 kB / 1.071 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001541/0.01874, allocations: 1.431 MB / 1.073 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of Templates: time 0.008294/0.02704, allocations: 3.728 MB / 1.076 GB, free: 2.426 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Stage -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Stage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Stage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.560271929018199]