Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.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.001333/0.001333, allocations: 110.5 kB / 17.12 MB, free: 6.008 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.001496/0.001496, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.577/1.577, 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/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.013/1.013, allocations: 150 MB / 459.5 MB, free: 5.352 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002017/0.002017, allocations: 73.48 kB / 0.6361 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1634, allocations: 89.13 MB / 0.7232 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002193/0.1655, allocations: 0.8496 MB / 0.724 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1677, allocations: 1.492 MB / 0.7255 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.611e-05/0.1677, allocations: 4 kB / 0.7255 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005066/0.1682, allocations: 195.4 kB / 0.7257 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.1684, allocations: 119.6 kB / 0.7258 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009755/0.1694, allocations: 363 kB / 0.7261 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009796/0.1703, allocations: 0.8699 MB / 0.727 GB, free: 228 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.1705, allocations: 80.19 kB / 0.727 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004373/0.171, allocations: 347.5 kB / 0.7274 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004014/0.1714, allocations: 271.3 kB / 0.7276 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.1715, allocations: 48 kB / 0.7277 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.1717, allocations: 111.9 kB / 0.7278 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004413/0.1722, allocations: 363.2 kB / 0.7281 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.1725, allocations: 270.8 kB / 0.7284 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009636/0.1735, allocations: 0.9193 MB / 0.7293 GB, free: 13.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1735, allocations: 3.938 kB / 0.7293 GB, free: 13.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.624e-06/0.1735, allocations: 0 / 0.7293 GB, free: 13.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.1735, allocations: 0 / 0.7293 GB, free: 13.84 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001674/0.1752, allocations: 0.9012 MB / 0.7302 GB, free: 12.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1752, allocations: 12.03 kB / 0.7302 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.976e-05/0.1753, allocations: 50.73 kB / 0.7302 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.1755, allocations: 52.66 kB / 0.7303 GB, free: 12.76 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008525/0.1763, allocations: 0.5414 MB / 0.7308 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.1763, allocations: 32.53 kB / 0.7308 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.1765, allocations: 32.38 kB / 0.7309 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.177, allocations: 306.2 kB / 0.7312 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.177, allocations: 7.938 kB / 0.7312 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.177, allocations: 11.94 kB / 0.7312 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.177, allocations: 8 kB / 0.7312 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003571/0.1774, allocations: 219.8 kB / 0.7314 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.1794, allocations: 1.18 MB / 0.7325 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006948/0.1801, allocations: 467.7 kB / 0.733 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.1804, allocations: 170.6 kB / 0.7332 GB, free: 9.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.1804, allocations: 11.98 kB / 0.7332 GB, free: 9.648 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004865/0.1809, allocations: 332.7 kB / 0.7335 GB, free: 9.305 MB / 0.545 GB Notification: Performance of pre-optimization done (n=24): time 1.502e-06/0.1809, allocations: 0 / 0.7335 GB, free: 9.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=24): time 0.001109/0.182, allocations: 0.626 MB / 0.7341 GB, free: 8.672 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.1821, allocations: 122.7 kB / 0.7342 GB, free: 8.527 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007684/0.1828, allocations: 0.5954 MB / 0.7348 GB, free: 7.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.609e-05/0.1829, allocations: 53.7 kB / 0.7348 GB, free: 7.871 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.1832, allocations: 217.5 kB / 0.7351 GB, free: 7.652 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/0.1832, allocations: 47.66 kB / 0.7351 GB, free: 7.605 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002912/0.1835, allocations: 189.4 kB / 0.7353 GB, free: 7.414 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001905/0.1837, allocations: 362.8 kB / 0.7356 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.1839, allocations: 123.9 kB / 0.7357 GB, free: 6.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009219/0.1848, allocations: 0.7108 MB / 0.7364 GB, free: 6.043 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/0.1852, allocations: 312.5 kB / 0.7367 GB, free: 5.691 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1852, allocations: 4 kB / 0.7367 GB, free: 5.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007094/0.1859, allocations: 414.1 kB / 0.7371 GB, free: 5.277 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.186, allocations: 11.98 kB / 0.7371 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.186, allocations: 4 kB / 0.7372 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.186, allocations: 7.938 kB / 0.7372 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.1862, allocations: 35.92 kB / 0.7372 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.619e-06/0.1862, allocations: 4 kB / 0.7372 GB, free: 5.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.1875, allocations: 135.8 kB / 0.7373 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.1875, allocations: 16 kB / 0.7373 GB, free: 5.066 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0003338/0.1879, allocations: 261.6 kB / 0.7376 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.1879, allocations: 39.72 kB / 0.7376 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.315e-05/0.188, allocations: 55.36 kB / 0.7377 GB, free: 4.703 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.188, allocations: 7.938 kB / 0.7377 GB, free: 4.695 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.188, allocations: 8.188 kB / 0.7377 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.188, allocations: 0 / 0.7377 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004401/0.1885, allocations: 405.3 kB / 0.7381 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1885, allocations: 4 kB / 0.7381 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.875e-05/0.1885, allocations: 8 kB / 0.7381 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.1885, allocations: 0 / 0.7381 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.1885, allocations: 7.984 kB / 0.7381 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.1885, allocations: 11.88 kB / 0.7381 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1885, allocations: 0 / 0.7381 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007431/0.1893, allocations: 0.5178 MB / 0.7386 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.1894, allocations: 128.8 kB / 0.7387 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.1894, allocations: 0 / 0.7387 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.1896, allocations: 19.92 kB / 0.7388 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/0.1897, allocations: 35.91 kB / 0.7388 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-05/0.1897, allocations: 15.98 kB / 0.7388 GB, free: 3.453 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000521/0.1903, allocations: 435.1 kB / 0.7392 GB, free: 3.031 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1903, allocations: 0 / 0.7392 GB, free: 3.031 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004914/0.1908, allocations: 119.8 kB / 0.7393 GB, free: 2.914 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001173/0.1919, allocations: 1.1 MB / 0.7404 GB, free: 1.785 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005792/0.1925, allocations: 343.4 kB / 0.7407 GB, free: 1.449 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1925, allocations: 3.938 kB / 0.7407 GB, free: 1.445 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.1928, allocations: 171.8 kB / 0.7409 GB, free: 1.277 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.1931, allocations: 31.09 kB / 0.7409 GB, free: 1.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005672/0.1987, allocations: 4.407 MB / 0.7452 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/0.1992, allocations: 0.8311 MB / 0.7461 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002277/0.1995, allocations: 93.56 kB / 0.7461 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.1997, allocations: 135.4 kB / 0.7463 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.1997, allocations: 0 / 0.7463 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05324/0.2529, allocations: 11.62 MB / 0.7576 GB, free: 224 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.867/9.12, allocations: 22.06 kB / 0.7576 GB, free: 204 kB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.csv --start-time -5 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.208104562014341] Failed to read output from testmodel.py, exit status != 0: 9.19748466112651 9.226070925 9.047189106 Calling exit ...