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.001893/0.001893, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002411/0.002411, allocations: 215 kB / 20.13 MB, free: 2.949 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.507/1.507, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.011/3.011, allocations: 0.49 GB / 0.7923 GB, free: 1.324 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.002163/0.002163, allocations: 63.91 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092/1.094, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001778/1.096, allocations: 0.6896 MB / 1.322 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00147/1.098, allocations: 1.376 MB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/1.098, allocations: 3.938 kB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004208/1.098, allocations: 190.4 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.01e-05/1.098, allocations: 99.44 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006262/1.099, allocations: 232.8 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004338/1.099, allocations: 498.6 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/1.099, allocations: 6.156 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/1.099, allocations: 207 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/1.1, allocations: 225.7 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.214e-05/1.1, allocations: 20 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/1.1, allocations: 87.56 kB / 1.325 GB, free: 22.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002978/1.1, allocations: 274.3 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/1.1, allocations: 144.7 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004457/1.101, allocations: 489.5 kB / 1.326 GB, free: 22.55 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/1.101, allocations: 1.188 kB / 1.326 GB, free: 22.55 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.492e-06/1.101, allocations: 0 / 1.326 GB, free: 22.55 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.287e-05/1.101, allocations: 0 / 1.326 GB, free: 22.55 MB / 1.061 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.0009929/1.102, allocations: 0.6458 MB / 1.327 GB, free: 22.04 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.102, allocations: 17.67 kB / 1.327 GB, free: 22.04 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.443e-05/1.102, allocations: 0.75 kB / 1.327 GB, free: 22.04 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.222e-05/1.102, allocations: 35.94 kB / 1.327 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/1.102, allocations: 34.66 kB / 1.327 GB, free: 21.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/1.103, allocations: 385.2 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/1.103, allocations: 13.06 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.094e-05/1.103, allocations: 23.59 kB / 1.327 GB, free: 21.7 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/1.103, allocations: 199.1 kB / 1.327 GB, free: 21.6 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.103, allocations: 4.438 kB / 1.327 GB, free: 21.6 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/1.103, allocations: 0.6562 kB / 1.327 GB, free: 21.6 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.103, allocations: 1.812 kB / 1.327 GB, free: 21.6 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/1.103, allocations: 110.4 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/1.104, allocations: 379.2 kB / 1.328 GB, free: 21.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005908/1.104, allocations: 314.8 kB / 1.328 GB, free: 21.17 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/1.104, allocations: 120.2 kB / 1.328 GB, free: 21.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/1.104, allocations: 2.234 kB / 1.328 GB, free: 21.12 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005389/1.105, allocations: 285.6 kB / 1.328 GB, free: 21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.453e-06/1.105, allocations: 0 / 1.328 GB, free: 21 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0009824/1.106, allocations: 0.4946 MB / 1.329 GB, free: 20.85 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/1.106, allocations: 122.5 kB / 1.329 GB, free: 20.71 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004405/1.106, allocations: 401 kB / 1.329 GB, free: 20.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.279e-05/1.106, allocations: 41.14 kB / 1.329 GB, free: 20.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/1.107, allocations: 150.7 kB / 1.33 GB, free: 20.37 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/1.107, allocations: 45.52 kB / 1.33 GB, free: 20.33 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/1.107, allocations: 115 kB / 1.33 GB, free: 20.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.921e-05/1.107, allocations: 343.1 kB / 1.33 GB, free: 19.97 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/1.107, allocations: 82.83 kB / 1.33 GB, free: 19.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004765/1.107, allocations: 471 kB / 1.331 GB, free: 19.57 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/1.108, allocations: 253.4 kB / 1.331 GB, free: 19.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.108, allocations: 0.6562 kB / 1.331 GB, free: 19.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005395/1.108, allocations: 338 kB / 1.331 GB, free: 19.25 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.108, allocations: 6.406 kB / 1.331 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/1.108, allocations: 3.438 kB / 1.331 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/1.108, allocations: 4.969 kB / 1.331 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/1.109, allocations: 34.83 kB / 1.331 GB, free: 19.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.109, allocations: 6.016 kB / 1.331 GB, free: 19.24 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007809/1.109, allocations: 78.38 kB / 1.331 GB, free: 19.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/1.109, allocations: 11.83 kB / 1.331 GB, free: 19.21 MB / 1.061 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.0002233/1.11, allocations: 193.3 kB / 1.331 GB, free: 19.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/1.11, allocations: 38.19 kB / 1.331 GB, free: 19.05 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.091e-05/1.11, allocations: 32.58 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.11, allocations: 4.422 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.11, allocations: 0 / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/1.11, allocations: 6.016 kB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/1.11, allocations: 287.2 kB / 1.332 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.11, allocations: 0.8125 kB / 1.332 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-05/1.11, allocations: 8.328 kB / 1.332 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/1.11, allocations: 1.5 kB / 1.332 GB, free: 18.8 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/1.11, allocations: 10.34 kB / 1.332 GB, free: 18.79 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/1.11, allocations: 1.438 kB / 1.332 GB, free: 18.79 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/1.11, allocations: 9.156 kB / 1.332 GB, free: 18.79 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006111/1.111, allocations: 435 kB / 1.332 GB, free: 18.61 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.815e-05/1.111, allocations: 103.9 kB / 1.332 GB, free: 18.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/1.111, allocations: 7.062 kB / 1.332 GB, free: 18.49 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.977e-05/1.111, allocations: 6.156 kB / 1.332 GB, free: 18.49 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/1.111, allocations: 21.3 kB / 1.332 GB, free: 18.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/1.111, allocations: 11.92 kB / 1.332 GB, free: 18.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003915/1.111, allocations: 291.8 kB / 1.333 GB, free: 18.35 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/1.111, allocations: 0 / 1.333 GB, free: 18.35 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005387/1.112, allocations: 81.89 kB / 1.333 GB, free: 18.34 MB / 1.061 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.00107/1.113, allocations: 0.9992 MB / 1.334 GB, free: 17.61 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005125/1.113, allocations: 252.5 kB / 1.334 GB, free: 17.55 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.113, allocations: 0.8125 kB / 1.334 GB, free: 17.55 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/1.114, allocations: 117.3 kB / 1.334 GB, free: 17.53 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/1.114, allocations: 29.84 kB / 1.334 GB, free: 17.51 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004007/1.118, allocations: 3.265 MB / 1.337 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/1.118, allocations: 0.768 MB / 1.338 GB, free: 14.84 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001572/1.118, allocations: 52.27 kB / 1.338 GB, free: 14.83 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/1.118, allocations: 83.97 kB / 1.338 GB, free: 14.77 MB / 1.061 GB Notification: Performance of SimCode: time 4.4e-07/1.118, allocations: 0 / 1.338 GB, free: 14.77 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03166/1.15, allocations: 7.702 MB / 1.346 GB, free: 13.99 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.727/9.877, allocations: 16.55 kB / 1.346 GB, free: 13.98 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.499842293036636] Failed to read output from testmodel.py, exit status != 0: 10.011797195998952 10.030418609 8.926152287 Calling exit ...