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.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.001796/0.001796, allocations: 110 kB / 18.93 MB, free: 2.945 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.002206/0.002206, allocations: 190.5 kB / 22.23 MB, free: 5.16 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.511/1.511, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.33/3.33, allocations: 496 MB / 0.7835 GB, free: 33.44 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 68.31 kB / 1.138 GB, free: 33.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4105, allocations: 173.6 MB / 1.307 GB, free: 1.777 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002239/0.4128, allocations: 0.701 MB / 1.308 GB, free: 1.078 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.002005/0.4148, allocations: 1.353 MB / 1.309 GB, free: 15.71 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.685e-05/0.4148, allocations: 8 kB / 1.309 GB, free: 15.7 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0005034/0.4153, allocations: 187.5 kB / 1.309 GB, free: 15.52 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.4155, allocations: 107.7 kB / 1.31 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007805/0.4162, allocations: 251 kB / 1.31 GB, free: 15.17 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0006098/0.4169, allocations: 491.7 kB / 1.31 GB, free: 14.69 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.4169, allocations: 3.984 kB / 1.31 GB, free: 14.69 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.4171, allocations: 207.7 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003832/0.4175, allocations: 231.5 kB / 1.311 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 6.906e-05/0.4176, allocations: 20 kB / 1.311 GB, free: 14.24 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002433/0.4178, allocations: 103.8 kB / 1.311 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003816/0.4182, allocations: 275.4 kB / 1.311 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.4184, allocations: 151.3 kB / 1.311 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005613/0.419, allocations: 474.5 kB / 1.312 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.419, allocations: 0 / 1.312 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.453e-06/0.419, allocations: 0 / 1.312 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.013e-06/0.419, allocations: 4 kB / 1.312 GB, free: 13.25 MB / 1.014 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.001067/0.42, allocations: 0.5688 MB / 1.312 GB, free: 12.65 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.4201, allocations: 16.91 kB / 1.312 GB, free: 12.63 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.4202, allocations: 32.73 kB / 1.312 GB, free: 12.6 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/0.4208, allocations: 330.5 kB / 1.313 GB, free: 12.25 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.4208, allocations: 12.38 kB / 1.313 GB, free: 12.24 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.4209, allocations: 16.38 kB / 1.313 GB, free: 12.23 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.4212, allocations: 188.7 kB / 1.313 GB, free: 12.03 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4212, allocations: 4.188 kB / 1.313 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.4212, allocations: 7.922 kB / 1.313 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.4212, allocations: 0 / 1.313 GB, free: 12.02 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.4214, allocations: 111.9 kB / 1.313 GB, free: 11.91 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.4219, allocations: 358.1 kB / 1.313 GB, free: 11.51 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.4224, allocations: 315.6 kB / 1.314 GB, free: 11.17 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.4226, allocations: 122.5 kB / 1.314 GB, free: 11.04 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.4226, allocations: 7.922 kB / 1.314 GB, free: 11.04 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005068/0.4231, allocations: 277.7 kB / 1.314 GB, free: 10.74 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=18): time 1.031e-06/0.4231, allocations: 0 / 1.314 GB, free: 10.74 MB / 1.014 GB
Notification: Performance of matching and sorting (n=18): time 0.0008807/0.424, allocations: 0.505 MB / 1.314 GB, free: 10.23 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.645e-05/0.4241, allocations: 110.8 kB / 1.315 GB, free: 10.1 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000461/0.4245, allocations: 396.5 kB / 1.315 GB, free: 9.699 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 6.246e-05/0.4246, allocations: 41.7 kB / 1.315 GB, free: 9.652 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.4247, allocations: 156.8 kB / 1.315 GB, free: 9.492 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.4248, allocations: 43.69 kB / 1.315 GB, free: 9.449 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.425, allocations: 109.6 kB / 1.315 GB, free: 9.336 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001745/0.4251, allocations: 350.8 kB / 1.316 GB, free: 8.984 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.4253, allocations: 83.95 kB / 1.316 GB, free: 8.902 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005607/0.4258, allocations: 463 kB / 1.316 GB, free: 8.324 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/0.4261, allocations: 261.4 kB / 1.316 GB, free: 8.02 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.4262, allocations: 4 kB / 1.316 GB, free: 8.016 MB / 1.014 GB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005037/0.4267, allocations: 325.1 kB / 1.317 GB, free: 7.691 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.4267, allocations: 13.03 kB / 1.317 GB, free: 7.68 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.4267, allocations: 0 / 1.317 GB, free: 7.68 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.4267, allocations: 8.406 kB / 1.317 GB, free: 7.672 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.4269, allocations: 31.92 kB / 1.317 GB, free: 7.641 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.4269, allocations: 7.938 kB / 1.317 GB, free: 7.633 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000705/0.4276, allocations: 84.42 kB / 1.317 GB, free: 7.551 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.4276, allocations: 8 kB / 1.317 GB, free: 7.543 MB / 1.014 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.0002519/0.4279, allocations: 199.7 kB / 1.317 GB, free: 7.336 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.4279, allocations: 31.75 kB / 1.317 GB, free: 7.305 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.111e-05/0.428, allocations: 33.89 kB / 1.317 GB, free: 7.273 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.428, allocations: 4 kB / 1.317 GB, free: 7.27 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.428, allocations: 0 / 1.317 GB, free: 7.27 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.428, allocations: 0 / 1.317 GB, free: 7.27 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.4283, allocations: 264.5 kB / 1.317 GB, free: 6.969 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4283, allocations: 0 / 1.317 GB, free: 6.969 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.607e-05/0.4283, allocations: 4 kB / 1.317 GB, free: 6.965 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.4283, allocations: 3.938 kB / 1.317 GB, free: 6.961 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.4283, allocations: 11.98 kB / 1.317 GB, free: 6.949 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4283, allocations: 15.88 kB / 1.317 GB, free: 6.934 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4283, allocations: 0 / 1.317 GB, free: 6.934 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005748/0.4289, allocations: 427.9 kB / 1.318 GB, free: 6.492 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.429, allocations: 31.73 kB / 1.318 GB, free: 6.461 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.429, allocations: 11.94 kB / 1.318 GB, free: 6.449 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.4291, allocations: 0 / 1.318 GB, free: 6.449 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.4291, allocations: 23.97 kB / 1.318 GB, free: 6.426 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.4292, allocations: 12 kB / 1.318 GB, free: 6.414 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0003267/0.4295, allocations: 291 kB / 1.318 GB, free: 6.133 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4295, allocations: 0 / 1.318 GB, free: 6.133 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003801/0.4299, allocations: 83.8 kB / 1.318 GB, free: 6.051 MB / 1.014 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.0002849/0.4302, allocations: 136.8 kB / 1.318 GB, free: 5.906 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004719/0.4306, allocations: 251.9 kB / 1.319 GB, free: 5.66 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4306, allocations: 0 / 1.319 GB, free: 5.66 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.4308, allocations: 120 kB / 1.319 GB, free: 5.543 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.4311, allocations: 32.97 kB / 1.319 GB, free: 5.512 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009597/0.4321, allocations: 0.5835 MB / 1.319 GB, free: 4.895 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.4325, allocations: 0.7658 MB / 1.32 GB, free: 4.105 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001143/0.4326, allocations: 49.94 kB / 1.32 GB, free: 4.059 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/0.4327, allocations: 27.42 kB / 1.32 GB, free: 4.031 MB / 1.014 GB
Notification: Performance of SimCode: time 3.11e-07/0.4327, allocations: 0 / 1.32 GB, free: 4.031 MB / 1.014 GB
Notification: Performance of Templates: time 0.01034/0.443, allocations: 5.109 MB / 1.325 GB, free: 14.96 MB / 1.029 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/jenkins/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]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.601412790827453]