Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001108, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 195.5 kB / 16.64 MB, free: 6.453 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.557/1.557, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.751/1.751, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.002725/0.002725, allocations: 71.72 kB / 0.6718 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2532, allocations: 114.6 MB / 0.7837 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002715/0.256, allocations: 0.6847 MB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.2579, allocations: 1.332 MB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.26e-05/0.258, allocations: 4 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005011/0.2585, allocations: 183.5 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.2587, allocations: 115.7 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007248/0.2594, allocations: 238.6 kB / 0.7862 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005618/0.26, allocations: 487.7 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.92e-05/0.2601, allocations: 23.95 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.2603, allocations: 199.7 kB / 0.7868 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003253/0.2606, allocations: 203.6 kB / 0.787 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.452e-05/0.2607, allocations: 20 kB / 0.787 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.2609, allocations: 87.86 kB / 0.7871 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000339/0.2612, allocations: 256.6 kB / 0.7874 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.2614, allocations: 151.3 kB / 0.7875 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004794/0.2619, allocations: 478.9 kB / 0.788 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2619, allocations: 0 / 0.788 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.469e-06/0.2619, allocations: 4 kB / 0.788 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.2619, allocations: 0 / 0.788 GB, free: 8.812 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001023/0.263, allocations: 0.6329 MB / 0.7886 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.263, allocations: 8.031 kB / 0.7886 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.234e-05/0.2631, allocations: 42.73 kB / 0.7886 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.2632, allocations: 32.66 kB / 0.7887 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000496/0.2637, allocations: 380.1 kB / 0.789 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.2637, allocations: 12.38 kB / 0.789 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/0.2638, allocations: 32.23 kB / 0.7891 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.2641, allocations: 188.7 kB / 0.7893 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2641, allocations: 7.938 kB / 0.7893 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.2641, allocations: 0 / 0.7893 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2641, allocations: 0 / 0.7893 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.2643, allocations: 119.9 kB / 0.7894 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.2647, allocations: 375.2 kB / 0.7897 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.2652, allocations: 319.6 kB / 0.79 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.2653, allocations: 122.6 kB / 0.7902 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.65e-06/0.2654, allocations: 0 / 0.7902 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000449/0.2658, allocations: 293.4 kB / 0.7904 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.193e-06/0.2658, allocations: 3.938 kB / 0.7904 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0007678/0.2666, allocations: 0.4894 MB / 0.7909 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.2667, allocations: 114.8 kB / 0.791 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003946/0.2671, allocations: 400.4 kB / 0.7914 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.549e-05/0.2671, allocations: 41.7 kB / 0.7915 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.2673, allocations: 156.8 kB / 0.7916 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.2673, allocations: 35.55 kB / 0.7916 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.2675, allocations: 117.6 kB / 0.7917 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2676, allocations: 342.8 kB / 0.7921 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.2677, allocations: 83.95 kB / 0.7922 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.2682, allocations: 475.4 kB / 0.7926 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.2685, allocations: 257.5 kB / 0.7929 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.2685, allocations: 4 kB / 0.7929 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004675/0.269, allocations: 333.2 kB / 0.7932 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.269, allocations: 10.44 kB / 0.7932 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.269, allocations: 7.938 kB / 0.7932 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.269, allocations: 8 kB / 0.7932 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.2692, allocations: 31.92 kB / 0.7932 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.2693, allocations: 4 kB / 0.7932 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000715/0.27, allocations: 68.61 kB / 0.7933 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.27, allocations: 15.98 kB / 0.7933 GB, free: 2.863 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002138/0.2702, allocations: 195.9 kB / 0.7935 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.2703, allocations: 35.55 kB / 0.7935 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.698e-05/0.2704, allocations: 33.89 kB / 0.7936 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2704, allocations: 4 kB / 0.7936 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.2704, allocations: 4.125 kB / 0.7936 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2704, allocations: 4 kB / 0.7936 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.2706, allocations: 285.5 kB / 0.7939 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2707, allocations: 0 / 0.7939 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.454e-05/0.2707, allocations: 4 kB / 0.7939 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.2707, allocations: 3.938 kB / 0.7939 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.2707, allocations: 11.98 kB / 0.7939 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2707, allocations: 4 kB / 0.7939 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2707, allocations: 0 / 0.7939 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005349/0.2713, allocations: 430.3 kB / 0.7943 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.2713, allocations: 104.8 kB / 0.7944 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.2714, allocations: 3.984 kB / 0.7944 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-05/0.2715, allocations: 4 kB / 0.7944 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.2715, allocations: 19.92 kB / 0.7944 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.2716, allocations: 15.98 kB / 0.7944 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002752/0.2718, allocations: 291 kB / 0.7947 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2719, allocations: 4 kB / 0.7947 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003765/0.2722, allocations: 79.94 kB / 0.7948 GB, free: 1.254 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0009506/0.2732, allocations: 1.007 MB / 0.7958 GB, free: 216 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000452/0.2737, allocations: 255.7 kB / 0.796 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2737, allocations: 0 / 0.796 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.2739, allocations: 147.9 kB / 0.7962 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.2742, allocations: 19.41 kB / 0.7962 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.2779, allocations: 3.273 MB / 0.7994 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.2783, allocations: 0.7663 MB / 0.8001 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001273/0.2784, allocations: 54.11 kB / 0.8002 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.2785, allocations: 83.41 kB / 0.8002 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of SimCode: time 7.61e-07/0.2785, allocations: 0 / 0.8002 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.3017, allocations: 7.56 MB / 0.8076 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.312, allocations: 7.062 kB / 0.8076 GB, free: 4.098 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)