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.0009076/0.0009076, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01012/0.01012, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.756/1.756, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.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.948/1.948, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005309/0.0005308, allocations: 22.28 kB / 0.6743 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2931, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001218/0.2944, allocations: 0.579 MB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002258/0.2967, allocations: 1.446 MB / 0.7899 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.582e-05/0.2968, allocations: 3.938 kB / 0.7899 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000537/0.2973, allocations: 191.5 kB / 0.7901 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.2975, allocations: 107.7 kB / 0.7902 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.2985, allocations: 335.2 kB / 0.7905 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000885/0.2994, allocations: 0.7683 MB / 0.7912 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.2996, allocations: 92.25 kB / 0.7913 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000327/0.3, allocations: 295.3 kB / 0.7916 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003551/0.3003, allocations: 235.4 kB / 0.7918 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.838e-05/0.3004, allocations: 16 kB / 0.7918 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.3007, allocations: 79.94 kB / 0.7919 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00037/0.3011, allocations: 307.2 kB / 0.7922 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003028/0.3014, allocations: 260.5 kB / 0.7925 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008308/0.3022, allocations: 0.861 MB / 0.7933 GB, free: 6 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3022, allocations: 0 / 0.7933 GB, free: 6 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3022, allocations: 0 / 0.7933 GB, free: 6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.3022, allocations: 0 / 0.7933 GB, free: 6 MB / 0.6075 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.001406/0.3037, allocations: 0.6972 MB / 0.794 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.3037, allocations: 12.03 kB / 0.794 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.3039, allocations: 64.3 kB / 0.7941 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007924/0.3047, allocations: 0.5332 MB / 0.7946 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.113e-05/0.3048, allocations: 20.61 kB / 0.7946 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.3049, allocations: 40.31 kB / 0.7946 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/0.3054, allocations: 314.2 kB / 0.7949 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3055, allocations: 192 / 0.7949 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.3055, allocations: 7.938 kB / 0.7949 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.3055, allocations: 8 kB / 0.7949 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.3058, allocations: 223.8 kB / 0.7952 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.3079, allocations: 1.184 MB / 0.7963 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006032/0.3085, allocations: 459.8 kB / 0.7968 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.3088, allocations: 182.6 kB / 0.7969 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.3088, allocations: 8 kB / 0.7969 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004975/0.3093, allocations: 325.5 kB / 0.7972 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 5.901e-06/0.3093, allocations: 11.94 kB / 0.7973 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.001082/0.3104, allocations: 0.6259 MB / 0.7979 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.3105, allocations: 114.7 kB / 0.798 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007679/0.3113, allocations: 0.5993 MB / 0.7986 GB, free: 348 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.3114, allocations: 45.7 kB / 0.7986 GB, free: 296 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.3117, allocations: 222.4 kB / 0.7988 GB, free: 68 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.855e-05/0.3118, allocations: 55.34 kB / 0.7989 GB, free: 12 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.3119, allocations: 45.69 kB / 0.7989 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002118/0.3121, allocations: 362.8 kB / 0.7993 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.3124, allocations: 127.8 kB / 0.7994 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.3135, allocations: 0.7103 MB / 0.8001 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/0.3139, allocations: 292.6 kB / 0.8004 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.3139, allocations: 4 kB / 0.8004 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007938/0.3147, allocations: 424.7 kB / 0.8008 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.3148, allocations: 4 kB / 0.8008 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.3148, allocations: 8.062 kB / 0.8008 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.417e-05/0.3148, allocations: 7.938 kB / 0.8008 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.3151, allocations: 35.92 kB / 0.8008 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.3151, allocations: 7.938 kB / 0.8008 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.3165, allocations: 146.3 kB / 0.801 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.3166, allocations: 19.98 kB / 0.801 GB, free: 13.62 MB / 0.6231 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.00054/0.3171, allocations: 257.7 kB / 0.8012 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.453e-05/0.3172, allocations: 39.52 kB / 0.8013 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.3173, allocations: 51.31 kB / 0.8013 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.3174, allocations: 8.734 kB / 0.8013 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.3174, allocations: 0 / 0.8013 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.3174, allocations: 3.984 kB / 0.8013 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.3179, allocations: 405.2 kB / 0.8017 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.3179, allocations: 4 kB / 0.8017 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.639e-05/0.3179, allocations: 15.86 kB / 0.8017 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.318, allocations: 4 kB / 0.8017 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.318, allocations: 11.94 kB / 0.8017 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.318, allocations: 3.938 kB / 0.8018 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.318, allocations: 4 kB / 0.8018 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008091/0.3188, allocations: 0.5082 MB / 0.8023 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.319, allocations: 144.5 kB / 0.8024 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/0.3191, allocations: 15.94 kB / 0.8024 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.3193, allocations: 11.98 kB / 0.8024 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.3194, allocations: 35.95 kB / 0.8025 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.3194, allocations: 8 kB / 0.8025 GB, free: 12 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005838/0.32, allocations: 435.1 kB / 0.8029 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.32, allocations: 0 / 0.8029 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006226/0.3206, allocations: 115.9 kB / 0.803 GB, free: 11.46 MB / 0.6231 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.0004072/0.3211, allocations: 144.1 kB / 0.8031 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007135/0.3218, allocations: 347.6 kB / 0.8035 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3218, allocations: 0 / 0.8035 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.3221, allocations: 191.8 kB / 0.8036 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.3225, allocations: 42.7 kB / 0.8037 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.324, allocations: 0.9251 MB / 0.8046 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004979/0.3245, allocations: 0.8386 MB / 0.8054 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002814/0.3248, allocations: 99.05 kB / 0.8055 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.297e-05/0.3249, allocations: 39.42 kB / 0.8055 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of SimCode: time 6.81e-07/0.3249, allocations: 0 / 0.8055 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of Templates: time 0.01556/0.3405, allocations: 7.584 MB / 0.8129 GB, free: 1.297 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) Environment - environmentSimulation: