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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001658/0.001658, allocations: 102.9 kB / 16.37 MB, free: 6.441 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.002139/0.002139, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.528/2.528, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 69.5 kB / 0.8774 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.323, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001849/0.3249, allocations: 0.7046 MB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001716/0.3266, allocations: 1.341 MB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.549e-05/0.3267, allocations: 3.938 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004663/0.3272, allocations: 187.6 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.3273, allocations: 103.7 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007245/0.3281, allocations: 230.6 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006117/0.3287, allocations: 0.4919 MB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.3287, allocations: 7.984 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.3289, allocations: 199.7 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.3292, allocations: 207.6 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.698e-05/0.3293, allocations: 24 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.3295, allocations: 87.86 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003667/0.3299, allocations: 251.5 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002679/0.3302, allocations: 155.3 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005105/0.3307, allocations: 474.7 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3307, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3307, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.3307, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 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.0009782/0.3317, allocations: 0.6385 MB / 1.032 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.3318, allocations: 8.031 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.3319, allocations: 28.66 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007064/0.3326, allocations: 392 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.3326, allocations: 12.38 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.817e-05/0.3327, allocations: 24.31 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.333, allocations: 184.7 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.333, allocations: 8.172 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.3331, allocations: 7.938 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3331, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.3332, allocations: 107.9 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.3337, allocations: 379.2 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/0.3341, allocations: 319.6 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.3343, allocations: 126.6 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.3343, allocations: 0 / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004635/0.3348, allocations: 285.6 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.412e-06/0.3348, allocations: 0 / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0009185/0.3357, allocations: 0.4971 MB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.457e-05/0.3358, allocations: 118.8 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004262/0.3363, allocations: 396.5 kB / 1.034 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/0.3363, allocations: 45.69 kB / 1.035 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.3365, allocations: 156.7 kB / 1.035 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.3365, allocations: 43.44 kB / 1.035 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.3367, allocations: 113.6 kB / 1.035 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3369, allocations: 346.8 kB / 1.035 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.337, allocations: 79.95 kB / 1.035 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005502/0.3375, allocations: 472 kB / 1.036 GB, free: 8.469 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.3378, allocations: 257.5 kB / 1.036 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3379, allocations: 0 / 1.036 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004833/0.3383, allocations: 328.9 kB / 1.036 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3384, allocations: 11.94 kB / 1.036 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3384, allocations: 0 / 1.036 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.128e-05/0.3384, allocations: 8 kB / 1.036 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.3386, allocations: 35.91 kB / 1.036 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.3386, allocations: 4.406 kB / 1.036 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/0.3394, allocations: 82.38 kB / 1.036 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.3394, allocations: 8 kB / 1.036 GB, free: 7.695 MB / 0.8106 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.0002437/0.3396, allocations: 199.9 kB / 1.037 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.3397, allocations: 31.56 kB / 1.037 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.119e-05/0.3398, allocations: 37.89 kB / 1.037 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3398, allocations: 4 kB / 1.037 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3398, allocations: 0 / 1.037 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3398, allocations: 3.984 kB / 1.037 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.3401, allocations: 285.4 kB / 1.037 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3401, allocations: 0 / 1.037 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/0.3401, allocations: 7.984 kB / 1.037 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3401, allocations: 3.938 kB / 1.037 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.3402, allocations: 4.125 kB / 1.037 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.3402, allocations: 8 kB / 1.037 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3402, allocations: 0 / 1.037 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005674/0.3407, allocations: 446.2 kB / 1.037 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.033e-05/0.3408, allocations: 104.8 kB / 1.037 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.3409, allocations: 3.938 kB / 1.037 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.592e-05/0.341, allocations: 8 kB / 1.037 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.341, allocations: 19.97 kB / 1.037 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.3411, allocations: 12 kB / 1.037 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003007/0.3414, allocations: 291 kB / 1.038 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3414, allocations: 0 / 1.038 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000388/0.3418, allocations: 75.98 kB / 1.038 GB, free: 6.078 MB / 0.8106 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.0002319/0.342, allocations: 139.1 kB / 1.038 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004616/0.3425, allocations: 264 kB / 1.038 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3425, allocations: 0 / 1.038 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.3427, allocations: 143.9 kB / 1.038 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.343, allocations: 24.64 kB / 1.038 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009782/0.344, allocations: 0.5616 MB / 1.039 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.3444, allocations: 0.7677 MB / 1.04 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001192/0.3445, allocations: 49.92 kB / 1.04 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.818e-05/0.3446, allocations: 27.42 kB / 1.04 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of SimCode: time 1.703e-06/0.3446, allocations: 4 kB / 1.04 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of Templates: time 0.009503/0.3541, allocations: 5 MB / 1.045 GB, free: 15.12 MB / 0.8262 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 -s gbode -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) Reference file matches