Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 109.1 kB / 16.42 MB, free: 6.434 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.002048/0.002048, allocations: 183.2 kB / 17.36 MB, free: 5.684 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.07 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.399/2.399, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.451e-05, allocations: 2.281 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003386/0.003427, allocations: 1.942 MB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.005416, allocations: 1.123 MB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.005579, allocations: 3.938 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.005991, allocations: 95.61 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003128/0.006314, allocations: 99.53 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.006824, allocations: 156.7 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.007176, allocations: 235.5 kB / 1.023 GB, free: 5.805 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.007336, allocations: 49.64 kB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.007556, allocations: 107.5 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.00771, allocations: 95.59 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.007757, allocations: 16 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.0079, allocations: 55.97 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0002058/0.008113, allocations: 272.8 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 9.729e-05/0.008216, allocations: 177.3 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.852e-05/0.00827, allocations: 23.94 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.029e-05/0.008316, allocations: 15.88 kB / 1.023 GB, free: 5 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: 21 (21) * Number of variables: 21 (21) Notification: Performance of Bindings: time 0.0008203/0.009141, allocations: 0.8048 MB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of FunctionAlias: time 0.0001062/0.009254, allocations: 50.14 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0003916/0.009653, allocations: 388.1 kB / 1.025 GB, free: 3.637 MB / 0.795 GB Notification: Performance of simplify1: time 4.723e-05/0.00971, allocations: 35.95 kB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of Alias: time 0.0006335/0.01035, allocations: 491.1 kB / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of simplify2: time 3.609e-05/0.0104, allocations: 23.97 kB / 1.025 GB, free: 3.016 MB / 0.795 GB Notification: Performance of Detect States: time 0.0002022/0.0106, allocations: 151.6 kB / 1.025 GB, free: 2.855 MB / 0.795 GB Notification: Performance of Events: time 0.0001916/0.0108, allocations: 118.3 kB / 1.025 GB, free: 2.742 MB / 0.795 GB Notification: Performance of Partitioning: time 0.0001799/0.01099, allocations: 151.2 kB / 1.026 GB, free: 2.574 MB / 0.795 GB Notification: Performance of Causalize: time 0.0006416/0.01164, allocations: 0.5405 MB / 1.026 GB, free: 2.012 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0003173/0.01197, allocations: 376.4 kB / 1.026 GB, free: 1.617 MB / 0.795 GB Notification: Performance of Inline: time 0.00192/0.01389, allocations: 0.7907 MB / 1.027 GB, free: 0.832 MB / 0.795 GB Notification: Performance of Partitioning: time 4.98e-05/0.01395, allocations: 38.38 kB / 1.027 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of Cleanup: time 4.384e-05/0.014, allocations: 35.95 kB / 1.027 GB, free: 0.75 MB / 0.795 GB Notification: Performance of Causalize: time 0.001307/0.01532, allocations: 1.117 MB / 1.028 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of Tearing: time 1.317e-05/0.01534, allocations: 7.984 kB / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of Initialization: time 2.815e-06/0.01535, allocations: 4 kB / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of Tearing: time 3.346e-06/0.01535, allocations: 0 / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of Categorize: time 8.997e-06/0.01537, allocations: 0 / 1.028 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of Solve: time 0.0001778/0.01555, allocations: 109.5 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of Jacobian: time 2.846e-06/0.01556, allocations: 0 / 1.029 GB, free: 15.52 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: ......... 3 * 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: .................... 5 (5) {decreaseSampler.y, increaseSampler.y, timTabLin.tab.nextTimeEventScaled, timTabLin.tab.nextTimeEvent, changeSampler.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 14 (14) {cha.y, cha.up, cha.down, reaToInt.y, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 21 (scalar:20, array:1, record:0) * Number of multi strong components: ............ 5 (algorithm:0, when:5, 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: ........... 40 (scalar:37, array:2, record:1) * Number of multi strong components: ............ 2 (algorithm:2, when:0, 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: Performance of backend: time 4.412e-05/0.01561, allocations: 34.53 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of SimCode: time 0.002015/0.01763, allocations: 1.752 MB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of Templates: time 0.005128/0.02277, allocations: 2.345 MB / 1.033 GB, free: 11.52 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,reaToInt.y,cha.u,cha.up,cha.y,cha.down,changeSampler.u,changeSampler.y,increaseSampler.u,increaseSampler.y,decreaseSampler.u,decreaseSampler.y Variables in the result:cha.down,cha.pre_u_start,cha.u,cha.up,cha.y,changeSampler.u,changeSampler.y,changeSampler.y_start,decreaseSampler.u,decreaseSampler.y,decreaseSampler.y_start,increaseSampler.u,increaseSampler.y,increaseSampler.y_start,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,reaToInt.y,timTabLin.extrapolation,timTabLin.nT,timTabLin.nout,timTabLin.offset[1],timTabLin.smoothness,timTabLin.t0,timTabLin.tab.columns[1],timTabLin.tab.extrapolation,timTabLin.tab.nout,timTabLin.tab.offset[1],timTabLin.tab.p_offset[1],timTabLin.tab.shiftTime,timTabLin.tab.smoothness,timTabLin.tab.startTime,timTabLin.tab.t_max,timTabLin.tab.t_maxScaled,timTabLin.tab.t_min,timTabLin.tab.t_minScaled,timTabLin.tab.tableOnFile,timTabLin.tab.table[1,1],timTabLin.tab.table[1,2],timTabLin.tab.table[2,1],timTabLin.tab.table[2,2],timTabLin.tab.table[3,1],timTabLin.tab.table[3,2],timTabLin.tab.table[4,1],timTabLin.tab.table[4,2],timTabLin.tab.table[5,1],timTabLin.tab.table[5,2],timTabLin.tab.timeEvents,timTabLin.tab.timeScale,timTabLin.tab.timeScaled,timTabLin.tab.verboseExtrapolation,timTabLin.tab.verboseRead,timTabLin.table[1,1],timTabLin.table[1,2],timTabLin.table[2,1],timTabLin.table[2,2],timTabLin.table[3,1],timTabLin.table[3,2],timTabLin.table[4,1],timTabLin.table[4,2],timTabLin.table[5,1],timTabLin.table[5,2],timTabLin.timeRange,timTabLin.timeScale,time