Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 100.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 214.8 kB / 22.99 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.16/3.16, allocations: 0.4892 GB / 0.7951 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 67.64 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.3001, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001977/0.3021, allocations: 0.6658 MB / 1.327 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.3041, allocations: 1.35 MB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.857e-05/0.3042, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004901/0.3047, allocations: 195.5 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.3048, allocations: 99.73 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007792/0.3056, allocations: 247.2 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005821/0.3062, allocations: 475.7 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.3062, allocations: 11.97 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.3065, allocations: 203.7 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004072/0.307, allocations: 223.6 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.3071, allocations: 23.94 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/0.3074, allocations: 99.84 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004337/0.3078, allocations: 271.5 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.308, allocations: 135.4 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006063/0.3086, allocations: 482.5 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3086, allocations: 0 / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3086, allocations: 0 / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.3086, allocations: 0 / 1.331 GB, free: 13.45 MB / 1.029 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.001134/0.3098, allocations: 0.5709 MB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.3098, allocations: 8.031 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.3099, allocations: 32.75 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006382/0.3106, allocations: 330.4 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.3106, allocations: 20.38 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.3106, allocations: 20.38 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.311, allocations: 188.7 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.311, allocations: 192 / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.311, allocations: 3.938 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.311, allocations: 4 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.3112, allocations: 111.9 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.3116, allocations: 266.9 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005029/0.3121, allocations: 315.6 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.3123, allocations: 130.6 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.3123, allocations: 0 / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004731/0.3128, allocations: 289.5 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.253e-06/0.3128, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.000864/0.3136, allocations: 0.4972 MB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.886e-05/0.3137, allocations: 110.8 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004758/0.3142, allocations: 404.5 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.243e-05/0.3143, allocations: 41.7 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.3144, allocations: 148.8 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.3145, allocations: 39.78 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.3146, allocations: 113.6 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3148, allocations: 350.8 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.315, allocations: 79.95 kB / 1.335 GB, free: 9.195 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009365/0.3159, allocations: 1.087 MB / 1.336 GB, free: 7.828 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.3162, allocations: 265.4 kB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3162, allocations: 0 / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005365/0.3168, allocations: 329 kB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3168, allocations: 8 kB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3168, allocations: 4 kB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3168, allocations: 7.938 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.317, allocations: 32.33 kB / 1.336 GB, free: 7.141 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.317, allocations: 11.94 kB / 1.336 GB, free: 7.129 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007094/0.3177, allocations: 78.2 kB / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.3177, allocations: 19.98 kB / 1.336 GB, free: 7.035 MB / 1.029 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.0002234/0.318, allocations: 188.3 kB / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.428e-05/0.318, allocations: 35.73 kB / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.815e-05/0.3181, allocations: 41.83 kB / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.3181, allocations: 0 / 1.337 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.3181, allocations: 4 kB / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3181, allocations: 0 / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.3183, allocations: 201.2 kB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3183, allocations: 0 / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.516e-05/0.3183, allocations: 4 kB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3183, allocations: 0 / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.3184, allocations: 8.219 kB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.3184, allocations: 11.88 kB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3184, allocations: 3.938 kB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006058/0.319, allocations: 434.5 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.319, allocations: 27.78 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.3191, allocations: 8 kB / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.486e-05/0.3192, allocations: 3.938 kB / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.3192, allocations: 19.97 kB / 1.337 GB, free: 6.004 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.3192, allocations: 12 kB / 1.337 GB, free: 5.992 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003373/0.3196, allocations: 291 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3196, allocations: 0 / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003795/0.32, allocations: 79.92 kB / 1.338 GB, free: 5.633 MB / 1.029 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.0002257/0.3202, allocations: 147 kB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004438/0.3206, allocations: 251.6 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3206, allocations: 0 / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.3209, allocations: 143.9 kB / 1.338 GB, free: 5.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.3211, allocations: 34.95 kB / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009723/0.3221, allocations: 0.6132 MB / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.3223, allocations: 161.1 kB / 1.339 GB, free: 4.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.581e-05/0.3223, allocations: 31.44 kB / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3223, allocations: 0 / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of Templates: time 0.007333/0.3297, allocations: 4.412 MB / 1.343 GB, free: 15.86 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 11.707637482788414]