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.001363/0.001363, allocations: 108 kB / 15.61 MB, free: 152 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.001272/0.001272, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.458/1.458, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.725/1.725, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.00146/0.00146, allocations: 68.38 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2123, allocations: 114.6 MB / 0.7835 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001814/0.2141, allocations: 0.6896 MB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.2158, allocations: 1.339 MB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.98e-05/0.2159, allocations: 3.938 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004895/0.2164, allocations: 183.6 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.2165, allocations: 111.7 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006986/0.2172, allocations: 225.5 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004763/0.2177, allocations: 475.7 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.2178, allocations: 15.98 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.218, allocations: 203.7 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.2183, allocations: 203.6 kB / 0.7868 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.029e-05/0.2184, allocations: 20 kB / 0.7869 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.2186, allocations: 87.88 kB / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.219, allocations: 248.6 kB / 0.7872 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.2192, allocations: 155.3 kB / 0.7873 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004609/0.2197, allocations: 478.9 kB / 0.7878 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.2197, allocations: 0 / 0.7878 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2197, allocations: 0 / 0.7878 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.938e-06/0.2197, allocations: 0 / 0.7878 GB, free: 8.918 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.0009326/0.2206, allocations: 0.6385 MB / 0.7884 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.2207, allocations: 12.03 kB / 0.7884 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.2207, allocations: 30.75 kB / 0.7884 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.2209, allocations: 32.66 kB / 0.7885 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005039/0.2214, allocations: 392 kB / 0.7889 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.2214, allocations: 16.31 kB / 0.7889 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-05/0.2215, allocations: 20.38 kB / 0.7889 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.2218, allocations: 180.7 kB / 0.7891 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.2218, allocations: 3.938 kB / 0.7891 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.2218, allocations: 3.984 kB / 0.7891 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.2218, allocations: 4 kB / 0.7891 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.222, allocations: 111.9 kB / 0.7892 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.2224, allocations: 383.2 kB / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.2228, allocations: 315.6 kB / 0.7898 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.223, allocations: 130.6 kB / 0.79 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.223, allocations: 0 / 0.79 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004123/0.2234, allocations: 293.4 kB / 0.7902 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.2234, allocations: 0 / 0.7902 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0007509/0.2242, allocations: 0.4894 MB / 0.7907 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.2243, allocations: 118.7 kB / 0.7908 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.2247, allocations: 400.4 kB / 0.7912 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.124e-05/0.2247, allocations: 33.7 kB / 0.7913 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.2249, allocations: 156.8 kB / 0.7914 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.2249, allocations: 43.53 kB / 0.7914 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.2251, allocations: 117.6 kB / 0.7916 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2252, allocations: 342.8 kB / 0.7919 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.2253, allocations: 87.95 kB / 0.792 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/0.2258, allocations: 475.4 kB / 0.7924 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.2261, allocations: 261.4 kB / 0.7927 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2261, allocations: 0 / 0.7927 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004791/0.2266, allocations: 329.2 kB / 0.793 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2266, allocations: 8 kB / 0.793 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2266, allocations: 4 kB / 0.793 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2266, allocations: 4 kB / 0.793 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.2268, allocations: 31.92 kB / 0.793 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.2268, allocations: 7.984 kB / 0.793 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000758/0.2276, allocations: 64.58 kB / 0.7931 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.2276, allocations: 15.94 kB / 0.7931 GB, free: 2.973 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.0002141/0.2278, allocations: 203.9 kB / 0.7933 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.2279, allocations: 35.56 kB / 0.7933 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.22e-05/0.2279, allocations: 29.89 kB / 0.7934 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.228, allocations: 7.938 kB / 0.7934 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.228, allocations: 0 / 0.7934 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.228, allocations: 4 kB / 0.7934 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.2282, allocations: 285.5 kB / 0.7937 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2283, allocations: 3.938 kB / 0.7937 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-05/0.2283, allocations: 7.984 kB / 0.7937 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.726e-05/0.2283, allocations: 4.234 kB / 0.7937 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.2283, allocations: 4 kB / 0.7937 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2283, allocations: 0 / 0.7937 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2283, allocations: 0 / 0.7937 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005491/0.2289, allocations: 445.2 kB / 0.7941 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.178e-05/0.229, allocations: 108.8 kB / 0.7942 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.229, allocations: 4 kB / 0.7942 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-05/0.2291, allocations: 4 kB / 0.7942 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.2292, allocations: 19.97 kB / 0.7942 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.2292, allocations: 8 kB / 0.7942 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002737/0.2295, allocations: 291 kB / 0.7945 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2295, allocations: 0 / 0.7945 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003688/0.2299, allocations: 79.94 kB / 0.7946 GB, free: 1.359 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.0008771/0.2307, allocations: 1.008 MB / 0.7956 GB, free: 320 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004175/0.2312, allocations: 263.6 kB / 0.7958 GB, free: 56 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2312, allocations: 3.938 kB / 0.7958 GB, free: 52 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.2314, allocations: 147.9 kB / 0.796 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.2317, allocations: 31.02 kB / 0.796 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.235, allocations: 3.267 MB / 0.7992 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.2353, allocations: 0.7636 MB / 0.7999 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001249/0.2354, allocations: 49.94 kB / 0.8 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.2355, allocations: 83.41 kB / 0.8001 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/0.2355, allocations: 0 / 0.8001 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.2592, allocations: 7.554 MB / 0.8074 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.388, allocations: 6.938 kB / 0.8074 GB, free: 4.188 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.csv --start-time -5 --stop-time 10 --timeout 50 --relative-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)