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.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.001609/0.001609, 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.001885/0.001885, allocations: 190.1 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.493/1.493, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.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.849/2.849, allocations: 476.7 MB / 0.7646 GB, free: 9.902 MB / 0.6231 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.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_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: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 63.91 kB / 1.11 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092/1.094, allocations: 168.8 MB / 1.274 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002436/1.097, allocations: 0.6782 MB / 1.275 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002425/1.099, allocations: 1.363 MB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.249e-05/1.099, allocations: 0 / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006604/1.1, allocations: 191.5 kB / 1.277 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001479/1.1, allocations: 103.7 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000813/1.101, allocations: 248.3 kB / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006682/1.102, allocations: 499.7 kB / 1.277 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.597e-05/1.102, allocations: 4 kB / 1.277 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002596/1.102, allocations: 215.6 kB / 1.278 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003981/1.102, allocations: 227.6 kB / 1.278 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.266e-05/1.102, allocations: 20 kB / 1.278 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/1.103, allocations: 99.91 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004079/1.103, allocations: 279.4 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001978/1.103, allocations: 155.3 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006229/1.104, allocations: 473 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.104, allocations: 0 / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.873e-06/1.104, allocations: 4 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.845e-06/1.104, allocations: 0 / 1.279 GB, free: 15.71 MB / 0.9825 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.001246/1.105, allocations: 0.5708 MB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/1.105, allocations: 11.98 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/1.105, allocations: 36.78 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006476/1.106, allocations: 326.5 kB / 1.28 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/1.106, allocations: 16.36 kB / 1.28 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-05/1.106, allocations: 20.38 kB / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/1.106, allocations: 188.5 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/1.106, allocations: 192 / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/1.106, allocations: 7.938 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/1.107, allocations: 3.984 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/1.107, allocations: 107.9 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005633/1.107, allocations: 358.2 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/1.108, allocations: 311.6 kB / 1.281 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/1.108, allocations: 130.6 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/1.108, allocations: 3.984 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005909/1.109, allocations: 281.6 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/1.109, allocations: 3.938 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0009408/1.11, allocations: 0.5011 MB / 1.282 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/1.11, allocations: 114.8 kB / 1.282 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005101/1.11, allocations: 396.5 kB / 1.282 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/1.11, allocations: 41.7 kB / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/1.11, allocations: 152.8 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.999e-05/1.11, allocations: 47.73 kB / 1.282 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/1.111, allocations: 113.6 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001975/1.111, allocations: 346.8 kB / 1.283 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/1.111, allocations: 83.95 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006598/1.112, allocations: 469.2 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/1.112, allocations: 257.4 kB / 1.283 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/1.112, allocations: 4 kB / 1.283 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005567/1.113, allocations: 333.3 kB / 1.284 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/1.113, allocations: 9.969 kB / 1.284 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/1.113, allocations: 4 kB / 1.284 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/1.113, allocations: 4 kB / 1.284 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/1.113, allocations: 35.92 kB / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/1.113, allocations: 4 kB / 1.284 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006959/1.114, allocations: 76.34 kB / 1.284 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/1.114, allocations: 16.09 kB / 1.284 GB, free: 9.992 MB / 0.9825 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.0002687/1.114, allocations: 195.7 kB / 1.284 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.494e-05/1.114, allocations: 31.75 kB / 1.284 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.325e-05/1.114, allocations: 33.89 kB / 1.284 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/1.114, allocations: 4 kB / 1.284 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.114, allocations: 3.938 kB / 1.284 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.114, allocations: 0 / 1.284 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/1.114, allocations: 264.5 kB / 1.284 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/1.114, allocations: 0 / 1.284 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.599e-05/1.114, allocations: 4 kB / 1.284 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/1.114, allocations: 3.938 kB / 1.284 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/1.114, allocations: 12.11 kB / 1.284 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/1.114, allocations: 8 kB / 1.284 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.114, allocations: 0 / 1.284 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006382/1.115, allocations: 434.4 kB / 1.285 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/1.115, allocations: 31.8 kB / 1.285 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/1.115, allocations: 3.938 kB / 1.285 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/1.115, allocations: 8.234 kB / 1.285 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/1.115, allocations: 15.97 kB / 1.285 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/1.115, allocations: 12 kB / 1.285 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003516/1.116, allocations: 291 kB / 1.285 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/1.116, allocations: 0 / 1.285 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004374/1.116, allocations: 79.92 kB / 1.285 GB, free: 8.512 MB / 0.9825 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.0003052/1.116, allocations: 147.6 kB / 1.285 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004664/1.117, allocations: 245.8 kB / 1.286 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.117, allocations: 0.8125 kB / 1.286 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/1.117, allocations: 123.8 kB / 1.286 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/1.117, allocations: 31.27 kB / 1.286 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/1.118, allocations: 0.5608 MB / 1.286 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/1.119, allocations: 0.7699 MB / 1.287 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001275/1.119, allocations: 53.88 kB / 1.287 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/1.119, allocations: 27.42 kB / 1.287 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/1.119, allocations: 0 / 1.287 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of Templates: time 0.01136/1.13, allocations: 5.121 MB / 1.292 GB, free: 1.434 MB / 0.9825 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 -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/jenkins/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.719728731550276]