Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009451/0.0009451, allocations: 111.5 kB / 16.42 MB, free: 6.508 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.001157/0.001157, allocations: 192.2 kB / 17.35 MB, free: 5.754 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.17/1.17, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.92/1.92, allocations: 390.2 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.425e-05, allocations: 6.219 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.002947/0.00297, allocations: 2.479 MB / 0.9539 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002236/0.005217, allocations: 1.579 MB / 0.9555 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.00536, allocations: 15.88 kB / 0.9555 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005157/0.005882, allocations: 318.9 kB / 0.9558 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005168/0.006408, allocations: 334.7 kB / 0.9561 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007782/0.007205, allocations: 450.5 kB / 0.9565 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007104/0.007923, allocations: 0.7753 MB / 0.9573 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.00807, allocations: 69.73 kB / 0.9574 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.008455, allocations: 358.7 kB / 0.9577 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.008724, allocations: 298.7 kB / 0.958 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.733e-05/0.008778, allocations: 28 kB / 0.958 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.008936, allocations: 87.97 kB / 0.9581 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0004744/0.009417, allocations: 0.7991 MB / 0.9589 GB, free: 72 kB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 0.0002525/0.009676, allocations: 0.5198 MB / 0.9594 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 7.056e-05/0.009752, allocations: 75.69 kB / 0.9594 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.897e-05/0.009796, allocations: 15.94 kB / 0.9595 GB, free: 15.45 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 (25) * Number of variables: 25 (25) Notification: Performance of Bindings: time 0.001586/0.01139, allocations: 2.03 MB / 0.9614 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of FunctionAlias: time 0.0001212/0.01152, allocations: 84.44 kB / 0.9615 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of Early Inline: time 0.0006194/0.01214, allocations: 0.7195 MB / 0.9622 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of simplify1: time 5.784e-05/0.01221, allocations: 67.91 kB / 0.9623 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of Alias: time 0.0007028/0.01292, allocations: 0.6882 MB / 0.963 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of simplify2: time 5.713e-05/0.01299, allocations: 67.91 kB / 0.963 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of Detect States: time 0.0002991/0.01329, allocations: 303.9 kB / 0.9633 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of Events: time 0.0003349/0.01363, allocations: 266.7 kB / 0.9636 GB, free: 11 MB / 0.7481 GB Notification: Performance of Partitioning: time 0.0003434/0.01399, allocations: 369.7 kB / 0.9639 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of Causalize: time 0.00111/0.0151, allocations: 1.122 MB / 0.965 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of After Index Reduction Inline: time 0.0006036/0.01571, allocations: 0.6782 MB / 0.9657 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of Inline: time 0.001821/0.01754, allocations: 1.957 MB / 0.9676 GB, free: 6.582 MB / 0.7481 GB Notification: Performance of Partitioning: time 9.381e-05/0.01765, allocations: 103.6 kB / 0.9677 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of Cleanup: time 6.635e-05/0.01772, allocations: 71.83 kB / 0.9678 GB, free: 6.406 MB / 0.7481 GB Notification: Performance of Causalize: time 0.003395/0.02112, allocations: 3.352 MB / 0.971 GB, free: 3.047 MB / 0.7481 GB Notification: Performance of Tearing: time 1.392e-05/0.02115, allocations: 7.922 kB / 0.971 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of Initialization: time 1.683e-06/0.02115, allocations: 4 kB / 0.971 GB, free: 3.035 MB / 0.7481 GB Notification: Performance of Tearing: time 5.801e-06/0.02116, allocations: 3.938 kB / 0.9711 GB, free: 3.031 MB / 0.7481 GB Notification: Performance of Categorize: time 1.605e-05/0.02118, allocations: 4 kB / 0.9711 GB, free: 3.027 MB / 0.7481 GB Notification: Performance of Solve: time 0.0003576/0.02155, allocations: 286.3 kB / 0.9713 GB, free: 2.746 MB / 0.7481 GB Notification: Performance of Jacobian: time 3.957e-06/0.02156, allocations: 3.984 kB / 0.9713 GB, free: 2.742 MB / 0.7481 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: ......... 15 * 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: .................... 10 (10) {timTabLinCon.tab.nextTimeEvent, timTabLinCon.tab.nextTimeEventScaled, timTabCon.tab.nextTimeEvent, timTabCon.tab.nextTimeEventScaled, timTabLinDer.tab.nextTimeEvent, timTabLinDer.tab.nextTimeEventScaled, timTabLinHol.tab.nextTimeEvent, timTabLinHol.tab.nextTimeEventScaled, timTabLin.tab.nextTimeEventScaled, timTabLin.tab.nextTimeEvent} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 20 (20) {$SEV_14, $SEV_13, $SEV_12, $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_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: ........... 35 (scalar:30, array:5, record:0) * Number of multi strong components: ............ 10 (algorithm:0, when:10, 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: ........... 95 (scalar:80, array:10, record:5) * Number of multi strong components: ............ 10 (algorithm:10, 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 5.147e-05/0.02161, allocations: 47.7 kB / 0.9714 GB, free: 2.699 MB / 0.7481 GB Notification: Performance of SimCode: time 0.003409/0.02503, allocations: 3.53 MB / 0.9748 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of Templates: time 0.00883/0.03387, allocations: 5.545 MB / 0.9802 GB, free: 9.793 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,timTabLin.y[1],timTabLinCon.y[1],timTabCon.y[1],timTabLinHol.y[1],timTabLinDer.y[1] Variables in the result:timTabCon.extrapolation,timTabCon.nT,timTabCon.nout,timTabCon.offset[1],timTabCon.smoothness,timTabCon.t0,timTabCon.tab.columns[1],timTabCon.tab.extrapolation,timTabCon.tab.nout,timTabCon.tab.offset[1],timTabCon.tab.p_offset[1],timTabCon.tab.shiftTime,timTabCon.tab.smoothness,timTabCon.tab.startTime,timTabCon.tab.t_max,timTabCon.tab.t_maxScaled,timTabCon.tab.t_min,timTabCon.tab.t_minScaled,timTabCon.tab.tableOnFile,timTabCon.tab.table[1,1],timTabCon.tab.table[1,2],timTabCon.tab.table[2,1],timTabCon.tab.table[2,2],timTabCon.tab.table[3,1],timTabCon.tab.table[3,2],timTabCon.tab.table[4,1],timTabCon.tab.table[4,2],timTabCon.tab.timeEvents,timTabCon.tab.timeScale,timTabCon.tab.timeScaled,timTabCon.tab.verboseExtrapolation,timTabCon.tab.verboseRead,timTabCon.table[1,1],timTabCon.table[1,2],timTabCon.table[2,1],timTabCon.table[2,2],timTabCon.table[3,1],timTabCon.table[3,2],timTabCon.table[4,1],timTabCon.table[4,2],timTabCon.timeRange,timTabCon.timeScale,timTabCon.y[1],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.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.timeRange,timTabLin.timeScale,timTabLin.y[1],timTabLinCon.extrapolation,timTabLinCon.nT,timTabLinCon.nout,timTabLinCon.offset[1],timTabLinCon.smoothness,timTabLinCon.t0,timTabLinCon.tab.columns[1],timTabLinCon.tab.extrapolation,timTabLinCon.tab.nout,timTabLinCon.tab.offset[1],timTabLinCon.tab.p_offset[1],timTabLinCon.tab.shiftTime,timTabLinCon.tab.smoothness,timTabLinCon.tab.startTime,timTabLinCon.tab.t_max,timTabLinCon.tab.t_maxScaled,timTabLinCon.tab.t_min,timTabLinCon.tab.t_minScaled,timTabLinCon.tab.tableOnFile,timTabLinCon.tab.table[1,1],timTabLinCon.tab.table[1,2],timTabLinCon.tab.table[2,1],timTabLinCon.tab.table[2,2],timTabLinCon.tab.table[3,1],timTabLinCon.tab.table[3,2],timTabLinCon.tab.table[4,1],timTabLinCon.tab.table[4,2],timTabLinCon.tab.table[5,1],timTabLinCon.tab.table[5,2],timTabLinCon.tab.timeEvents,timTabLinCon.tab.timeScale,timTabLinCon.tab.timeScaled,timTabLinCon.tab.verboseExtrapolation,timTabLinCon.tab.verboseRead,timTabLinCon.table[1,1],timTabLinCon.table[1,2],timTabLinCon.table[2,1],timTabLinCon.table[2,2],timTabLinCon.table[3,1],timTabLinCon.table[3,2],timTabLinCon.table[4,1],timTabLinCon.table[4,2],timTabLinCon.table[5,1],timTabLinCon.table[5,2],timTabLinCon.timeRange,timTabLinCon.timeScale,timTabLinCon.y[1],timTabLinDer.extrapolation,timTabLinDer.nT,timTabLinDer.nout,timTabLinDer.offset[1],timTabLinDer.smoothness,timTabLinDer.t0,timTabLinDer.tab.columns[1],timTabLinDer.tab.extrapolation,timTabLinDer.tab.nout,timTabLinDer.tab.offset[1],timTabLinDer.tab.p_offset[1],timTabLinDer.tab.shiftTime,timTabLinDer.tab.smoothness,timTabLinDer.tab.startTime,timTabLinDer.tab.t_max,timTabLinDer.tab.t_maxScaled,timTabLinDer.tab.t_min,timTabLinDer.tab.t_minScaled,timTabLinDer.tab.tableOnFile,timTabLinDer.tab.table[1,1],timTabLinDer.tab.table[1,2],timTabLinDer.tab.table[2,1],timTabLinDer.tab.table[2,2],timTabLinDer.tab.table[3,1],timTabLinDer.tab.table[3,2],timTabLinDer.tab.table[4,1],timTabLinDer.tab.table[4,2],timTabLinDer.tab.timeEvents,timTabLinDer.tab.timeScale,timTabLinDer.tab.timeScaled,timTabLinDer.tab.verboseExtrapolation,timTabLinDer.tab.verboseRead,timTabLinDer.table[1,1],timTabLinDer.table[1,2],timTabLinDer.table[2,1],timTabLinDer.table[2,2],timTabLinDer.table[3,1],timTabLinDer.table[3,2],timTabLinDer.table[4,1],timTabLinDer.table[4,2],timTabLinDer.timeRange,timTabLinDer.timeScale,timTabLinDer.y[1],timTabLinHol.extrapolation,timTabLinHol.nT,timTabLinHol.nout,timTabLinHol.offset[1],timTabLinHol.smoothness,timTabLinHol.t0,timTabLinHol.tab.columns[1],timTabLinHol.tab.extrapolation,timTabLinHol.tab.nout,timTabLinHol.tab.offset[1],timTabLinHol.tab.p_offset[1],timTabLinHol.tab.shiftTime,timTabLinHol.tab.smoothness,timTabLinHol.tab.startTime,timTabLinHol.tab.t_max,timTabLinHol.tab.t_maxScaled,timTabLinHol.tab.t_min,timTabLinHol.tab.t_minScaled,timTabLinHol.tab.tableOnFile,timTabLinHol.tab.table[1,1],timTabLinHol.tab.table[1,2],timTabLinHol.tab.table[2,1],timTabLinHol.tab.table[2,2],timTabLinHol.tab.table[3,1],timTabLinHol.tab.table[3,2],timTabLinHol.tab.table[4,1],timTabLinHol.tab.table[4,2],timTabLinHol.tab.timeEvents,timTabLinHol.tab.timeScale,timTabLinHol.tab.timeScaled,timTabLinHol.tab.verboseExtrapolation,timTabLinHol.tab.verboseRead,timTabLinHol.table[1,1],timTabLinHol.table[1,2],timTabLinHol.table[2,1],timTabLinHol.table[2,2],timTabLinHol.table[3,1],timTabLinHol.table[3,2],timTabLinHol.table[4,1],timTabLinHol.table[4,2],timTabLinHol.timeRange,timTabLinHol.timeScale,timTabLinHol.y[1],time