Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 103.3 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 192.4 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.935/1.935, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 67.91 kB / 0.6729 GB, free: 5.773 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2351, allocations: 114.6 MB / 0.7848 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002537/0.2377, allocations: 0.8649 MB / 0.7857 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002584/0.2403, allocations: 1.441 MB / 0.7871 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.2405, allocations: 7.938 kB / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005885/0.2411, allocations: 203.4 kB / 0.7873 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.2414, allocations: 111.6 kB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.2425, allocations: 353.8 kB / 0.7877 GB, free: 120 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.4442/0.6867, allocations: 0.875 MB / 0.7886 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003017/0.6871, allocations: 101.5 kB / 0.7887 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007235/0.6878, allocations: 343.7 kB / 0.789 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005545/0.6884, allocations: 262.4 kB / 0.7892 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002671/0.6887, allocations: 44.62 kB / 0.7893 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004359/0.6891, allocations: 108.1 kB / 0.7894 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005284/0.6897, allocations: 348.9 kB / 0.7897 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000599/0.6903, allocations: 275.6 kB / 0.79 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.6915, allocations: 0.9046 MB / 0.7909 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6915, allocations: 0 / 0.7909 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6915, allocations: 1.625 kB / 0.7909 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.452e-05/0.6916, allocations: 0 / 0.7909 GB, free: 46.55 MB / 0.6544 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.001678/0.6933, allocations: 0.8904 MB / 0.7917 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.6933, allocations: 10.38 kB / 0.7917 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.6935, allocations: 52.84 kB / 0.7918 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008147/0.6943, allocations: 0.5427 MB / 0.7923 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.6944, allocations: 20.11 kB / 0.7923 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.6945, allocations: 40.62 kB / 0.7924 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004282/0.6949, allocations: 310.3 kB / 0.7927 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.695, allocations: 4.281 kB / 0.7927 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.695, allocations: 7.25 kB / 0.7927 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.695, allocations: 6.625 kB / 0.7927 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.6953, allocations: 225 kB / 0.7929 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.6972, allocations: 1.175 MB / 0.7941 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005312/0.6977, allocations: 463.9 kB / 0.7945 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.6979, allocations: 177.2 kB / 0.7947 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.6979, allocations: 8.688 kB / 0.7947 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004319/0.6984, allocations: 329.4 kB / 0.795 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=24): time 2.695e-06/0.6984, allocations: 4.219 kB / 0.795 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.0009962/0.6994, allocations: 0.6261 MB / 0.7956 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.6995, allocations: 124.5 kB / 0.7957 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006558/0.7001, allocations: 0.598 MB / 0.7963 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.703e-05/0.7002, allocations: 46.61 kB / 0.7963 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.7004, allocations: 208.3 kB / 0.7965 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.118e-05/0.7005, allocations: 57.16 kB / 0.7966 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/0.7008, allocations: 183.5 kB / 0.7968 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.7009, allocations: 361.2 kB / 0.7971 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.7011, allocations: 125.1 kB / 0.7972 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007829/0.7019, allocations: 0.7149 MB / 0.7979 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003331/0.7022, allocations: 296.5 kB / 0.7982 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.7022, allocations: 2.906 kB / 0.7982 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006635/0.7029, allocations: 420.3 kB / 0.7986 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.7029, allocations: 6.094 kB / 0.7986 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.7029, allocations: 7.922 kB / 0.7986 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.703, allocations: 2.5 kB / 0.7986 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.7031, allocations: 42.5 kB / 0.7987 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.7032, allocations: 4.656 kB / 0.7987 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.7044, allocations: 131.5 kB / 0.7988 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.7044, allocations: 15.69 kB / 0.7988 GB, free: 43.68 MB / 0.6544 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.0003185/0.7048, allocations: 263.2 kB / 0.7991 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.7049, allocations: 42.16 kB / 0.7991 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.93e-05/0.7049, allocations: 51.39 kB / 0.7992 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.705, allocations: 7.406 kB / 0.7992 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.705, allocations: 3.516 kB / 0.7992 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.705, allocations: 2.438 kB / 0.7992 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/0.7055, allocations: 410.3 kB / 0.7996 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.7055, allocations: 0 / 0.7996 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.596e-05/0.7055, allocations: 9.766 kB / 0.7996 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.7055, allocations: 2.688 kB / 0.7996 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.7055, allocations: 9.656 kB / 0.7996 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.7055, allocations: 5.938 kB / 0.7996 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.7056, allocations: 3.531 kB / 0.7996 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007787/0.7063, allocations: 0.5167 MB / 0.8001 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.7065, allocations: 123.7 kB / 0.8002 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.177e-05/0.7065, allocations: 6.828 kB / 0.8002 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.7067, allocations: 22.5 kB / 0.8003 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.11e-05/0.7068, allocations: 26.05 kB / 0.8003 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.923e-05/0.7069, allocations: 16.7 kB / 0.8003 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005945/0.7075, allocations: 433.8 kB / 0.8007 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7075, allocations: 1.531 kB / 0.8007 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005259/0.708, allocations: 111.6 kB / 0.8008 GB, free: 42.64 MB / 0.6544 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.0002539/0.7083, allocations: 149.4 kB / 0.801 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006545/0.7089, allocations: 354.6 kB / 0.8013 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7089, allocations: 0 / 0.8013 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.7092, allocations: 195.3 kB / 0.8015 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.7095, allocations: 38.92 kB / 0.8015 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.7108, allocations: 0.8239 MB / 0.8023 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.7112, allocations: 0.8385 MB / 0.8031 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003096/0.7116, allocations: 97.75 kB / 0.8032 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.7117, allocations: 33.23 kB / 0.8033 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.7117, allocations: 0 / 0.8033 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.02177/0.7335, allocations: 7.938 MB / 0.811 GB, free: 40.93 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)