Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00133/0.00133, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001541/0.001541, allocations: 214.6 kB / 23.03 MB, free: 4.926 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.788/2.788, allocations: 476.8 MB / 0.7715 GB, free: 3.879 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.TimeTable,fileNamePrefix="Buildings_11_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_11_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.002033/0.002033, allocations: 67.05 kB / 1.118 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4049, allocations: 170 MB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002172/0.4071, allocations: 0.6624 MB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002095/0.4092, allocations: 1.344 MB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.4093, allocations: 4 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005759/0.4098, allocations: 187.5 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.41, allocations: 103.7 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000762/0.4107, allocations: 255.2 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000621/0.4114, allocations: 483.7 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.167e-05/0.4114, allocations: 1.406 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.4116, allocations: 215.6 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003796/0.412, allocations: 231.6 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.66e-05/0.4121, allocations: 20 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.4124, allocations: 99.91 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000423/0.4128, allocations: 275.4 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.413, allocations: 131.4 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006153/0.4136, allocations: 478 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.4136, allocations: 0 / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4136, allocations: 0 / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.4136, allocations: 0 / 1.288 GB, free: 6.203 MB / 0.9825 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.001133/0.4148, allocations: 0.5747 MB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4148, allocations: 8.031 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.859e-05/0.4148, allocations: 8.188 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.523e-05/0.4149, allocations: 38.73 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.415, allocations: 32.75 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005652/0.4156, allocations: 330.5 kB / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.4156, allocations: 12.38 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.773e-05/0.4157, allocations: 20.38 kB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.416, allocations: 196.2 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.416, allocations: 0 / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.416, allocations: 0 / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.416, allocations: 8 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.4162, allocations: 107.9 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.4166, allocations: 298.4 kB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.4171, allocations: 307.6 kB / 1.29 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.4173, allocations: 122.6 kB / 1.29 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.4173, allocations: 0 / 1.29 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005165/0.4178, allocations: 293.6 kB / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.4178, allocations: 0 / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0009101/0.4188, allocations: 0.494 MB / 1.291 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.314e-05/0.4188, allocations: 122.7 kB / 1.291 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/0.4193, allocations: 392.5 kB / 1.292 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.424e-05/0.4194, allocations: 41.69 kB / 1.292 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.4195, allocations: 156.7 kB / 1.292 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.4196, allocations: 35.72 kB / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.4198, allocations: 121.6 kB / 1.292 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.42, allocations: 346.8 kB / 1.292 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.4201, allocations: 87.95 kB / 1.292 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009104/0.421, allocations: 1.082 MB / 1.293 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.4214, allocations: 253.5 kB / 1.294 GB, free: 212 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.4214, allocations: 4 kB / 1.294 GB, free: 208 kB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005385/0.4219, allocations: 341.3 kB / 1.294 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.4219, allocations: 6.188 kB / 1.294 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.422, allocations: 8.078 kB / 1.294 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.422, allocations: 8 kB / 1.294 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.4221, allocations: 27.92 kB / 1.294 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.4222, allocations: 11.97 kB / 1.294 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007551/0.4229, allocations: 63.83 kB / 1.294 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.4229, allocations: 12.09 kB / 1.294 GB, free: 15.73 MB / 0.9981 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.000234/0.4232, allocations: 195.7 kB / 1.294 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.4232, allocations: 27.8 kB / 1.294 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.937e-05/0.4233, allocations: 33.89 kB / 1.294 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.4233, allocations: 4 kB / 1.294 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4233, allocations: 3.938 kB / 1.294 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4233, allocations: 0 / 1.294 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.4236, allocations: 236.6 kB / 1.295 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.4236, allocations: 7.938 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-05/0.4236, allocations: 4 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4236, allocations: 3.938 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.4236, allocations: 7.984 kB / 1.295 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.4236, allocations: 4 kB / 1.295 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4236, allocations: 0 / 1.295 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006196/0.4242, allocations: 434.4 kB / 1.295 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.4243, allocations: 27.78 kB / 1.295 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.4243, allocations: 15.97 kB / 1.295 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-05/0.4244, allocations: 0 / 1.295 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.4245, allocations: 15.98 kB / 1.295 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.4245, allocations: 19.98 kB / 1.295 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003218/0.4248, allocations: 295 kB / 1.295 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.4248, allocations: 0 / 1.295 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004011/0.4252, allocations: 75.94 kB / 1.296 GB, free: 14.27 MB / 0.9981 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.001062/0.4263, allocations: 1 MB / 1.297 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004577/0.4268, allocations: 259.2 kB / 1.297 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4268, allocations: 0 / 1.297 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.4269, allocations: 119.9 kB / 1.297 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.4272, allocations: 24.64 kB / 1.297 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/0.4314, allocations: 3.269 MB / 1.3 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.4316, allocations: 165.2 kB / 1.3 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.4317, allocations: 41.95 kB / 1.3 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.4319, allocations: 95.33 kB / 1.3 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.4319, allocations: 0 / 1.3 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.4641, allocations: 8.238 MB / 1.308 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.09, allocations: 6.406 kB / 1.308 GB, free: 1.148 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.066756668966264] Failed to read output from testmodel.py, exit status != 0: 12.880068239057437 12.288748982 11.869952543 Calling exit ...