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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sta.u|sta.y|zerHolTim.y|sta1.u|sta1.y|lesHolTim.y",fileNamePrefix="Buildings_10_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.001187/0.001187, allocations: 107.2 kB / 16.42 MB, free: 6.48 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.001187/0.001187, allocations: 190 kB / 17.36 MB, free: 5.703 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.333/2.333, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/2.837e-05, allocations: 2.281 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Stage): time 0.002053/0.002097, allocations: 0.9371 MB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.003656, allocations: 1.047 MB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.003801, allocations: 0 / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.003964, allocations: 19.75 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.004135, allocations: 43.69 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.004571, allocations: 123.7 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.00495, allocations: 371.2 kB / 1.022 GB, free: 6.906 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.005095, allocations: 29.69 kB / 1.022 GB, free: 6.875 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.005371, allocations: 179.5 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.00566, allocations: 179.4 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.033e-05/0.005737, allocations: 28 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.485e-05/0.005797, allocations: 28 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0002577/0.006061, allocations: 356.8 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 8.627e-05/0.006153, allocations: 177.3 kB / 1.023 GB, free: 5.941 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.225e-05/0.006221, allocations: 35.88 kB / 1.023 GB, free: 5.906 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.339e-05/0.006249, allocations: 0 / 1.023 GB, free: 5.906 MB / 0.795 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.001063/0.007318, allocations: 1.143 MB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of FunctionAlias: time 0.0001048/0.007428, allocations: 59.88 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0008268/0.008263, allocations: 0.938 MB / 1.025 GB, free: 3.633 MB / 0.795 GB Notification: Performance of simplify1: time 7.485e-05/0.008345, allocations: 67.88 kB / 1.025 GB, free: 3.566 MB / 0.795 GB Notification: Performance of Alias: time 0.0007301/0.009081, allocations: 0.5966 MB / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of simplify2: time 7.166e-05/0.009164, allocations: 67.88 kB / 1.025 GB, free: 2.852 MB / 0.795 GB Notification: Performance of Detect States: time 0.0004536/0.009622, allocations: 467.3 kB / 1.026 GB, free: 2.379 MB / 0.795 GB Notification: Performance of Events: time 0.0004129/0.01004, allocations: 359.2 kB / 1.026 GB, free: 2.035 MB / 0.795 GB Notification: Performance of Partitioning: time 0.00035/0.0104, allocations: 313.8 kB / 1.026 GB, free: 1.715 MB / 0.795 GB Notification: Performance of Causalize: time 0.001147/0.01156, allocations: 1.015 MB / 1.027 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0009872/0.01255, allocations: 1.131 MB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of Inline: time 0.00149/0.01405, allocations: 1.447 MB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of Partitioning: time 8.393e-05/0.01415, allocations: 71.61 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of Cleanup: time 0.0001061/0.01426, allocations: 87.81 kB / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of Causalize: time 0.002098/0.01636, allocations: 1.783 MB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of Tearing: time 1.538e-05/0.01639, allocations: 4 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of Initialization: time 6.11e-07/0.01639, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of Tearing: time 4.609e-06/0.0164, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of Categorize: time 1.384e-05/0.01642, allocations: 3.938 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of Solve: time 0.000304/0.01673, allocations: 198.1 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of Jacobian: time 3.126e-06/0.01675, allocations: 4 kB / 1.032 GB, free: 11.89 MB / 0.8106 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 6.926e-05/0.01682, allocations: 49.8 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of SimCode: time 0.001251/0.01808, allocations: 1.561 MB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of Templates: time 0.00719/0.02528, allocations: 3.88 MB / 1.037 GB, free: 6.391 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1) 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) "" 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