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.00135/0.00135, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001393/0.001393, allocations: 214.2 kB / 23.04 MB, free: 5.078 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.172/3.172, allocations: 0.49 GB / 0.7959 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_12_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_12_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.002029/0.002029, allocations: 63.55 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3912, allocations: 176.1 MB / 1.327 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002462/0.3936, allocations: 0.6937 MB / 1.327 GB, free: 1.297 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00246/0.3961, allocations: 1.381 MB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.3962, allocations: 8 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006902/0.3969, allocations: 191.5 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.3971, allocations: 103.7 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.3983, allocations: 243.3 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008086/0.3991, allocations: 499.7 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.99e-05/0.3992, allocations: 4 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004772/0.3996, allocations: 207.7 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005427/0.4002, allocations: 231.5 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.4004, allocations: 24 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003328/0.4007, allocations: 99.84 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004484/0.4011, allocations: 267.5 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002957/0.4014, allocations: 151.3 kB / 1.331 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007229/0.4022, allocations: 482.7 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4022, allocations: 0 / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4022, allocations: 0 / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.4022, allocations: 0 / 1.331 GB, free: 13.45 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.001381/0.4036, allocations: 0.5747 MB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.4036, allocations: 8.031 kB / 1.332 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.731e-05/0.4036, allocations: 4.125 kB / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.625e-05/0.4037, allocations: 38.73 kB / 1.332 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.4039, allocations: 36.73 kB / 1.332 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007168/0.4046, allocations: 326.5 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.4046, allocations: 16.38 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.857e-05/0.4047, allocations: 20.38 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.4051, allocations: 188.4 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.4051, allocations: 11.92 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.4051, allocations: 4 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4051, allocations: 0 / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.4053, allocations: 107.9 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005377/0.4059, allocations: 358.2 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004936/0.4064, allocations: 315.6 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.4065, allocations: 126.5 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.4066, allocations: 4 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005359/0.4071, allocations: 287.1 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.4071, allocations: 0 / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.000936/0.408, allocations: 0.4934 MB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.674e-05/0.4081, allocations: 114.8 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004946/0.4086, allocations: 396.5 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.872e-05/0.4087, allocations: 37.7 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.4089, allocations: 152.8 kB / 1.335 GB, free: 9.633 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.4089, allocations: 39.78 kB / 1.335 GB, free: 9.594 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.4091, allocations: 117.6 kB / 1.335 GB, free: 9.473 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.4093, allocations: 350.7 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.4094, allocations: 79.95 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006143/0.4101, allocations: 466.8 kB / 1.336 GB, free: 8.461 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.4104, allocations: 261.4 kB / 1.336 GB, free: 8.156 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4104, allocations: 0 / 1.336 GB, free: 8.156 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005359/0.411, allocations: 333 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.411, allocations: 8.406 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.411, allocations: 4 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.411, allocations: 8 kB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.4112, allocations: 27.92 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.4112, allocations: 11.92 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007695/0.412, allocations: 76.5 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.412, allocations: 12 kB / 1.336 GB, free: 7.68 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.0002377/0.4122, allocations: 196 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.4123, allocations: 35.75 kB / 1.337 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.4123, allocations: 33.89 kB / 1.337 GB, free: 7.414 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.4124, allocations: 4 kB / 1.337 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4124, allocations: 0 / 1.337 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.4124, allocations: 0 / 1.337 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.4127, allocations: 256.6 kB / 1.337 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4127, allocations: 0 / 1.337 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.025e-05/0.4127, allocations: 19.86 kB / 1.337 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.4127, allocations: 0 / 1.337 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.4127, allocations: 4 kB / 1.337 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4127, allocations: 4 kB / 1.337 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4127, allocations: 0 / 1.337 GB, free: 7.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007409/0.4134, allocations: 440 kB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.4135, allocations: 43.72 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.4135, allocations: 4 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.79e-05/0.4136, allocations: 0 / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.4137, allocations: 31.89 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.4137, allocations: 8 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003267/0.414, allocations: 291 kB / 1.338 GB, free: 6.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.414, allocations: 0 / 1.338 GB, free: 6.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003976/0.4144, allocations: 75.92 kB / 1.338 GB, free: 6.195 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.00103/0.4155, allocations: 1.013 MB / 1.339 GB, free: 5.145 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004481/0.4159, allocations: 252.4 kB / 1.339 GB, free: 4.898 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4159, allocations: 0 / 1.339 GB, free: 4.898 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.4161, allocations: 119.9 kB / 1.339 GB, free: 4.781 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.4164, allocations: 34.58 kB / 1.339 GB, free: 4.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/0.4203, allocations: 3.254 MB / 1.342 GB, free: 1.301 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.4207, allocations: 0.7674 MB / 1.343 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001319/0.4208, allocations: 57.98 kB / 1.343 GB, free: 468 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.421, allocations: 83.41 kB / 1.343 GB, free: 384 kB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.421, allocations: 4 kB / 1.343 GB, free: 380 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.4517, allocations: 7.86 MB / 1.351 GB, free: 8.758 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.94, allocations: 11.64 kB / 1.351 GB, free: 8.75 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.797945262980647] Failed to read output from testmodel.py, exit status != 0: 12.11134740000125 12.133987599 11.727512652 Calling exit ...