Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00166/0.00166, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002071/0.002071, allocations: 209.5 kB / 23.04 MB, free: 5.07 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.585/1.585, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.404/3.404, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="cs",version="2.0",platforms={"static"}) [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.001994/0.001994, allocations: 66.23 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3814, allocations: 179 MB / 1.345 GB, free: 496 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.00195/0.3834, allocations: 0.6882 MB / 1.346 GB, free: 15.79 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001963/0.3854, allocations: 1.381 MB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.097e-05/0.3854, allocations: 4 kB / 1.347 GB, free: 14.39 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004967/0.3859, allocations: 195.5 kB / 1.348 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.386, allocations: 99.73 kB / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00074/0.3868, allocations: 242.7 kB / 1.348 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006293/0.3874, allocations: 0.4958 MB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.395e-05/0.3875, allocations: 4 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.3877, allocations: 203.7 kB / 1.349 GB, free: 13.17 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000412/0.3882, allocations: 227.6 kB / 1.349 GB, free: 12.95 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.354e-05/0.3882, allocations: 20 kB / 1.349 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.3885, allocations: 103.8 kB / 1.349 GB, free: 12.83 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003872/0.3889, allocations: 275.4 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.3891, allocations: 151.3 kB / 1.349 GB, free: 12.41 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005836/0.3897, allocations: 478.8 kB / 1.35 GB, free: 11.94 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.3897, allocations: 7.938 kB / 1.35 GB, free: 11.93 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3897, allocations: 0 / 1.35 GB, free: 11.93 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.3897, allocations: 0 / 1.35 GB, free: 11.93 MB / 1.045 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.001127/0.3908, allocations: 0.5592 MB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.3909, allocations: 12.03 kB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.914e-05/0.3909, allocations: 192 / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.565e-05/0.3909, allocations: 46.73 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.3911, allocations: 36.69 kB / 1.35 GB, free: 11.24 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006102/0.3917, allocations: 326.5 kB / 1.351 GB, free: 10.9 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.3917, allocations: 12.38 kB / 1.351 GB, free: 10.89 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-05/0.3918, allocations: 20.38 kB / 1.351 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.3921, allocations: 188.4 kB / 1.351 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3921, allocations: 3.984 kB / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.3922, allocations: 4 kB / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3922, allocations: 4 kB / 1.351 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.3923, allocations: 111.9 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.3928, allocations: 362.1 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/0.3933, allocations: 311.6 kB / 1.352 GB, free: 9.812 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.3934, allocations: 130.6 kB / 1.352 GB, free: 9.676 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.3935, allocations: 3.938 kB / 1.352 GB, free: 9.672 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004907/0.3939, allocations: 287.5 kB / 1.352 GB, free: 9.371 MB / 1.045 GB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.3939, allocations: 0 / 1.352 GB, free: 9.371 MB / 1.045 GB Notification: Performance of matching and sorting (n=18): time 0.0008723/0.3948, allocations: 0.4972 MB / 1.353 GB, free: 8.867 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.3949, allocations: 114.8 kB / 1.353 GB, free: 8.73 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005086/0.3954, allocations: 396.5 kB / 1.353 GB, free: 8.324 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.203e-05/0.3955, allocations: 41.7 kB / 1.353 GB, free: 8.277 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.3957, allocations: 156.8 kB / 1.353 GB, free: 8.121 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.215e-05/0.3957, allocations: 39.73 kB / 1.353 GB, free: 8.082 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.3959, allocations: 113.6 kB / 1.353 GB, free: 7.965 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3961, allocations: 346.8 kB / 1.354 GB, free: 7.617 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.3962, allocations: 79.95 kB / 1.354 GB, free: 7.539 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005736/0.3968, allocations: 471.4 kB / 1.354 GB, free: 6.953 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.3971, allocations: 261.3 kB / 1.355 GB, free: 6.648 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.3971, allocations: 4 kB / 1.355 GB, free: 6.645 MB / 1.045 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005279/0.3977, allocations: 333.1 kB / 1.355 GB, free: 6.312 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3977, allocations: 4 kB / 1.355 GB, free: 6.309 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3977, allocations: 4 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.3977, allocations: 8 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.3979, allocations: 31.92 kB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/0.3979, allocations: 11.92 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000756/0.3987, allocations: 76.69 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.3987, allocations: 11.98 kB / 1.355 GB, free: 6.168 MB / 1.045 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.0002357/0.3989, allocations: 191.7 kB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.399, allocations: 31.75 kB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.724e-05/0.399, allocations: 33.89 kB / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.3991, allocations: 7.938 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3991, allocations: 4 kB / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3991, allocations: 0 / 1.355 GB, free: 5.895 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.3994, allocations: 256.6 kB / 1.355 GB, free: 5.602 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3994, allocations: 0 / 1.355 GB, free: 5.602 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.3994, allocations: 11.92 kB / 1.355 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.3994, allocations: 0 / 1.355 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.3994, allocations: 8.125 kB / 1.355 GB, free: 5.582 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.3994, allocations: 11.94 kB / 1.355 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3994, allocations: 0 / 1.355 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005971/0.4, allocations: 431.9 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-05/0.4001, allocations: 35.72 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.4001, allocations: 0 / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.877e-05/0.4002, allocations: 8 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.4003, allocations: 19.97 kB / 1.356 GB, free: 5.062 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.4003, allocations: 8 kB / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003202/0.4006, allocations: 291 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4006, allocations: 4 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004002/0.401, allocations: 83.86 kB / 1.356 GB, free: 4.684 MB / 1.045 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.001094/0.4021, allocations: 1.009 MB / 1.357 GB, free: 3.637 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004492/0.4026, allocations: 243.7 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4026, allocations: 0 / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.4028, allocations: 119.9 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.4031, allocations: 25.88 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.4074, allocations: 3.276 MB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.4079, allocations: 0.7635 MB / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001622/0.408, allocations: 52.81 kB / 1.362 GB, free: 14.96 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.4082, allocations: 83.41 kB / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of SimCode: time 1.283e-06/0.4082, allocations: 0 / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/0.4398, allocations: 7.867 MB / 1.369 GB, free: 7.273 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.95, allocations: 13.41 kB / 1.369 GB, free: 7.262 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --stepSize=0.006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.267295499972533] Failed to read output from testmodel.py, exit status != 0: 12.112016642000526 12.136188916 11.742073044 Calling exit ...