Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.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.001941/0.001941, allocations: 117.3 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.002047/0.002047, 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.543/1.543, 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.923/2.923, allocations: 476.7 MB / 0.7679 GB, free: 9.332 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.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_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.002062/0.002062, allocations: 69.94 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9801/0.9822, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002386/0.9846, allocations: 0.8721 MB / 1.28 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002433/0.987, allocations: 1.496 MB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.9871, allocations: 2.375 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006053/0.9877, allocations: 196.8 kB / 1.281 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.9879, allocations: 111.1 kB / 1.282 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.9892, allocations: 359.5 kB / 1.282 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001219/0.9904, allocations: 0.8801 MB / 1.283 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.9906, allocations: 74.64 kB / 1.283 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004373/0.9911, allocations: 345.6 kB / 1.283 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004831/0.9916, allocations: 286.1 kB / 1.283 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.9917, allocations: 46 kB / 1.283 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000297/0.992, allocations: 108.3 kB / 1.284 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005172/0.9925, allocations: 359.7 kB / 1.284 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004145/0.9929, allocations: 277.6 kB / 1.284 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.9941, allocations: 0.9178 MB / 1.285 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.9941, allocations: 0 / 1.285 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9941, allocations: 0 / 1.285 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.9942, allocations: 0 / 1.285 GB, free: 8.684 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001819/0.996, allocations: 0.9039 MB / 1.286 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.996, allocations: 9.281 kB / 1.286 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.491e-05/0.996, allocations: 11.92 kB / 1.286 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.575e-05/0.9961, allocations: 42.34 kB / 1.286 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.9963, allocations: 55.84 kB / 1.286 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008912/0.9972, allocations: 0.5465 MB / 1.287 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.9972, allocations: 24.59 kB / 1.287 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.9973, allocations: 38.72 kB / 1.287 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005302/0.9979, allocations: 307 kB / 1.287 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.9979, allocations: 1.156 kB / 1.287 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.913e-05/0.9979, allocations: 13.86 kB / 1.287 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.9979, allocations: 3.281 kB / 1.287 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/0.9983, allocations: 216.9 kB / 1.287 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/1, allocations: 1.177 MB / 1.288 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/1.001, allocations: 468.7 kB / 1.289 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/1.001, allocations: 174.6 kB / 1.289 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/1.001, allocations: 1.469 kB / 1.289 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005112/1.002, allocations: 341.3 kB / 1.289 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 1.833e-06/1.002, allocations: 0 / 1.289 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.001169/1.003, allocations: 0.631 MB / 1.29 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.813e-05/1.003, allocations: 112.6 kB / 1.29 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008105/1.004, allocations: 0.5996 MB / 1.291 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/1.004, allocations: 45.98 kB / 1.291 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/1.004, allocations: 220.6 kB / 1.291 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.516e-05/1.004, allocations: 56.98 kB / 1.291 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003019/1.005, allocations: 179.8 kB / 1.291 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001851/1.005, allocations: 360.1 kB / 1.291 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/1.005, allocations: 127.1 kB / 1.292 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009708/1.006, allocations: 0.7193 MB / 1.292 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/1.006, allocations: 298.6 kB / 1.293 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/1.006, allocations: 1.25 kB / 1.293 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007427/1.007, allocations: 431.8 kB / 1.293 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.007, allocations: 8.203 kB / 1.293 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.007, allocations: 2.594 kB / 1.293 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/1.007, allocations: 9.281 kB / 1.293 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/1.007, allocations: 35.73 kB / 1.293 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/1.007, allocations: 9.188 kB / 1.293 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/1.009, allocations: 130.2 kB / 1.293 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/1.009, allocations: 11.92 kB / 1.293 GB, free: 4.031 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0003768/1.009, allocations: 253.6 kB / 1.293 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/1.009, allocations: 43.98 kB / 1.293 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.936e-05/1.009, allocations: 54.19 kB / 1.293 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/1.009, allocations: 8.641 kB / 1.293 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.009, allocations: 1.188 kB / 1.293 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.009, allocations: 3.125 kB / 1.293 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00051/1.01, allocations: 414.8 kB / 1.294 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.01, allocations: 0.6094 kB / 1.294 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/1.01, allocations: 10.09 kB / 1.294 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/1.01, allocations: 1 kB / 1.294 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/1.01, allocations: 14.73 kB / 1.294 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/1.01, allocations: 1.688 kB / 1.294 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.01, allocations: 1.125 kB / 1.294 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007773/1.011, allocations: 0.5218 MB / 1.294 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/1.011, allocations: 122.5 kB / 1.295 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.673e-05/1.011, allocations: 15.52 kB / 1.295 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/1.011, allocations: 14.36 kB / 1.295 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/1.011, allocations: 29.77 kB / 1.295 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/1.011, allocations: 21.5 kB / 1.295 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005868/1.012, allocations: 433.1 kB / 1.295 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.012, allocations: 0 / 1.295 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000585/1.012, allocations: 108.8 kB / 1.295 GB, free: 2.953 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: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001239/1.014, allocations: 1.107 MB / 1.296 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006688/1.014, allocations: 342.6 kB / 1.297 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.014, allocations: 4 kB / 1.297 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002616/1.015, allocations: 159 kB / 1.297 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/1.015, allocations: 51.27 kB / 1.297 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006186/1.021, allocations: 4.409 MB / 1.301 GB, free: 15.63 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/1.022, allocations: 0.8383 MB / 1.302 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003452/1.022, allocations: 91.77 kB / 1.302 GB, free: 14.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/1.022, allocations: 132.9 kB / 1.302 GB, free: 14.81 MB / 1.014 GB Notification: Performance of SimCode: time 6.42e-07/1.022, allocations: 0.8438 kB / 1.302 GB, free: 14.81 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/1.058, allocations: 11.64 MB / 1.313 GB, free: 11.81 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.09/10.15, allocations: 4.547 kB / 1.313 GB, free: 11.81 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.654299500980414] Failed to read output from testmodel.py, exit status != 0: 10.286475634027738 10.314510622 9.315395343 Calling exit ...