Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.137/3.137, allocations: 287.3 MB / 302.3 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001585/0.001585, allocations: 181 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.213/2.213, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 93.72 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005074/0.0005075, allocations: 17.05 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2496, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001322/0.2509, allocations: 0.552 MB / 0.9788 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002852/0.2538, allocations: 1.384 MB / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.254, allocations: 3.938 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006697/0.2547, allocations: 175.6 kB / 0.9803 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.255, allocations: 115.8 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.2568, allocations: 313.3 kB / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001227/0.258, allocations: 499.2 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.2583, allocations: 84.42 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006731/0.259, allocations: 291.4 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007618/0.2598, allocations: 223.5 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002293/0.26, allocations: 16 kB / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004086/0.2604, allocations: 67.89 kB / 0.9818 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0006008/0.2611, allocations: 307.4 kB / 0.9821 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.2612, allocations: 85.52 kB / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008839/0.2621, allocations: 0.7017 MB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2622, allocations: 0 / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.286e-06/0.2622, allocations: 0 / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.2622, allocations: 3.938 kB / 0.9829 GB, free: 23.57 MB / 0.6198 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.001702/0.2639, allocations: 0.7146 MB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.264, allocations: 8.031 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/0.2642, allocations: 55.39 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.2654, allocations: 0.5167 MB / 0.9841 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.2654, allocations: 20.23 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.2656, allocations: 39.98 kB / 0.9842 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006654/0.2663, allocations: 313.6 kB / 0.9845 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.2664, allocations: 0 / 0.9845 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.932e-05/0.2664, allocations: 0 / 0.9845 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2664, allocations: 4 kB / 0.9845 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.2669, allocations: 227.8 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003144/0.2701, allocations: 1.184 MB / 0.9859 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009372/0.2711, allocations: 472 kB / 0.9863 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.2711, allocations: 3.984 kB / 0.9863 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006234/0.2717, allocations: 334.6 kB / 0.9867 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=24): time 3.206e-06/0.2718, allocations: 0 / 0.9867 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.001609/0.2734, allocations: 0.6218 MB / 0.9873 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/0.2735, allocations: 118.7 kB / 0.9874 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009825/0.2745, allocations: 0.5916 MB / 0.988 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002091/0.2747, allocations: 45.7 kB / 0.988 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.275, allocations: 226.9 kB / 0.9882 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.526e-05/0.2751, allocations: 52.09 kB / 0.9883 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.2751, allocations: 8 kB / 0.9883 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.2752, allocations: 366.7 kB / 0.9886 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.2755, allocations: 127.8 kB / 0.9887 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.2766, allocations: 0.7097 MB / 0.9894 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.2769, allocations: 175.8 kB / 0.9896 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.2769, allocations: 4 kB / 0.9896 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001016/0.278, allocations: 412.7 kB / 0.99 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.278, allocations: 13.81 kB / 0.99 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.278, allocations: 4.609 kB / 0.99 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.2781, allocations: 8 kB / 0.99 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.2783, allocations: 31.92 kB / 0.9901 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.2784, allocations: 15.92 kB / 0.9901 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002656/0.281, allocations: 135.5 kB / 0.9902 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/0.2811, allocations: 19.98 kB / 0.9902 GB, free: 15.62 MB / 0.6198 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.0005551/0.2817, allocations: 261.6 kB / 0.9905 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.2818, allocations: 43.44 kB / 0.9905 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.282, allocations: 51.36 kB / 0.9906 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.282, allocations: 4 kB / 0.9906 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.282, allocations: 4.25 kB / 0.9906 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.282, allocations: 4 kB / 0.9906 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.2825, allocations: 413.3 kB / 0.991 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2825, allocations: 0 / 0.991 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.2826, allocations: 7.938 kB / 0.991 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.2826, allocations: 4 kB / 0.991 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.2826, allocations: 11.92 kB / 0.991 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2826, allocations: 0 / 0.991 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2826, allocations: 0 / 0.991 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009583/0.2836, allocations: 0.5441 MB / 0.9915 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.2838, allocations: 140.5 kB / 0.9917 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.717e-05/0.2839, allocations: 8 kB / 0.9917 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/0.2842, allocations: 11.98 kB / 0.9917 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.2843, allocations: 35.95 kB / 0.9917 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.365e-05/0.2844, allocations: 16 kB / 0.9917 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006905/0.2851, allocations: 431 kB / 0.9921 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2851, allocations: 0 / 0.9921 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000802/0.2859, allocations: 119.8 kB / 0.9922 GB, free: 13.43 MB / 0.6198 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.000309/0.2863, allocations: 141.4 kB / 0.9924 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008395/0.2871, allocations: 351.7 kB / 0.9927 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2871, allocations: 0 / 0.9927 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.2875, allocations: 188 kB / 0.9929 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.2879, allocations: 33.95 kB / 0.9929 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.2896, allocations: 0.8881 MB / 0.9938 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.29, allocations: 0.8425 MB / 0.9946 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004634/0.2905, allocations: 98.84 kB / 0.9947 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.2907, allocations: 39.44 kB / 0.9947 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of SimCode: time 1.213e-06/0.2907, allocations: 4 kB / 0.9948 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.01921/0.3099, allocations: 7.346 MB / 1.002 GB, free: 3.484 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)