Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.008948/0.008948, allocations: 98.89 kB / 15.73 MB, free: 6.043 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.001942/0.001942, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.974/2.974, allocations: 469.8 MB / 0.7425 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.89 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.351, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002024/0.3531, allocations: 0.6864 MB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002138/0.3552, allocations: 1.351 MB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.3553, allocations: 0 / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005163/0.3558, allocations: 191.6 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.356, allocations: 99.67 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008559/0.3568, allocations: 227.4 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005959/0.3574, allocations: 0.4996 MB / 1.224 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.05e-05/0.3575, allocations: 3.938 kB / 1.224 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.3578, allocations: 207.7 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004178/0.3582, allocations: 203.6 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.3583, allocations: 20 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.3586, allocations: 83.94 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003463/0.3589, allocations: 263.5 kB / 1.224 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.3591, allocations: 151.3 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006194/0.3598, allocations: 478.4 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3598, allocations: 0 / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3598, allocations: 0 / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.3598, allocations: 0 / 1.225 GB, free: 9.379 MB / 0.9825 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.00119/0.361, allocations: 0.6461 MB / 1.226 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.361, allocations: 12.03 kB / 1.226 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.3612, allocations: 32.8 kB / 1.226 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005745/0.3618, allocations: 384.3 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.3618, allocations: 8.375 kB / 1.226 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.924e-05/0.3618, allocations: 24.36 kB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.3622, allocations: 188.6 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3622, allocations: 4.172 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.3622, allocations: 3.938 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3622, allocations: 8 kB / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.3624, allocations: 107.9 kB / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.3629, allocations: 387.1 kB / 1.227 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004946/0.3634, allocations: 319.6 kB / 1.227 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.3635, allocations: 118.6 kB / 1.227 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.3636, allocations: 4 kB / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004929/0.364, allocations: 281.5 kB / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.364, allocations: 0 / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0008977/0.3649, allocations: 0.505 MB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.365, allocations: 110.8 kB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.3655, allocations: 400.5 kB / 1.228 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/0.3655, allocations: 41.7 kB / 1.228 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.3657, allocations: 156.7 kB / 1.229 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.3657, allocations: 43.69 kB / 1.229 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.3659, allocations: 125.5 kB / 1.229 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3661, allocations: 338.8 kB / 1.229 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.3662, allocations: 91.89 kB / 1.229 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005064/0.3667, allocations: 468 kB / 1.23 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.367, allocations: 257.5 kB / 1.23 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.367, allocations: 0 / 1.23 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004973/0.3675, allocations: 333.1 kB / 1.23 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.3676, allocations: 11.94 kB / 1.23 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3676, allocations: 4 kB / 1.23 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3676, allocations: 4 kB / 1.23 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.3677, allocations: 31.86 kB / 1.23 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.3677, allocations: 8 kB / 1.23 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007161/0.3685, allocations: 70.84 kB / 1.23 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.3685, allocations: 15.98 kB / 1.23 GB, free: 3.461 MB / 0.9825 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.0001884/0.3687, allocations: 188.5 kB / 1.23 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.078e-05/0.3687, allocations: 39.73 kB / 1.23 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.117e-05/0.3688, allocations: 34.12 kB / 1.231 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.3688, allocations: 0 / 1.231 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.3688, allocations: 4 kB / 1.231 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3688, allocations: 11.92 kB / 1.231 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.3691, allocations: 281.5 kB / 1.231 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3691, allocations: 0 / 1.231 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.468e-05/0.3691, allocations: 7.938 kB / 1.231 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.3691, allocations: 7.938 kB / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.3691, allocations: 16.11 kB / 1.231 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3691, allocations: 0 / 1.231 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3691, allocations: 0 / 1.231 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005372/0.3697, allocations: 430.5 kB / 1.231 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.869e-05/0.3697, allocations: 100.9 kB / 1.231 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.3698, allocations: 11.92 kB / 1.231 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.61e-05/0.3699, allocations: 4 kB / 1.231 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.3699, allocations: 19.92 kB / 1.231 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.3699, allocations: 15.98 kB / 1.231 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003024/0.3702, allocations: 291 kB / 1.232 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3702, allocations: 0 / 1.232 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00038/0.3706, allocations: 83.86 kB / 1.232 GB, free: 1.852 MB / 0.9825 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.000274/0.3709, allocations: 139.1 kB / 1.232 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004268/0.3713, allocations: 240.3 kB / 1.232 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3713, allocations: 4.25 kB / 1.232 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.3715, allocations: 119.9 kB / 1.232 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.3718, allocations: 26.98 kB / 1.232 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008414/0.3726, allocations: 0.5838 MB / 1.233 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.373, allocations: 0.7675 MB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.3731, allocations: 49.88 kB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.3732, allocations: 23.44 kB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.3732, allocations: 0 / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.009176/0.3823, allocations: 5.049 MB / 1.239 GB, free: 10.84 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches