Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.548/2.548, allocations: 443.5 MB / 0.7293 GB, free: 14.64 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.91 kB / 1.057 GB, free: 2.039 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3085, allocations: 160.7 MB / 1.214 GB, free: 1.008 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001904/0.3104, allocations: 0.6865 MB / 1.215 GB, free: 324 kB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.3123, allocations: 1.347 MB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.3124, allocations: 0 / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004711/0.3128, allocations: 195.5 kB / 1.216 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.313, allocations: 103.7 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007176/0.3137, allocations: 230.2 kB / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006137/0.3143, allocations: 0.4918 MB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.3143, allocations: 4 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.3146, allocations: 207.7 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003692/0.3149, allocations: 223.5 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.855e-05/0.315, allocations: 24 kB / 1.217 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.3153, allocations: 83.88 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004074/0.3157, allocations: 271.5 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.3159, allocations: 151.3 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005626/0.3164, allocations: 494.3 kB / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3164, allocations: 0 / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3164, allocations: 0 / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3164, allocations: 0 / 1.218 GB, free: 12.51 MB / 0.9669 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.001103/0.3176, allocations: 0.6422 MB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3176, allocations: 15.98 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.3177, allocations: 28.8 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005385/0.3183, allocations: 392.2 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.3183, allocations: 16.38 kB / 1.219 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.448e-05/0.3184, allocations: 20.38 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.3187, allocations: 188.7 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.3187, allocations: 192 / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.3187, allocations: 3.938 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.3187, allocations: 0 / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.3189, allocations: 111.9 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.3194, allocations: 395 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004935/0.3199, allocations: 311.6 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.3201, allocations: 122.6 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.3201, allocations: 7.984 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004596/0.3205, allocations: 283.7 kB / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.3205, allocations: 0 / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of matching and sorting (n=18): time 0.0009043/0.3214, allocations: 0.5011 MB / 1.221 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.79e-05/0.3215, allocations: 110.8 kB / 1.221 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004869/0.322, allocations: 392.5 kB / 1.222 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.85e-05/0.3221, allocations: 45.69 kB / 1.222 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.3222, allocations: 152.8 kB / 1.222 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.742e-05/0.3223, allocations: 43.73 kB / 1.222 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.3225, allocations: 117.6 kB / 1.222 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.3227, allocations: 346.8 kB / 1.223 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.3228, allocations: 79.95 kB / 1.223 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005914/0.3234, allocations: 464.5 kB / 1.223 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.3237, allocations: 257.5 kB / 1.223 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3237, allocations: 7.875 kB / 1.223 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005501/0.3243, allocations: 329.5 kB / 1.224 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.3243, allocations: 15.97 kB / 1.224 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.3243, allocations: 4 kB / 1.224 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.3243, allocations: 4 kB / 1.224 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.3245, allocations: 31.91 kB / 1.224 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.3245, allocations: 7.938 kB / 1.224 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007809/0.3253, allocations: 72.42 kB / 1.224 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.3253, allocations: 8 kB / 1.224 GB, free: 6.613 MB / 0.9669 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.0002433/0.3256, allocations: 196 kB / 1.224 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.3256, allocations: 31.75 kB / 1.224 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.758e-05/0.3257, allocations: 37.89 kB / 1.224 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3257, allocations: 4 kB / 1.224 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3257, allocations: 3.938 kB / 1.224 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.3257, allocations: 3.984 kB / 1.224 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.326, allocations: 277.5 kB / 1.224 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.326, allocations: 4 kB / 1.224 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.326, allocations: 8.109 kB / 1.224 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.326, allocations: 3.938 kB / 1.224 GB, free: 6 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.326, allocations: 12 kB / 1.224 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.326, allocations: 4 kB / 1.224 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.326, allocations: 0 / 1.224 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006183/0.3267, allocations: 442.3 kB / 1.225 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.859e-05/0.3268, allocations: 108.8 kB / 1.225 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.3268, allocations: 7.938 kB / 1.225 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.925e-05/0.3269, allocations: 7.984 kB / 1.225 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.3269, allocations: 15.98 kB / 1.225 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.327, allocations: 12.23 kB / 1.225 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003344/0.3273, allocations: 291 kB / 1.225 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3273, allocations: 0 / 1.225 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003821/0.3277, allocations: 75.92 kB / 1.225 GB, free: 5 MB / 0.9669 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.0002755/0.328, allocations: 149.6 kB / 1.225 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004627/0.3284, allocations: 255.7 kB / 1.226 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3284, allocations: 0 / 1.226 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.3287, allocations: 144.7 kB / 1.226 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.329, allocations: 32.64 kB / 1.226 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009965/0.33, allocations: 0.6013 MB / 1.226 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.3304, allocations: 0.7674 MB / 1.227 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.3305, allocations: 35.38 kB / 1.227 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.3305, allocations: 0 / 1.227 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of Templates: time 0.007537/0.338, allocations: 4.348 MB / 1.231 GB, free: 14.67 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.926626377971843]