Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.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.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 105.3 kB / 16.36 MB, free: 6.355 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.001164/0.001164, allocations: 194.2 kB / 17.3 MB, free: 5.891 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.455/1.455, 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.822/1.822, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.001489/0.00149, allocations: 74.23 kB / 0.6729 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2659, allocations: 114.6 MB / 0.7848 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.002597/0.2685, allocations: 0.8605 MB / 0.7857 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002264/0.2708, allocations: 1.456 MB / 0.7871 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.2709, allocations: 4 kB / 0.7871 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.2715, allocations: 195.4 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.2717, allocations: 111.6 kB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.2727, allocations: 358.2 kB / 0.7877 GB, free: 140 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3826/0.6553, allocations: 0.8788 MB / 0.7886 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.6556, allocations: 93.19 kB / 0.7887 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003634/0.656, allocations: 341 kB / 0.789 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.6563, allocations: 264.6 kB / 0.7892 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.983e-05/0.6564, allocations: 44.62 kB / 0.7893 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002595/0.6567, allocations: 107.7 kB / 0.7894 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003676/0.6571, allocations: 345.9 kB / 0.7897 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002719/0.6573, allocations: 275.1 kB / 0.79 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007189/0.6581, allocations: 0.9112 MB / 0.7909 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6581, allocations: 6.625 kB / 0.7909 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.675e-06/0.6581, allocations: 0 / 0.7909 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.6581, allocations: 0 / 0.7909 GB, free: 46.47 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.001347/0.6595, allocations: 0.8863 MB / 0.7917 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.6595, allocations: 10.22 kB / 0.7918 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.6597, allocations: 51.38 kB / 0.7918 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006318/0.6603, allocations: 0.5457 MB / 0.7923 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.6603, allocations: 21.52 kB / 0.7924 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.559e-05/0.6604, allocations: 38.36 kB / 0.7924 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.6609, allocations: 311.4 kB / 0.7927 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.6609, allocations: 192 / 0.7927 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.6609, allocations: 11.06 kB / 0.7927 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.6609, allocations: 0 / 0.7927 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.6612, allocations: 229 kB / 0.7929 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.6628, allocations: 1.18 MB / 0.7941 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005228/0.6634, allocations: 462.5 kB / 0.7945 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.6636, allocations: 177.8 kB / 0.7947 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.6636, allocations: 10.59 kB / 0.7947 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003962/0.664, allocations: 325.7 kB / 0.795 GB, free: 45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=24): time 1.503e-06/0.664, allocations: 3.281 kB / 0.795 GB, free: 45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24): time 0.0009371/0.665, allocations: 0.6248 MB / 0.7956 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.665, allocations: 121.8 kB / 0.7957 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005822/0.6656, allocations: 0.5951 MB / 0.7963 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.071e-05/0.6657, allocations: 52.22 kB / 0.7964 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.6659, allocations: 210.2 kB / 0.7966 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.978e-05/0.6659, allocations: 54.47 kB / 0.7966 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/0.6662, allocations: 184.7 kB / 0.7968 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.459e-05/0.6663, allocations: 361 kB / 0.7971 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.6665, allocations: 121.8 kB / 0.7973 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006859/0.6672, allocations: 0.7163 MB / 0.7979 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.6675, allocations: 301 kB / 0.7982 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.6675, allocations: 1.781 kB / 0.7982 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006197/0.6681, allocations: 424 kB / 0.7986 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.6681, allocations: 5.812 kB / 0.7986 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.6682, allocations: 3.094 kB / 0.7987 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.6682, allocations: 5.219 kB / 0.7987 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.6683, allocations: 37.06 kB / 0.7987 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.6684, allocations: 8.125 kB / 0.7987 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.6697, allocations: 132.3 kB / 0.7988 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.6697, allocations: 18.42 kB / 0.7988 GB, free: 43.6 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.0003505/0.6701, allocations: 257.9 kB / 0.7991 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.415e-05/0.6702, allocations: 43.53 kB / 0.7991 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.852e-05/0.6703, allocations: 53.27 kB / 0.7992 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.6703, allocations: 12.28 kB / 0.7992 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.6703, allocations: 0.9375 kB / 0.7992 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.6703, allocations: 3.781 kB / 0.7992 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.6707, allocations: 402.8 kB / 0.7996 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6707, allocations: 0 / 0.7996 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.37e-05/0.6708, allocations: 8.172 kB / 0.7996 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.6708, allocations: 2.328 kB / 0.7996 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.6708, allocations: 11.05 kB / 0.7996 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.6708, allocations: 6.406 kB / 0.7996 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.6708, allocations: 5.688 kB / 0.7996 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007021/0.6715, allocations: 0.5136 MB / 0.8001 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.212e-05/0.6716, allocations: 127.1 kB / 0.8002 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.6717, allocations: 3.047 kB / 0.8002 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.6719, allocations: 21.27 kB / 0.8003 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.036e-05/0.672, allocations: 35 kB / 0.8003 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/0.672, allocations: 15.36 kB / 0.8003 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005509/0.6726, allocations: 434.3 kB / 0.8007 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6726, allocations: 0 / 0.8007 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005856/0.6732, allocations: 109 kB / 0.8008 GB, free: 42.62 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.0002632/0.6734, allocations: 157.2 kB / 0.801 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006732/0.6741, allocations: 357.6 kB / 0.8013 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6741, allocations: 0 / 0.8013 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.6745, allocations: 222.2 kB / 0.8015 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.6748, allocations: 42.95 kB / 0.8016 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.6763, allocations: 0.8724 MB / 0.8024 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.6766, allocations: 0.8325 MB / 0.8032 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.6767, allocations: 34.92 kB / 0.8033 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of SimCode: time 6.11e-07/0.6767, allocations: 2.406 kB / 0.8033 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of Templates: time 0.01484/0.6916, allocations: 6.978 MB / 0.8101 GB, free: 40.7 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)