Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001385/0.001385, allocations: 77.23 kB / 19.76 MB, free: 2.035 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.001469/0.001469, allocations: 160.7 kB / 23.01 MB, free: 4.938 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.514/1.514, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.77/2.77, allocations: 359.1 MB / 0.6044 GB, free: 14.9 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002279/0.002279, allocations: 71.89 kB / 0.9515 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3563, allocations: 169.9 MB / 1.117 GB, free: 2.621 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001998/0.3583, allocations: 0.6685 MB / 1.118 GB, free: 1.953 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0021/0.3604, allocations: 1.35 MB / 1.119 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.076e-05/0.3605, allocations: 4 kB / 1.119 GB, free: 0.5859 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005027/0.361, allocations: 191.5 kB / 1.12 GB, free: 408 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.3611, allocations: 107.7 kB / 1.12 GB, free: 300 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008166/0.3619, allocations: 229.3 kB / 1.12 GB, free: 72 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000664/0.3626, allocations: 487.8 kB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.3626, allocations: 4 kB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003525/0.363, allocations: 211.7 kB / 1.121 GB, free: 15.38 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005523/0.3635, allocations: 227.5 kB / 1.121 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.3637, allocations: 20 kB / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.3641, allocations: 99.86 kB / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005267/0.3646, allocations: 271.5 kB / 1.121 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.3649, allocations: 131.5 kB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008864/0.3658, allocations: 486.4 kB / 1.122 GB, free: 14.17 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3658, allocations: 4 kB / 1.122 GB, free: 14.16 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.115e-06/0.3658, allocations: 3.938 kB / 1.122 GB, free: 14.16 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.736e-05/0.3658, allocations: 0 / 1.122 GB, free: 14.16 MB / 1.076 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.001651/0.3675, allocations: 0.5708 MB / 1.122 GB, free: 13.55 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.3675, allocations: 12.03 kB / 1.122 GB, free: 13.54 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.3677, allocations: 32.75 kB / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007477/0.3685, allocations: 330.5 kB / 1.123 GB, free: 13.16 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.3685, allocations: 8.375 kB / 1.123 GB, free: 13.16 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.934e-05/0.3686, allocations: 24.36 kB / 1.123 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003805/0.3689, allocations: 192.7 kB / 1.123 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.369, allocations: 192 / 1.123 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.369, allocations: 3.938 kB / 1.123 GB, free: 12.93 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.369, allocations: 11.98 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.3692, allocations: 111.9 kB / 1.123 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/0.3697, allocations: 270.9 kB / 1.123 GB, free: 12.5 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005576/0.3702, allocations: 311.6 kB / 1.124 GB, free: 12.17 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.3704, allocations: 118.6 kB / 1.124 GB, free: 12.05 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.3704, allocations: 7.938 kB / 1.124 GB, free: 12.04 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005604/0.371, allocations: 285.6 kB / 1.124 GB, free: 11.74 MB / 1.076 GB Notification: Performance of pre-optimization done (n=18): time 1.694e-06/0.371, allocations: 0 / 1.124 GB, free: 11.74 MB / 1.076 GB Notification: Performance of matching and sorting (n=18): time 0.0009939/0.372, allocations: 0.5011 MB / 1.124 GB, free: 11.23 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.3721, allocations: 114.8 kB / 1.125 GB, free: 11.09 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/0.3727, allocations: 404.5 kB / 1.125 GB, free: 10.69 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.071e-05/0.3728, allocations: 33.7 kB / 1.125 GB, free: 10.65 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.3729, allocations: 156.8 kB / 1.125 GB, free: 10.5 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.669e-05/0.373, allocations: 35.8 kB / 1.125 GB, free: 10.46 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.3732, allocations: 121.6 kB / 1.125 GB, free: 10.34 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.3734, allocations: 338.8 kB / 1.126 GB, free: 9.996 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.3736, allocations: 87.94 kB / 1.126 GB, free: 9.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.3747, allocations: 1.092 MB / 1.127 GB, free: 8.539 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/0.3751, allocations: 253.5 kB / 1.127 GB, free: 8.242 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3751, allocations: 0 / 1.127 GB, free: 8.242 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005981/0.3757, allocations: 329.1 kB / 1.127 GB, free: 7.914 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.3758, allocations: 14.59 kB / 1.127 GB, free: 7.902 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.3758, allocations: 4 kB / 1.127 GB, free: 7.898 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.3758, allocations: 7.938 kB / 1.127 GB, free: 7.891 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.376, allocations: 35.91 kB / 1.127 GB, free: 7.855 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.376, allocations: 7.938 kB / 1.127 GB, free: 7.848 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008333/0.3768, allocations: 76.94 kB / 1.127 GB, free: 7.773 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.3768, allocations: 8 kB / 1.127 GB, free: 7.766 MB / 1.076 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.0002949/0.3771, allocations: 196.5 kB / 1.128 GB, free: 7.566 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.831e-05/0.3772, allocations: 31.81 kB / 1.128 GB, free: 7.535 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.686e-05/0.3773, allocations: 37.89 kB / 1.128 GB, free: 7.496 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3773, allocations: 0 / 1.128 GB, free: 7.496 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.3773, allocations: 0 / 1.128 GB, free: 7.496 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.3773, allocations: 12.22 kB / 1.128 GB, free: 7.484 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.3776, allocations: 205.1 kB / 1.128 GB, free: 7.254 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.3776, allocations: 3.984 kB / 1.128 GB, free: 7.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.739e-05/0.3776, allocations: 4 kB / 1.128 GB, free: 7.246 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3776, allocations: 3.984 kB / 1.128 GB, free: 7.242 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.3777, allocations: 8 kB / 1.128 GB, free: 7.234 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3777, allocations: 3.938 kB / 1.128 GB, free: 7.23 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3777, allocations: 4 kB / 1.128 GB, free: 7.227 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006837/0.3784, allocations: 434.3 kB / 1.128 GB, free: 6.777 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.3784, allocations: 19.86 kB / 1.128 GB, free: 6.758 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.3785, allocations: 8 kB / 1.128 GB, free: 6.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.813e-05/0.3786, allocations: 11.92 kB / 1.128 GB, free: 6.738 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.3786, allocations: 15.98 kB / 1.128 GB, free: 6.723 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/0.3786, allocations: 15.98 kB / 1.128 GB, free: 6.707 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004143/0.3791, allocations: 291 kB / 1.129 GB, free: 6.422 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.3791, allocations: 0 / 1.129 GB, free: 6.422 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004932/0.3796, allocations: 75.94 kB / 1.129 GB, free: 6.348 MB / 1.076 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.0003124/0.3799, allocations: 139 kB / 1.129 GB, free: 6.203 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005159/0.3804, allocations: 251.8 kB / 1.129 GB, free: 5.957 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3804, allocations: 0 / 1.129 GB, free: 5.957 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.3806, allocations: 119.8 kB / 1.129 GB, free: 5.84 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.3809, allocations: 35.02 kB / 1.129 GB, free: 5.809 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.382, allocations: 0.5685 MB / 1.13 GB, free: 5.207 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.3822, allocations: 162 kB / 1.13 GB, free: 5.027 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.3823, allocations: 47.44 kB / 1.13 GB, free: 4.984 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.467e-05/0.3824, allocations: 28.5 kB / 1.13 GB, free: 4.957 MB / 1.076 GB Notification: Performance of SimCode: time 5.61e-07/0.3824, allocations: 0 / 1.13 GB, free: 4.957 MB / 1.076 GB Notification: Performance of Templates: time 0.6406/1.023, allocations: 5.446 MB / 1.135 GB, free: 57.12 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.069950546021573]