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.0009366/0.0009366, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001106/0.001107, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.701/1.701, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005664/0.0005664, allocations: 14.91 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2338, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.0009703/0.2348, allocations: 0.5558 MB / 0.7879 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001913/0.2368, allocations: 1.407 MB / 0.7892 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.812e-05/0.2369, allocations: 7.938 kB / 0.7892 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005012/0.2374, allocations: 187.5 kB / 0.7894 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.2375, allocations: 107.7 kB / 0.7895 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009167/0.2384, allocations: 314.5 kB / 0.7898 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008551/0.2393, allocations: 0.6629 MB / 0.7905 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.2395, allocations: 84.38 kB / 0.7905 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003174/0.2398, allocations: 299.4 kB / 0.7908 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003105/0.2401, allocations: 227.4 kB / 0.791 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.973e-05/0.2402, allocations: 12 kB / 0.7911 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.2404, allocations: 79.88 kB / 0.7911 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003858/0.2408, allocations: 307.3 kB / 0.7914 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.241, allocations: 81.52 kB / 0.7915 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006913/0.2417, allocations: 0.7018 MB / 0.7922 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2417, allocations: 0 / 0.7922 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2417, allocations: 0 / 0.7922 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.2417, allocations: 0 / 0.7922 GB, free: 6.91 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.001095/0.2428, allocations: 0.7126 MB / 0.7929 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2429, allocations: 12.02 kB / 0.7929 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.243, allocations: 55.44 kB / 0.793 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007186/0.2437, allocations: 0.5206 MB / 0.7935 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.2438, allocations: 20.23 kB / 0.7935 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.153e-05/0.2439, allocations: 39.98 kB / 0.7935 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.2443, allocations: 309.6 kB / 0.7938 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2443, allocations: 4 kB / 0.7938 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.2444, allocations: 4 kB / 0.7938 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.2444, allocations: 4 kB / 0.7938 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003702/0.2448, allocations: 219.8 kB / 0.794 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.2465, allocations: 1.187 MB / 0.7952 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006308/0.2472, allocations: 467.7 kB / 0.7956 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.2474, allocations: 182.6 kB / 0.7958 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.2474, allocations: 4 kB / 0.7958 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004243/0.2479, allocations: 329.5 kB / 0.7961 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.583e-06/0.2479, allocations: 0 / 0.7961 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.0009096/0.2488, allocations: 0.6225 MB / 0.7967 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.2489, allocations: 114.8 kB / 0.7968 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006366/0.2495, allocations: 0.5955 MB / 0.7974 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.097e-05/0.2496, allocations: 45.64 kB / 0.7975 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.2498, allocations: 234.7 kB / 0.7977 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.2499, allocations: 55.34 kB / 0.7978 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/0.2499, allocations: 8 kB / 0.7978 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.2501, allocations: 358.8 kB / 0.7981 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.2502, allocations: 123.8 kB / 0.7982 GB, free: 460 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007357/0.251, allocations: 0.7104 MB / 0.7989 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.2512, allocations: 179.8 kB / 0.7991 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2512, allocations: 4 kB / 0.7991 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005623/0.2518, allocations: 412.7 kB / 0.7995 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.2518, allocations: 11.19 kB / 0.7995 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.2518, allocations: 8 kB / 0.7995 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2518, allocations: 4 kB / 0.7995 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.252, allocations: 39.91 kB / 0.7995 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.252, allocations: 7.938 kB / 0.7995 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.2531, allocations: 137.6 kB / 0.7997 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.2531, allocations: 16 kB / 0.7997 GB, free: 14.77 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.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002964/0.2534, allocations: 266.2 kB / 0.7999 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.2535, allocations: 43.44 kB / 0.8 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.993e-05/0.2536, allocations: 51.36 kB / 0.8 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2536, allocations: 8 kB / 0.8 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.2536, allocations: 4 kB / 0.8001 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2536, allocations: 0 / 0.8001 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.254, allocations: 401.3 kB / 0.8004 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.254, allocations: 3.953 kB / 0.8004 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.254, allocations: 11.94 kB / 0.8004 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.254, allocations: 4 kB / 0.8005 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.2541, allocations: 7.984 kB / 0.8005 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.2541, allocations: 0 / 0.8005 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2541, allocations: 0 / 0.8005 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006171/0.2547, allocations: 0.516 MB / 0.801 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.2548, allocations: 144.4 kB / 0.8011 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.2549, allocations: 11.98 kB / 0.8011 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.255, allocations: 15.98 kB / 0.8011 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/0.2551, allocations: 27.97 kB / 0.8012 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-05/0.2551, allocations: 19.98 kB / 0.8012 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004564/0.2556, allocations: 431 kB / 0.8016 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2556, allocations: 0 / 0.8016 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004261/0.256, allocations: 115.8 kB / 0.8017 GB, free: 12.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002104/0.2563, allocations: 145.3 kB / 0.8018 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000641/0.2569, allocations: 355.9 kB / 0.8022 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2569, allocations: 0 / 0.8022 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.2572, allocations: 187.9 kB / 0.8024 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.2575, allocations: 33.95 kB / 0.8024 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.2588, allocations: 0.8866 MB / 0.8033 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.2592, allocations: 0.8347 MB / 0.8041 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000246/0.2594, allocations: 98.86 kB / 0.8042 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.583e-05/0.2595, allocations: 35.44 kB / 0.8042 GB, free: 10 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.2595, allocations: 4 kB / 0.8042 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of Templates: time 0.01263/0.2722, allocations: 7.345 MB / 0.8114 GB, free: 2.727 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: