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.001291/0.001291, 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.001535/0.001535, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.307/3.307, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 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.001927/0.001927, allocations: 71.25 kB / 1.171 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3888, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002435/0.3913, allocations: 0.6752 MB / 1.346 GB, free: 15.23 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002477/0.3938, allocations: 1.346 MB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.3939, allocations: 0 / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006891/0.3946, allocations: 195.5 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.3947, allocations: 103.7 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.3958, allocations: 241.7 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0008496/0.3966, allocations: 483.8 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.257e-05/0.3967, allocations: 4 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000495/0.3972, allocations: 207.6 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005586/0.3978, allocations: 223.6 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002197/0.398, allocations: 28 kB / 1.349 GB, free: 12.42 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003911/0.3984, allocations: 99.91 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005291/0.3989, allocations: 275.4 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003181/0.3992, allocations: 131.4 kB / 1.349 GB, free: 11.92 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008354/0.4001, allocations: 478.8 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.999e-06/0.4001, allocations: 4 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.725e-06/0.4001, allocations: 3.938 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.4001, allocations: 0 / 1.35 GB, free: 11.45 MB / 1.045 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.001451/0.4015, allocations: 0.5669 MB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.4016, allocations: 16.03 kB / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.811e-05/0.4016, allocations: 192 / 1.35 GB, free: 10.83 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.597e-05/0.4017, allocations: 34.73 kB / 1.35 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.4019, allocations: 32.8 kB / 1.35 GB, free: 10.75 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006786/0.4026, allocations: 326.5 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.4026, allocations: 20.3 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.593e-05/0.4027, allocations: 20.38 kB / 1.351 GB, free: 10.38 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.4031, allocations: 188.4 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.4031, allocations: 4 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.4031, allocations: 0 / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.4031, allocations: 0 / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.4033, allocations: 115.9 kB / 1.351 GB, free: 10.06 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.4039, allocations: 298.3 kB / 1.351 GB, free: 9.719 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005367/0.4044, allocations: 315.6 kB / 1.351 GB, free: 9.383 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.4046, allocations: 122.6 kB / 1.352 GB, free: 9.254 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.4046, allocations: 7.984 kB / 1.352 GB, free: 9.246 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006122/0.4052, allocations: 295.5 kB / 1.352 GB, free: 8.938 MB / 1.045 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.4052, allocations: 0 / 1.352 GB, free: 8.938 MB / 1.045 GB Notification: Performance of matching and sorting (n=18): time 0.0009112/0.4061, allocations: 0.49 MB / 1.352 GB, free: 8.441 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.123e-05/0.4062, allocations: 110.8 kB / 1.352 GB, free: 8.309 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004956/0.4067, allocations: 404.5 kB / 1.353 GB, free: 7.895 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.578e-05/0.4068, allocations: 37.7 kB / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.407, allocations: 156.8 kB / 1.353 GB, free: 7.695 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.407, allocations: 39.7 kB / 1.353 GB, free: 7.656 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.4072, allocations: 117.6 kB / 1.353 GB, free: 7.535 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4074, allocations: 338.8 kB / 1.354 GB, free: 7.195 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.4075, allocations: 91.95 kB / 1.354 GB, free: 7.105 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009346/0.4084, allocations: 1.087 MB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.4088, allocations: 257.5 kB / 1.355 GB, free: 5.438 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4088, allocations: 0 / 1.355 GB, free: 5.438 MB / 1.045 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00051/0.4093, allocations: 333.3 kB / 1.355 GB, free: 5.105 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.4093, allocations: 12.06 kB / 1.355 GB, free: 5.094 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4093, allocations: 4 kB / 1.355 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.4093, allocations: 4 kB / 1.355 GB, free: 5.086 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.4095, allocations: 27.92 kB / 1.355 GB, free: 5.059 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.4095, allocations: 12.12 kB / 1.355 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000757/0.4103, allocations: 67.95 kB / 1.355 GB, free: 4.98 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.4103, allocations: 12 kB / 1.355 GB, free: 4.969 MB / 1.045 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.0002402/0.4105, allocations: 195.7 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/0.4106, allocations: 39.75 kB / 1.356 GB, free: 4.727 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.649e-05/0.4106, allocations: 29.89 kB / 1.356 GB, free: 4.699 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.4106, allocations: 4.234 kB / 1.356 GB, free: 4.695 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4107, allocations: 0 / 1.356 GB, free: 4.695 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.4107, allocations: 4 kB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/0.4109, allocations: 236.5 kB / 1.356 GB, free: 4.418 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4109, allocations: 3.938 kB / 1.356 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.411, allocations: 15.94 kB / 1.356 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.411, allocations: 4 kB / 1.356 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.411, allocations: 11.98 kB / 1.356 GB, free: 4.383 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.411, allocations: 0 / 1.356 GB, free: 4.383 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.411, allocations: 0 / 1.356 GB, free: 4.383 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006178/0.4116, allocations: 428 kB / 1.356 GB, free: 3.941 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.4117, allocations: 39.73 kB / 1.356 GB, free: 3.902 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.874e-05/0.4117, allocations: 3.984 kB / 1.356 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.756e-05/0.4118, allocations: 8 kB / 1.356 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.4119, allocations: 15.97 kB / 1.356 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.4119, allocations: 12 kB / 1.356 GB, free: 3.863 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003389/0.4122, allocations: 291 kB / 1.357 GB, free: 3.578 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4122, allocations: 0 / 1.357 GB, free: 3.578 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003767/0.4126, allocations: 75.94 kB / 1.357 GB, free: 3.504 MB / 1.045 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.001018/0.4136, allocations: 1 MB / 1.358 GB, free: 2.465 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004397/0.4141, allocations: 248.3 kB / 1.358 GB, free: 2.223 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4141, allocations: 192 / 1.358 GB, free: 2.223 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.4143, allocations: 123.9 kB / 1.358 GB, free: 2.102 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.4145, allocations: 31.39 kB / 1.358 GB, free: 2.074 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003919/0.4185, allocations: 3.264 MB / 1.361 GB, free: 14.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.4186, allocations: 169 kB / 1.361 GB, free: 14.43 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.4187, allocations: 41.95 kB / 1.361 GB, free: 14.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.4189, allocations: 83.39 kB / 1.362 GB, free: 14.31 MB / 1.061 GB Notification: Performance of SimCode: time 7.72e-07/0.4189, allocations: 4 kB / 1.362 GB, free: 14.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03276/0.4516, allocations: 8.255 MB / 1.37 GB, free: 6.336 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.11, allocations: 14.22 kB / 1.37 GB, free: 6.324 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.0856070300797] Failed to read output from testmodel.py, exit status != 0: 12.281353860045783 12.29920657 11.895360183 Calling exit ...