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.001759/0.001759, allocations: 115.4 kB / 17.16 MB, free: 5.895 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.002281/0.002281, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.598/1.598, 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/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.831/2.831, allocations: 476.7 MB / 0.7678 GB, free: 9.352 MB / 0.6075 GB " [Timeout remaining time 176] 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.002059/0.002059, allocations: 71.88 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.048, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002018/1.05, allocations: 0.6876 MB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00204/1.052, allocations: 1.379 MB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.036e-05/1.052, allocations: 1.125 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005223/1.052, allocations: 190.9 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000158/1.053, allocations: 104.9 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008635/1.053, allocations: 233.6 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008883/1.054, allocations: 0.4938 MB / 1.282 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.445e-05/1.054, allocations: 4.5 kB / 1.282 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/1.055, allocations: 204.2 kB / 1.282 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004324/1.055, allocations: 218 kB / 1.282 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.806e-05/1.055, allocations: 20.88 kB / 1.282 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/1.056, allocations: 95.25 kB / 1.282 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004662/1.056, allocations: 272.7 kB / 1.283 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002336/1.056, allocations: 149.7 kB / 1.283 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009012/1.057, allocations: 492 kB / 1.283 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.057, allocations: 2.016 kB / 1.283 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.545e-06/1.057, allocations: 0 / 1.283 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.147e-06/1.057, allocations: 0 / 1.283 GB, free: 9.523 MB / 0.9981 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.001343/1.058, allocations: 0.6396 MB / 1.284 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/1.059, allocations: 11.05 kB / 1.284 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.572e-05/1.059, allocations: 192 / 1.284 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/1.059, allocations: 42.77 kB / 1.284 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/1.059, allocations: 34.81 kB / 1.284 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000637/1.059, allocations: 381.8 kB / 1.284 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/1.059, allocations: 13.47 kB / 1.284 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.841e-05/1.059, allocations: 20.97 kB / 1.284 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/1.06, allocations: 190.6 kB / 1.285 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.06, allocations: 3.938 kB / 1.285 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/1.06, allocations: 1.844 kB / 1.285 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.06, allocations: 5.844 kB / 1.285 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/1.06, allocations: 108.3 kB / 1.285 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/1.061, allocations: 387.1 kB / 1.285 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/1.061, allocations: 315.6 kB / 1.285 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/1.061, allocations: 125.6 kB / 1.286 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/1.061, allocations: 5.359 kB / 1.286 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005015/1.062, allocations: 282.4 kB / 1.286 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/1.062, allocations: 1.656 kB / 1.286 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0009431/1.063, allocations: 0.4936 MB / 1.286 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/1.063, allocations: 110.4 kB / 1.286 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005209/1.063, allocations: 399.8 kB / 1.287 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-05/1.063, allocations: 45.31 kB / 1.287 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/1.064, allocations: 150.8 kB / 1.287 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.404e-05/1.064, allocations: 45.67 kB / 1.287 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/1.064, allocations: 115.8 kB / 1.287 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002743/1.064, allocations: 341.5 kB / 1.287 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/1.064, allocations: 83.69 kB / 1.288 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006305/1.065, allocations: 469.6 kB / 1.288 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/1.065, allocations: 255.7 kB / 1.288 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.065, allocations: 1.312 kB / 1.288 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005585/1.066, allocations: 336.6 kB / 1.289 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.066, allocations: 10.62 kB / 1.289 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.066, allocations: 3.812 kB / 1.289 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/1.066, allocations: 5 kB / 1.289 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/1.066, allocations: 32.88 kB / 1.289 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/1.066, allocations: 10.17 kB / 1.289 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007989/1.067, allocations: 71.52 kB / 1.289 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/1.067, allocations: 11.45 kB / 1.289 GB, free: 6.195 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.0002879/1.067, allocations: 194.8 kB / 1.289 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/1.067, allocations: 33.98 kB / 1.289 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/1.067, allocations: 32.66 kB / 1.289 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/1.067, allocations: 2.5 kB / 1.289 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.067, allocations: 5.734 kB / 1.289 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.067, allocations: 2.391 kB / 1.289 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/1.068, allocations: 282.8 kB / 1.289 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.068, allocations: 3.984 kB / 1.289 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.953e-05/1.068, allocations: 9.688 kB / 1.289 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.068, allocations: 1.375 kB / 1.289 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/1.068, allocations: 13.39 kB / 1.289 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.068, allocations: 1.844 kB / 1.289 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.068, allocations: 1.797 kB / 1.289 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006532/1.068, allocations: 436.8 kB / 1.29 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.823e-05/1.069, allocations: 103.8 kB / 1.29 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/1.069, allocations: 4.234 kB / 1.29 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.922e-05/1.069, allocations: 5.672 kB / 1.29 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/1.069, allocations: 16.34 kB / 1.29 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/1.069, allocations: 12.89 kB / 1.29 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003907/1.069, allocations: 300.1 kB / 1.29 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.069, allocations: 0 / 1.29 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004578/1.07, allocations: 77.48 kB / 1.29 GB, free: 5.328 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.001202/1.071, allocations: 1.013 MB / 1.291 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005288/1.071, allocations: 249.7 kB / 1.291 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.071, allocations: 0 / 1.291 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001928/1.072, allocations: 118 kB / 1.292 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/1.072, allocations: 28.53 kB / 1.292 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004506/1.076, allocations: 3.268 MB / 1.295 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005688/1.077, allocations: 0.7639 MB / 1.295 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001613/1.077, allocations: 53.83 kB / 1.296 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/1.077, allocations: 84.86 kB / 1.296 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of SimCode: time 1.312e-06/1.077, allocations: 0 / 1.296 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03397/1.111, allocations: 7.665 MB / 1.303 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.879/9.99, allocations: 7.797 kB / 1.303 GB, free: 0.9805 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.42061706999084] Failed to read output from testmodel.py, exit status != 0: 10.12499265302904 10.153466478 9.091460667 Calling exit ...