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.001234/0.001234, allocations: 118.2 kB / 16.38 MB, free: 6.004 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.001088/0.001088, allocations: 188.7 kB / 17.31 MB, free: 5.617 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.472/1.472, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.866/1.866, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001535/0.001535, allocations: 67.91 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2688, allocations: 114.5 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002462/0.2713, allocations: 0.879 MB / 0.7857 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002494/0.2738, allocations: 1.452 MB / 0.7871 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.274, allocations: 3.938 kB / 0.7871 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000669/0.2746, allocations: 199.5 kB / 0.7873 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.2749, allocations: 111.6 kB / 0.7874 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.2761, allocations: 361.7 kB / 0.7877 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3701/0.6463, allocations: 0.8702 MB / 0.7886 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.6465, allocations: 94.3 kB / 0.7887 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004456/0.647, allocations: 350.9 kB / 0.789 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003648/0.6473, allocations: 257.1 kB / 0.7893 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.6475, allocations: 46.19 kB / 0.7893 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002983/0.6478, allocations: 112.1 kB / 0.7894 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004293/0.6482, allocations: 347.1 kB / 0.7897 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.6485, allocations: 273 kB / 0.79 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007768/0.6493, allocations: 0.909 MB / 0.7909 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6493, allocations: 0 / 0.7909 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.116e-06/0.6493, allocations: 3.469 kB / 0.7909 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.6493, allocations: 3.938 kB / 0.7909 GB, free: 46.54 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.001312/0.6507, allocations: 0.8804 MB / 0.7917 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.6507, allocations: 13.66 kB / 0.7918 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.6509, allocations: 51.31 kB / 0.7918 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000658/0.6516, allocations: 0.5477 MB / 0.7923 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.6516, allocations: 21.77 kB / 0.7924 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-05/0.6517, allocations: 35.66 kB / 0.7924 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/0.6521, allocations: 303.9 kB / 0.7927 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.6522, allocations: 2.281 kB / 0.7927 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.844e-05/0.6522, allocations: 19.44 kB / 0.7927 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.6522, allocations: 3.938 kB / 0.7927 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.6525, allocations: 220.1 kB / 0.7929 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.6541, allocations: 1.179 MB / 0.7941 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.6547, allocations: 465.6 kB / 0.7945 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.6549, allocations: 180.4 kB / 0.7947 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.6549, allocations: 6.938 kB / 0.7947 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003938/0.6553, allocations: 336 kB / 0.795 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=24): time 1.954e-06/0.6553, allocations: 0 / 0.795 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.0009775/0.6563, allocations: 0.6233 MB / 0.7956 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.6564, allocations: 123.2 kB / 0.7957 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005969/0.657, allocations: 0.5932 MB / 0.7963 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.6571, allocations: 45.84 kB / 0.7964 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.6573, allocations: 213.5 kB / 0.7966 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.6573, allocations: 54.59 kB / 0.7966 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.6576, allocations: 181.9 kB / 0.7968 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.6577, allocations: 362.6 kB / 0.7971 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.6578, allocations: 127.1 kB / 0.7973 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/0.6585, allocations: 0.7203 MB / 0.798 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.6589, allocations: 295.3 kB / 0.7982 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6589, allocations: 0 / 0.7982 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006653/0.6595, allocations: 422.4 kB / 0.7987 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.6596, allocations: 6.281 kB / 0.7987 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.6596, allocations: 8.203 kB / 0.7987 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.6596, allocations: 4.531 kB / 0.7987 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.6598, allocations: 39.33 kB / 0.7987 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.6598, allocations: 13.47 kB / 0.7987 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.6611, allocations: 118.1 kB / 0.7988 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.6612, allocations: 15.86 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.0003562/0.6615, allocations: 258.3 kB / 0.7991 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-05/0.6616, allocations: 44.31 kB / 0.7991 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.608e-05/0.6617, allocations: 50.23 kB / 0.7992 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.6617, allocations: 10.91 kB / 0.7992 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.6617, allocations: 5.734 kB / 0.7992 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.6617, allocations: 2.547 kB / 0.7992 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.6622, allocations: 402.4 kB / 0.7996 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.6622, allocations: 0 / 0.7996 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.6622, allocations: 12.31 kB / 0.7996 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.6622, allocations: 2.688 kB / 0.7996 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.6623, allocations: 5.906 kB / 0.7996 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.6623, allocations: 7.562 kB / 0.7996 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6623, allocations: 0 / 0.7996 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007114/0.663, allocations: 0.5213 MB / 0.8001 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-05/0.6631, allocations: 125.4 kB / 0.8002 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.6632, allocations: 3.781 kB / 0.8002 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.6633, allocations: 22.45 kB / 0.8003 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.038e-05/0.6634, allocations: 30.67 kB / 0.8003 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.6635, allocations: 12.91 kB / 0.8003 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006817/0.6642, allocations: 439.3 kB / 0.8007 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6642, allocations: 0 / 0.8007 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009885/0.6652, allocations: 113.7 kB / 0.8008 GB, free: 42.66 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.0003163/0.6655, allocations: 151 kB / 0.801 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009186/0.6664, allocations: 357.6 kB / 0.8013 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6665, allocations: 0 / 0.8013 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.6668, allocations: 225 kB / 0.8015 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.6672, allocations: 37.39 kB / 0.8016 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.6687, allocations: 0.8675 MB / 0.8024 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.669, allocations: 0.8367 MB / 0.8032 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.6692, allocations: 39.83 kB / 0.8033 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of SimCode: time 7.92e-07/0.6692, allocations: 1.406 kB / 0.8033 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of Templates: time 0.01849/0.6877, allocations: 6.956 MB / 0.8101 GB, free: 40.77 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)