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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_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.001041/0.001044, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001002/0.001002, allocations: 193 kB / 16.14 MB, free: 6.668 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.419/1.419, allocations: 205.1 MB / 222 MB, free: 4.73 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.721/1.721, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001312/0.001313, allocations: 66.55 kB / 0.671 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2111, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.001968/0.2131, allocations: 0.9288 MB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.2149, allocations: 1.461 MB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.115e-05/0.215, allocations: 4 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004551/0.2155, allocations: 191.5 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.2156, allocations: 103.7 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008263/0.2165, allocations: 330.6 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007618/0.2172, allocations: 0.7566 MB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.2174, allocations: 100.2 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.2177, allocations: 307.3 kB / 0.7869 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.2181, allocations: 247.3 kB / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.2182, allocations: 16 kB / 0.7871 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.2184, allocations: 87.92 kB / 0.7872 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003721/0.2188, allocations: 307.3 kB / 0.7875 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000295/0.2191, allocations: 238.8 kB / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007582/0.2199, allocations: 0.8806 MB / 0.7886 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2199, allocations: 0 / 0.7886 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.72e-07/0.2199, allocations: 4 kB / 0.7886 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.2199, allocations: 0 / 0.7886 GB, free: 7.973 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001458/0.2214, allocations: 0.8918 MB / 0.7895 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2214, allocations: 8.031 kB / 0.7895 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.361e-05/0.2215, allocations: 42.73 kB / 0.7895 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.2217, allocations: 52.47 kB / 0.7896 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007101/0.2224, allocations: 0.5409 MB / 0.7901 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.2224, allocations: 28.59 kB / 0.7901 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.2225, allocations: 40.38 kB / 0.7902 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.223, allocations: 303.4 kB / 0.7904 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.223, allocations: 3.938 kB / 0.7905 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.223, allocations: 11.92 kB / 0.7905 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.223, allocations: 4 kB / 0.7905 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.2234, allocations: 223.8 kB / 0.7907 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.2252, allocations: 1.176 MB / 0.7918 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.2258, allocations: 471.7 kB / 0.7923 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.226, allocations: 182.6 kB / 0.7925 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.2261, allocations: 4 kB / 0.7925 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004189/0.2265, allocations: 340.2 kB / 0.7928 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.754e-06/0.2265, allocations: 4 kB / 0.7928 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.000983/0.2275, allocations: 0.6218 MB / 0.7934 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.2276, allocations: 114.8 kB / 0.7935 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006475/0.2282, allocations: 0.5993 MB / 0.7941 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.467e-05/0.2283, allocations: 53.69 kB / 0.7941 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.2285, allocations: 218.4 kB / 0.7943 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.2286, allocations: 47.36 kB / 0.7944 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.2288, allocations: 185.5 kB / 0.7946 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.229, allocations: 362.8 kB / 0.7949 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.2292, allocations: 127.8 kB / 0.795 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007503/0.2299, allocations: 0.7103 MB / 0.7957 GB, free: 200 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.2303, allocations: 308.6 kB / 0.796 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.2303, allocations: 4 kB / 0.796 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000615/0.2309, allocations: 417.7 kB / 0.7964 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.231, allocations: 8.062 kB / 0.7964 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.231, allocations: 7.938 kB / 0.7964 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.231, allocations: 4 kB / 0.7964 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.2312, allocations: 35.92 kB / 0.7965 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.2312, allocations: 7.938 kB / 0.7965 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.2324, allocations: 128.1 kB / 0.7966 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.2324, allocations: 16 kB / 0.7966 GB, free: 15.23 MB / 0.6231 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.0002912/0.2327, allocations: 262.3 kB / 0.7969 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.217e-05/0.2328, allocations: 43.44 kB / 0.7969 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.136e-05/0.2329, allocations: 59.3 kB / 0.797 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2329, allocations: 8 kB / 0.797 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2329, allocations: 3.938 kB / 0.797 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2329, allocations: 0 / 0.797 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003727/0.2333, allocations: 401.3 kB / 0.7974 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.2333, allocations: 4 kB / 0.7974 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.345e-05/0.2334, allocations: 11.94 kB / 0.7974 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.2334, allocations: 0 / 0.7974 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.2334, allocations: 11.92 kB / 0.7974 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2334, allocations: 0 / 0.7974 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2334, allocations: 4 kB / 0.7974 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006279/0.234, allocations: 0.5136 MB / 0.7979 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.295e-05/0.2341, allocations: 124.6 kB / 0.798 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.2342, allocations: 7.938 kB / 0.798 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.2343, allocations: 23.91 kB / 0.798 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/0.2344, allocations: 31.97 kB / 0.7981 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.2345, allocations: 8 kB / 0.7981 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004479/0.2349, allocations: 439.1 kB / 0.7985 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2349, allocations: 0 / 0.7985 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004361/0.2354, allocations: 115.9 kB / 0.7986 GB, free: 13.08 MB / 0.6231 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.001045/0.2364, allocations: 1.102 MB / 0.7997 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005444/0.237, allocations: 347.6 kB / 0.8 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.237, allocations: 0 / 0.8 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.2372, allocations: 191.8 kB / 0.8002 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.2375, allocations: 42.64 kB / 0.8002 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00517/0.2427, allocations: 4.509 MB / 0.8047 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.2431, allocations: 0.8348 MB / 0.8055 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002598/0.2434, allocations: 98.91 kB / 0.8056 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.2436, allocations: 127.4 kB / 0.8057 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.2436, allocations: 0 / 0.8057 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.2663, allocations: 11.11 MB / 0.8165 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/0.2665, allocations: 237.7 kB / 0.8168 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.151, allocations: 0 / 0.8168 GB, free: 10.53 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)