Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001014/0.001014, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.3/1.3, 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 11.0.1-master/package.mo): time 2.415/2.415, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001208, allocations: 63.89 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7632/0.7644, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001625/0.766, allocations: 0.676 MB / 1.209 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.7676, allocations: 1.345 MB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.792e-05/0.7676, allocations: 4 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.768, allocations: 187.6 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.7682, allocations: 103.7 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006321/0.7688, allocations: 250 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004782/0.7693, allocations: 495.6 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.7693, allocations: 11.98 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.7695, allocations: 203.7 kB / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.7698, allocations: 207.6 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.929e-05/0.7699, allocations: 20 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.7701, allocations: 83.94 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002946/0.7704, allocations: 255.5 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.7706, allocations: 147.3 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.771, allocations: 478.5 kB / 1.213 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.771, allocations: 4 kB / 1.213 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.473e-06/0.771, allocations: 0 / 1.213 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.771, allocations: 0 / 1.213 GB, free: 9.227 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008602/0.7719, allocations: 0.6364 MB / 1.213 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.7719, allocations: 8.031 kB / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.7721, allocations: 36.59 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.7725, allocations: 384 kB / 1.214 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.7725, allocations: 16.36 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-05/0.7726, allocations: 20.38 kB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.7729, allocations: 188.7 kB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.7729, allocations: 192 / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.7729, allocations: 3.938 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7729, allocations: 4 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.7731, allocations: 111.9 kB / 1.214 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.7736, allocations: 383.1 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.774, allocations: 323.6 kB / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.7741, allocations: 118.6 kB / 1.215 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-06/0.7741, allocations: 11.92 kB / 1.215 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003678/0.7745, allocations: 271.7 kB / 1.215 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 2.534e-06/0.7745, allocations: 0 / 1.215 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0007849/0.7753, allocations: 0.5048 MB / 1.216 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/0.7754, allocations: 114.8 kB / 1.216 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004239/0.7758, allocations: 404.4 kB / 1.216 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.691e-05/0.7759, allocations: 37.7 kB / 1.216 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.776, allocations: 152.8 kB / 1.216 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.7761, allocations: 39.5 kB / 1.216 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.7762, allocations: 117.6 kB / 1.216 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.7764, allocations: 342.8 kB / 1.217 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.7765, allocations: 87.95 kB / 1.217 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/0.777, allocations: 468.2 kB / 1.217 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.7772, allocations: 257.4 kB / 1.218 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.7773, allocations: 0 / 1.218 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004456/0.7777, allocations: 329.1 kB / 1.218 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.7777, allocations: 11.94 kB / 1.218 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.7778, allocations: 4 kB / 1.218 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.7778, allocations: 8.031 kB / 1.218 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.7779, allocations: 28.33 kB / 1.218 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.7779, allocations: 15.94 kB / 1.218 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007103/0.7787, allocations: 72.31 kB / 1.218 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.7787, allocations: 16 kB / 1.218 GB, free: 3.324 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001818/0.7789, allocations: 188 kB / 1.218 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.7789, allocations: 35.66 kB / 1.218 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.829e-05/0.779, allocations: 33.89 kB / 1.218 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.779, allocations: 128 / 1.218 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.779, allocations: 8 kB / 1.218 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.779, allocations: 0 / 1.218 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.7793, allocations: 285.4 kB / 1.219 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.7793, allocations: 4 kB / 1.219 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.327e-05/0.7793, allocations: 0 / 1.219 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.7793, allocations: 7.938 kB / 1.219 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.7793, allocations: 7.984 kB / 1.219 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.7793, allocations: 7.938 kB / 1.219 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7793, allocations: 0 / 1.219 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004838/0.7798, allocations: 428 kB / 1.219 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.7799, allocations: 112.7 kB / 1.219 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.7799, allocations: 7.938 kB / 1.219 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.096e-05/0.78, allocations: 0 / 1.219 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.7801, allocations: 23.98 kB / 1.219 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.7801, allocations: 15.98 kB / 1.219 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002682/0.7804, allocations: 287 kB / 1.219 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.763e-06/0.7804, allocations: 0 / 1.219 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003489/0.7808, allocations: 79.94 kB / 1.22 GB, free: 1.73 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002278/0.781, allocations: 143.1 kB / 1.22 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004171/0.7814, allocations: 259.7 kB / 1.22 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7814, allocations: 0 / 1.22 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.7816, allocations: 171.9 kB / 1.22 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.7819, allocations: 28.64 kB / 1.22 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008153/0.7827, allocations: 0.5986 MB / 1.221 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.7831, allocations: 0.7674 MB / 1.221 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.7831, allocations: 35.42 kB / 1.221 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of SimCode: time 2.11e-07/0.7831, allocations: 0 / 1.221 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of Templates: time 0.005913/0.7891, allocations: 4.34 MB / 1.226 GB, free: 11.41 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intTimTab.y[1],intTimTab.y[2],intTimTab1.y[1],intTimTab1.y[2],tabOneRow.y[1] Variables in the result:intTimTab.y[1],intTimTab.y[2],intTimTab1.y[1],intTimTab1.y[2],tabOneRow.y[1],time