Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 108.5 kB / 16.36 MB, free: 6.016 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.001652/0.001652, allocations: 197.5 kB / 17.31 MB, free: 5.613 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.534/2.534, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 68.39 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2875, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002069/0.2896, allocations: 0.8737 MB / 1.028 GB, free: 1.184 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001865/0.2915, allocations: 1.448 MB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.2916, allocations: 7.938 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004535/0.2921, allocations: 199.4 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.2922, allocations: 107.6 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009152/0.2931, allocations: 371.7 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0008612/0.294, allocations: 0.8738 MB / 1.031 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.2942, allocations: 96.22 kB / 1.031 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003158/0.2945, allocations: 351.4 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/0.2949, allocations: 259.4 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.295, allocations: 48 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.2952, allocations: 107.9 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004143/0.2956, allocations: 351.2 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.2959, allocations: 270.8 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007825/0.2967, allocations: 0.9038 MB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2967, allocations: 0 / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2967, allocations: 3.938 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.2967, allocations: 0 / 1.033 GB, free: 11.81 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001443/0.2982, allocations: 0.8919 MB / 1.034 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2982, allocations: 12.03 kB / 1.034 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.2984, allocations: 52.38 kB / 1.034 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008768/0.2993, allocations: 0.5409 MB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.2993, allocations: 24.61 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.2994, allocations: 32.38 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.2999, allocations: 315.6 kB / 1.035 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2999, allocations: 4.172 kB / 1.035 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/0.2999, allocations: 15.92 kB / 1.035 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3, allocations: 3.938 kB / 1.035 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.3003, allocations: 219.8 kB / 1.035 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.3022, allocations: 1.187 MB / 1.036 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005812/0.3028, allocations: 463.7 kB / 1.036 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.303, allocations: 178.6 kB / 1.037 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.303, allocations: 0 / 1.037 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004163/0.3034, allocations: 329.7 kB / 1.037 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=24): time 1.883e-06/0.3035, allocations: 0 / 1.037 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=24): time 0.0009447/0.3044, allocations: 0.6296 MB / 1.038 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.242e-05/0.3045, allocations: 126.7 kB / 1.038 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006453/0.3051, allocations: 0.5916 MB / 1.038 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.481e-05/0.3052, allocations: 49.69 kB / 1.038 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.3054, allocations: 217.5 kB / 1.039 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.26e-05/0.3055, allocations: 47.45 kB / 1.039 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/0.3057, allocations: 181.5 kB / 1.039 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3059, allocations: 358.8 kB / 1.039 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.3061, allocations: 127.9 kB / 1.039 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007649/0.3068, allocations: 0.7181 MB / 1.04 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.3072, allocations: 296.6 kB / 1.04 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.3072, allocations: 0 / 1.04 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006041/0.3078, allocations: 428.8 kB / 1.041 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3078, allocations: 8.75 kB / 1.041 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3078, allocations: 4 kB / 1.041 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3079, allocations: 4 kB / 1.041 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.308, allocations: 35.86 kB / 1.041 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.308, allocations: 4 kB / 1.041 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.3093, allocations: 131.7 kB / 1.041 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.3093, allocations: 12 kB / 1.041 GB, free: 3.137 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0002951/0.3096, allocations: 265.5 kB / 1.041 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-05/0.3097, allocations: 55.5 kB / 1.041 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.845e-05/0.3098, allocations: 47.38 kB / 1.041 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3098, allocations: 3.938 kB / 1.041 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3098, allocations: 4 kB / 1.041 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.3098, allocations: 7.922 kB / 1.041 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003835/0.3102, allocations: 401.3 kB / 1.042 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3102, allocations: 0 / 1.042 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.3102, allocations: 4 kB / 1.042 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.3102, allocations: 7.984 kB / 1.042 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.3102, allocations: 8 kB / 1.042 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.3103, allocations: 3.938 kB / 1.042 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3103, allocations: 4 kB / 1.042 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006323/0.3109, allocations: 0.5069 MB / 1.042 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.311, allocations: 132.5 kB / 1.042 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.741e-05/0.3111, allocations: 8.25 kB / 1.042 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.3112, allocations: 23.91 kB / 1.042 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/0.3113, allocations: 35.97 kB / 1.042 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.3114, allocations: 12 kB / 1.042 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004836/0.3119, allocations: 435.1 kB / 1.043 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3119, allocations: 3.938 kB / 1.043 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004579/0.3123, allocations: 104 kB / 1.043 GB, free: 0.9922 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: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002702/0.3126, allocations: 153.4 kB / 1.043 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000535/0.3132, allocations: 360.6 kB / 1.043 GB, free: 492 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3132, allocations: 0 / 1.043 GB, free: 492 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.3134, allocations: 187.8 kB / 1.043 GB, free: 304 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.3137, allocations: 36.59 kB / 1.043 GB, free: 272 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.3149, allocations: 0.8321 MB / 1.044 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.3153, allocations: 0.8313 MB / 1.045 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001914/0.3155, allocations: 98.91 kB / 1.045 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.947e-05/0.3156, allocations: 35.42 kB / 1.045 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.3156, allocations: 3.938 kB / 1.045 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of Templates: time 0.01363/0.3292, allocations: 7.951 MB / 1.053 GB, free: 6.551 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches