Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.00168/0.00168, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.002005/0.002005, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.564/1.564, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.165/3.165, allocations: 0.5003 GB / 0.8026 GB, free: 6.691 MB / 0.6387 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.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",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.002022/0.002022, allocations: 67.91 kB / 1.165 GB, free: 460 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161/1.163, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002058/1.165, allocations: 0.6966 MB / 1.341 GB, free: 15.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001979/1.167, allocations: 1.38 MB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.495e-05/1.167, allocations: 0.9688 kB / 1.342 GB, free: 14.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006021/1.168, allocations: 184.7 kB / 1.342 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001412/1.168, allocations: 104.3 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007794/1.169, allocations: 237.5 kB / 1.343 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006515/1.169, allocations: 498.3 kB / 1.343 GB, free: 14.47 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.479e-05/1.169, allocations: 3.828 kB / 1.343 GB, free: 14.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/1.17, allocations: 208.3 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004343/1.17, allocations: 226.6 kB / 1.344 GB, free: 14.37 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.913e-05/1.17, allocations: 21.53 kB / 1.344 GB, free: 14.37 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002249/1.17, allocations: 82.44 kB / 1.344 GB, free: 14.35 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004476/1.171, allocations: 275.6 kB / 1.344 GB, free: 14.27 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002015/1.171, allocations: 153.4 kB / 1.344 GB, free: 14.18 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006577/1.172, allocations: 481.3 kB / 1.345 GB, free: 14.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/1.172, allocations: 4 kB / 1.345 GB, free: 14.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.094e-06/1.172, allocations: 3.938 kB / 1.345 GB, free: 14.03 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.127e-06/1.172, allocations: 0 / 1.345 GB, free: 14.03 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.001038/1.173, allocations: 0.6397 MB / 1.345 GB, free: 13.53 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/1.173, allocations: 10.28 kB / 1.345 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.716e-05/1.173, allocations: 9.547 kB / 1.345 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.787e-05/1.173, allocations: 37.91 kB / 1.345 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/1.173, allocations: 35.64 kB / 1.345 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005587/1.174, allocations: 380.9 kB / 1.346 GB, free: 13.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/1.174, allocations: 13.81 kB / 1.346 GB, free: 13.19 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.385e-05/1.174, allocations: 22.28 kB / 1.346 GB, free: 13.19 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/1.174, allocations: 197.4 kB / 1.346 GB, free: 13.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.174, allocations: 1.281 kB / 1.346 GB, free: 13.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/1.174, allocations: 4.656 kB / 1.346 GB, free: 13.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.174, allocations: 2.25 kB / 1.346 GB, free: 13.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/1.174, allocations: 112.7 kB / 1.346 GB, free: 13.06 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/1.175, allocations: 378.5 kB / 1.346 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/1.175, allocations: 318.2 kB / 1.347 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/1.176, allocations: 121.2 kB / 1.347 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/1.176, allocations: 2.594 kB / 1.347 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005468/1.176, allocations: 283.7 kB / 1.347 GB, free: 12.49 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.964e-06/1.176, allocations: 0 / 1.347 GB, free: 12.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0009112/1.177, allocations: 0.4981 MB / 1.347 GB, free: 12.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/1.177, allocations: 114.5 kB / 1.348 GB, free: 12.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004855/1.178, allocations: 400.4 kB / 1.348 GB, free: 12.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/1.178, allocations: 41.09 kB / 1.348 GB, free: 11.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/1.178, allocations: 155.3 kB / 1.348 GB, free: 11.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/1.178, allocations: 40.89 kB / 1.348 GB, free: 11.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/1.178, allocations: 122.6 kB / 1.348 GB, free: 11.78 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.981e-05/1.178, allocations: 344.4 kB / 1.349 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/1.178, allocations: 81.09 kB / 1.349 GB, free: 11.44 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/1.179, allocations: 465.1 kB / 1.349 GB, free: 11.06 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/1.179, allocations: 260.3 kB / 1.349 GB, free: 10.86 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.179, allocations: 6.094 kB / 1.349 GB, free: 10.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000561/1.18, allocations: 329 kB / 1.35 GB, free: 10.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/1.18, allocations: 7.812 kB / 1.35 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.18, allocations: 3.344 kB / 1.35 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/1.18, allocations: 9.469 kB / 1.35 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/1.18, allocations: 33.09 kB / 1.35 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/1.18, allocations: 10.61 kB / 1.35 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008174/1.181, allocations: 66.31 kB / 1.35 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/1.181, allocations: 15.5 kB / 1.35 GB, free: 10.7 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.0002396/1.181, allocations: 194.2 kB / 1.35 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/1.181, allocations: 32.8 kB / 1.35 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.895e-05/1.181, allocations: 33.3 kB / 1.35 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/1.181, allocations: 7.984 kB / 1.35 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/1.181, allocations: 1.094 kB / 1.35 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/1.181, allocations: 0.7969 kB / 1.35 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/1.182, allocations: 283.1 kB / 1.35 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.182, allocations: 1.125 kB / 1.35 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/1.182, allocations: 8.25 kB / 1.35 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/1.182, allocations: 3.062 kB / 1.35 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/1.182, allocations: 4.844 kB / 1.35 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/1.182, allocations: 3.047 kB / 1.35 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.182, allocations: 4.234 kB / 1.35 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000755/1.182, allocations: 442.6 kB / 1.351 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.453e-05/1.182, allocations: 107 kB / 1.351 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/1.182, allocations: 3.547 kB / 1.351 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.371e-05/1.183, allocations: 5.844 kB / 1.351 GB, free: 9.984 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/1.183, allocations: 16.97 kB / 1.351 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/1.183, allocations: 16.55 kB / 1.351 GB, free: 9.977 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004447/1.183, allocations: 291.5 kB / 1.351 GB, free: 9.844 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.183, allocations: 0 / 1.351 GB, free: 9.844 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006123/1.184, allocations: 81.64 kB / 1.351 GB, free: 9.828 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.001151/1.185, allocations: 0.9996 MB / 1.352 GB, free: 9.105 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005845/1.185, allocations: 253.4 kB / 1.353 GB, free: 9.043 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.185, allocations: 1.344 kB / 1.353 GB, free: 9.043 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002249/1.186, allocations: 122 kB / 1.353 GB, free: 9.012 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/1.186, allocations: 30.31 kB / 1.353 GB, free: 8.996 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/1.19, allocations: 3.271 MB / 1.356 GB, free: 7.039 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/1.191, allocations: 0.7599 MB / 1.357 GB, free: 6.34 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001908/1.191, allocations: 48.77 kB / 1.357 GB, free: 6.336 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/1.191, allocations: 85.62 kB / 1.357 GB, free: 6.277 MB / 1.061 GB Notification: Performance of SimCode: time 1.072e-06/1.191, allocations: 0 / 1.357 GB, free: 6.277 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/1.223, allocations: 7.672 MB / 1.364 GB, free: 5.512 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.755/9.978, allocations: 7.188 kB / 1.364 GB, free: 5.508 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.804717617982533] Failed to read output from testmodel.py, exit status != 0: 10.138772240024991 10.151477858 8.97686704 Calling exit ...