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.001593/0.001593, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001913/0.001913, allocations: 221.7 kB / 23.01 MB, free: 4.609 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.161/3.161, allocations: 0.49 GB / 0.7958 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 177] 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.002095/0.002095, allocations: 73.64 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3071, allocations: 176.1 MB / 1.327 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001853/0.309, allocations: 0.6797 MB / 1.328 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00197/0.3109, allocations: 1.389 MB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.621e-05/0.311, allocations: 7.938 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000484/0.3115, allocations: 187.6 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.3116, allocations: 103.7 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008179/0.3124, allocations: 243.2 kB / 1.33 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006167/0.3131, allocations: 499.7 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.171e-05/0.3131, allocations: 11.97 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.3134, allocations: 203.7 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003866/0.3138, allocations: 231.5 kB / 1.331 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.692e-05/0.3138, allocations: 20 kB / 1.331 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002556/0.3141, allocations: 99.91 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003929/0.3145, allocations: 271.5 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.3147, allocations: 151.3 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005763/0.3153, allocations: 482.5 kB / 1.332 GB, free: 12.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3153, allocations: 4 kB / 1.332 GB, free: 12.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3153, allocations: 0 / 1.332 GB, free: 12.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.3153, allocations: 3.938 kB / 1.332 GB, free: 12.88 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.00104/0.3163, allocations: 0.5708 MB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.3163, allocations: 12.03 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.3165, allocations: 32.75 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005954/0.3171, allocations: 318.5 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.3171, allocations: 12.38 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.08e-05/0.3172, allocations: 24.38 kB / 1.333 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.3175, allocations: 192.6 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3175, allocations: 4.125 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.3175, allocations: 7.922 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3175, allocations: 3.984 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.3177, allocations: 107.9 kB / 1.333 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.3182, allocations: 354.2 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/0.3186, allocations: 315.6 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.3188, allocations: 126.5 kB / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.3188, allocations: 4 kB / 1.334 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004813/0.3193, allocations: 283.3 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.874e-06/0.3193, allocations: 7.938 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0009276/0.3203, allocations: 0.4972 MB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.226e-05/0.3204, allocations: 114.8 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004825/0.3208, allocations: 396.5 kB / 1.335 GB, free: 9.316 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.56e-05/0.3209, allocations: 37.7 kB / 1.335 GB, free: 9.273 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.3211, allocations: 156.8 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.3211, allocations: 35.78 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.3213, allocations: 113.6 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3215, allocations: 350.8 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.3216, allocations: 83.95 kB / 1.336 GB, free: 8.527 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005581/0.3221, allocations: 466.8 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/0.3225, allocations: 261.4 kB / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3225, allocations: 0 / 1.336 GB, free: 7.641 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005565/0.323, allocations: 329 kB / 1.337 GB, free: 7.312 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.3231, allocations: 12.34 kB / 1.337 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.3231, allocations: 8 kB / 1.337 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.3231, allocations: 7.938 kB / 1.337 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.3233, allocations: 31.92 kB / 1.337 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.3233, allocations: 11.92 kB / 1.337 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007698/0.3241, allocations: 68.38 kB / 1.337 GB, free: 7.176 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.3241, allocations: 12 kB / 1.337 GB, free: 7.164 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.0002663/0.3243, allocations: 196.3 kB / 1.337 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.547e-05/0.3244, allocations: 31.75 kB / 1.337 GB, free: 6.934 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.117e-05/0.3245, allocations: 33.89 kB / 1.337 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.3245, allocations: 4 kB / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3245, allocations: 0 / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3245, allocations: 0 / 1.337 GB, free: 6.898 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.3248, allocations: 256.8 kB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3248, allocations: 0 / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.3248, allocations: 8.125 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-06/0.3248, allocations: 15.86 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.3248, allocations: 11.98 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3248, allocations: 0 / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3248, allocations: 0 / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006063/0.3255, allocations: 436.5 kB / 1.338 GB, free: 6.121 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-05/0.3255, allocations: 31.78 kB / 1.338 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.3256, allocations: 11.94 kB / 1.338 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.404e-05/0.3256, allocations: 4 kB / 1.338 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.3257, allocations: 19.97 kB / 1.338 GB, free: 6.055 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.3257, allocations: 15.88 kB / 1.338 GB, free: 6.039 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003326/0.3261, allocations: 291 kB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3261, allocations: 0 / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004371/0.3265, allocations: 79.92 kB / 1.338 GB, free: 5.68 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.0002406/0.3267, allocations: 143.1 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004822/0.3272, allocations: 247.7 kB / 1.338 GB, free: 5.285 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3272, allocations: 0 / 1.338 GB, free: 5.285 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.3275, allocations: 147.9 kB / 1.339 GB, free: 5.141 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.3278, allocations: 21.45 kB / 1.339 GB, free: 5.121 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.3288, allocations: 0.6209 MB / 1.339 GB, free: 4.457 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.3292, allocations: 0.7597 MB / 1.34 GB, free: 3.672 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-05/0.3292, allocations: 31.38 kB / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of SimCode: time 4.8e-07/0.3292, allocations: 0 / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of Templates: time 0.007473/0.3367, allocations: 4.356 MB / 1.344 GB, free: 15.36 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.66558414598694]