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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.454/1.454, allocations: 287.4 MB / 302.6 MB, free: 8.09 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.0009896/0.0009896, allocations: 182.5 kB / 371.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.21/1.21, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0007357/0.0007357, allocations: 92.42 kB / 0.7431 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004128, allocations: 16 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1621, allocations: 115.3 MB / 0.9788 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.0007369/0.1629, allocations: 0.552 MB / 0.9793 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.1643, allocations: 1.415 MB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.1644, allocations: 7.938 kB / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.1648, allocations: 187.6 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.1649, allocations: 111.6 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007534/0.1657, allocations: 310.8 kB / 0.9813 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005644/0.1662, allocations: 0.655 MB / 0.9819 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.1664, allocations: 92.25 kB / 0.982 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.1667, allocations: 299.4 kB / 0.9823 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.167, allocations: 231.3 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.1671, allocations: 16 kB / 0.9825 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.1673, allocations: 71.94 kB / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002841/0.1676, allocations: 303.3 kB / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.445e-05/0.1677, allocations: 89.52 kB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000424/0.1682, allocations: 0.6978 MB / 0.9836 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1682, allocations: 11.98 kB / 0.9836 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1682, allocations: 0 / 0.9836 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.1682, allocations: 0 / 0.9836 GB, free: 23.02 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.001011/0.1692, allocations: 0.6894 MB / 0.9843 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1693, allocations: 12.03 kB / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.724e-05/0.1693, allocations: 46.73 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.1695, allocations: 52.38 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000616/0.1701, allocations: 0.5409 MB / 0.985 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.1701, allocations: 28.61 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.715e-05/0.1702, allocations: 36.38 kB / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.1706, allocations: 311.1 kB / 0.9853 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1706, allocations: 3.938 kB / 0.9853 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.1706, allocations: 7.984 kB / 0.9853 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1706, allocations: 0 / 0.9853 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.1709, allocations: 219.8 kB / 0.9855 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.1723, allocations: 1.188 MB / 0.9867 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.1728, allocations: 467.6 kB / 0.9871 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.1729, allocations: 182.6 kB / 0.9873 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.173, allocations: 0 / 0.9873 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003154/0.1733, allocations: 345.1 kB / 0.9876 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=24): time 1.162e-06/0.1733, allocations: 0 / 0.9876 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.0007183/0.174, allocations: 0.6258 MB / 0.9883 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.1741, allocations: 114.8 kB / 0.9884 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004809/0.1746, allocations: 0.5993 MB / 0.989 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.276e-05/0.1746, allocations: 45.69 kB / 0.989 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.1748, allocations: 222.5 kB / 0.9892 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.1748, allocations: 47.36 kB / 0.9893 GB, free: 17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/0.1748, allocations: 12 kB / 0.9893 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.121e-05/0.1749, allocations: 354.8 kB / 0.9896 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.175, allocations: 131.8 kB / 0.9897 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.1756, allocations: 0.7136 MB / 0.9904 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.1758, allocations: 305.4 kB / 0.9907 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1758, allocations: 0 / 0.9907 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004599/0.1763, allocations: 424.9 kB / 0.9911 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1763, allocations: 8 kB / 0.9911 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1763, allocations: 7.938 kB / 0.9911 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1764, allocations: 4 kB / 0.9911 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1765, allocations: 32.17 kB / 0.9912 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.1765, allocations: 4 kB / 0.9912 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.1776, allocations: 155.6 kB / 0.9913 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.1777, allocations: 8 kB / 0.9913 GB, free: 14.65 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.0002/0.1779, allocations: 265.6 kB / 0.9916 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.1779, allocations: 51.45 kB / 0.9916 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.947e-05/0.178, allocations: 55.31 kB / 0.9917 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.178, allocations: 4 kB / 0.9917 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.178, allocations: 0 / 0.9917 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.178, allocations: 7.922 kB / 0.9917 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.1782, allocations: 401.3 kB / 0.9921 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1783, allocations: 0 / 0.9921 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.708e-05/0.1783, allocations: 4 kB / 0.9921 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1783, allocations: 4 kB / 0.9921 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.1783, allocations: 15.92 kB / 0.9921 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1783, allocations: 0 / 0.9921 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1783, allocations: 8 kB / 0.9921 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004627/0.1788, allocations: 0.5057 MB / 0.9926 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.333e-05/0.1789, allocations: 144.5 kB / 0.9927 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.1789, allocations: 7.938 kB / 0.9927 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.1791, allocations: 19.98 kB / 0.9928 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.1791, allocations: 35.95 kB / 0.9928 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.1792, allocations: 12 kB / 0.9928 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003412/0.1795, allocations: 431 kB / 0.9932 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1795, allocations: 0 / 0.9932 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003367/0.1799, allocations: 115.9 kB / 0.9933 GB, free: 12.49 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.0006721/0.1805, allocations: 1.1 MB / 0.9944 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003858/0.1809, allocations: 344.2 kB / 0.9947 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1809, allocations: 0.75 kB / 0.9947 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.1811, allocations: 199.7 kB / 0.9949 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.1814, allocations: 37.95 kB / 0.995 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/0.1845, allocations: 3.202 MB / 0.9981 GB, free: 7.488 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.1848, allocations: 0.8464 MB / 0.9989 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001903/0.185, allocations: 94.92 kB / 0.999 GB, free: 6.523 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.1851, allocations: 131.4 kB / 0.9991 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.1851, allocations: 0 / 0.9991 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6783/0.8634, allocations: 11.48 MB / 1.01 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.8636, allocations: 202.6 kB / 1.011 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.139/3.003, allocations: 0 / 1.011 GB, free: 10.95 MB / 0.6355 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)