Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001743/0.001743, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002274/0.002274, allocations: 219.4 kB / 23.05 MB, free: 5.074 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.257/3.257, allocations: 0.49 GB / 0.7959 GB, free: 33.26 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.TimeTable,fileNamePrefix="Buildings_12_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_12_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.002041/0.002041, allocations: 66.39 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3917, allocations: 176.1 MB / 1.327 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.0019/0.3936, allocations: 0.6872 MB / 1.327 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001889/0.3955, allocations: 1.389 MB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.615e-05/0.3956, allocations: 3.938 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004896/0.3961, allocations: 199.6 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.3962, allocations: 99.67 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007261/0.397, allocations: 239 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005795/0.3975, allocations: 495.6 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.3976, allocations: 7.984 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.3978, allocations: 203.7 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.3982, allocations: 231.5 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.035e-05/0.3983, allocations: 24 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002453/0.3985, allocations: 103.8 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003868/0.3989, allocations: 271.5 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.3991, allocations: 147.3 kB / 1.331 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005783/0.3996, allocations: 482.7 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3996, allocations: 3.938 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.607e-06/0.3997, allocations: 4 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.3997, allocations: 0 / 1.331 GB, free: 13.44 MB / 1.029 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.001039/0.4007, allocations: 0.567 MB / 1.332 GB, free: 12.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.4007, allocations: 8.031 kB / 1.332 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.546e-05/0.4008, allocations: 8.125 kB / 1.332 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.014e-05/0.4008, allocations: 30.75 kB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.4009, allocations: 36.75 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005389/0.4015, allocations: 326.5 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.4015, allocations: 12.38 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.936e-05/0.4016, allocations: 20.36 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003309/0.4019, allocations: 196.4 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4019, allocations: 3.984 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.4019, allocations: 3.938 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.4019, allocations: 4 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.4021, allocations: 107.9 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.4025, allocations: 358.1 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/0.403, allocations: 315.6 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.4032, allocations: 118.6 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.4032, allocations: 4 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005047/0.4037, allocations: 289.5 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.4037, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0008601/0.4046, allocations: 0.4934 MB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/0.4047, allocations: 114.8 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004626/0.4051, allocations: 404.5 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.837e-05/0.4052, allocations: 41.7 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.4053, allocations: 148.8 kB / 1.335 GB, free: 9.637 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.4054, allocations: 35.8 kB / 1.335 GB, free: 9.602 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.4056, allocations: 117.6 kB / 1.335 GB, free: 9.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4057, allocations: 338.8 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.4059, allocations: 95.89 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005514/0.4064, allocations: 466.8 kB / 1.336 GB, free: 8.465 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.4067, allocations: 253.4 kB / 1.336 GB, free: 8.164 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.4068, allocations: 4 kB / 1.336 GB, free: 8.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005421/0.4073, allocations: 337 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.4073, allocations: 8 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.4073, allocations: 7.938 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4073, allocations: 4 kB / 1.336 GB, free: 7.805 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.4075, allocations: 28.33 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.4075, allocations: 15.94 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007781/0.4083, allocations: 71.05 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.4083, allocations: 15.98 kB / 1.336 GB, free: 7.68 MB / 1.029 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.0002187/0.4085, allocations: 188.3 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.185e-05/0.4086, allocations: 39.73 kB / 1.337 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.387e-05/0.4086, allocations: 33.89 kB / 1.337 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4086, allocations: 0 / 1.337 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4087, allocations: 4 kB / 1.337 GB, free: 7.414 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4087, allocations: 0 / 1.337 GB, free: 7.414 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.4089, allocations: 252.6 kB / 1.337 GB, free: 7.125 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4089, allocations: 4 kB / 1.337 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-05/0.409, allocations: 11.88 kB / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.409, allocations: 0 / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.409, allocations: 15.92 kB / 1.337 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.409, allocations: 7.984 kB / 1.337 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.409, allocations: 4 kB / 1.337 GB, free: 7.082 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005929/0.4096, allocations: 432.8 kB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/0.4096, allocations: 31.73 kB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.4097, allocations: 15.98 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.179e-05/0.4098, allocations: 3.938 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.4098, allocations: 19.98 kB / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/0.4099, allocations: 19.98 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003232/0.4102, allocations: 287 kB / 1.338 GB, free: 6.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4102, allocations: 3.938 kB / 1.338 GB, free: 6.266 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003927/0.4106, allocations: 75.94 kB / 1.338 GB, free: 6.191 MB / 1.029 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.001026/0.4116, allocations: 1.004 MB / 1.339 GB, free: 5.148 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004442/0.4121, allocations: 247.7 kB / 1.339 GB, free: 4.906 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4121, allocations: 0.8125 kB / 1.339 GB, free: 4.906 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.4122, allocations: 119.9 kB / 1.339 GB, free: 4.789 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.4125, allocations: 29.89 kB / 1.339 GB, free: 4.762 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/0.4164, allocations: 3.25 MB / 1.342 GB, free: 1.316 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.4168, allocations: 0.7713 MB / 1.343 GB, free: 0.5195 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001266/0.417, allocations: 50.11 kB / 1.343 GB, free: 484 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.4171, allocations: 87.39 kB / 1.343 GB, free: 396 kB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.4171, allocations: 4 kB / 1.343 GB, free: 392 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.4475, allocations: 7.85 MB / 1.351 GB, free: 8.785 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.97, allocations: 3.938 kB / 1.351 GB, free: 8.781 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.987466330989264] Failed to read output from testmodel.py, exit status != 0: 12.138066918007098 12.161321661 11.75749963 Calling exit ...