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.001222/0.001222, 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.001481/0.001482, allocations: 194.2 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.554/1.554, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.76/1.76, allocations: 292.3 MB / 0.5489 GB, free: 12.78 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.001626/0.001627, allocations: 73.06 kB / 0.6716 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2694, allocations: 114.5 MB / 0.7835 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.003356/0.2728, allocations: 0.8647 MB / 0.7843 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002984/0.2758, allocations: 1.446 MB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002893/0.2761, allocations: 7.938 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008257/0.277, allocations: 195.5 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.2773, allocations: 111.6 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.2788, allocations: 355 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001184/0.28, allocations: 0.8582 MB / 0.7872 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000294/0.2803, allocations: 92.25 kB / 0.7873 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007645/0.2811, allocations: 355.4 kB / 0.7877 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004794/0.2815, allocations: 259.3 kB / 0.7879 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.2817, allocations: 48 kB / 0.788 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.2821, allocations: 107.9 kB / 0.7881 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004663/0.2826, allocations: 347.2 kB / 0.7884 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.2829, allocations: 274.8 kB / 0.7887 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009246/0.2838, allocations: 0.9079 MB / 0.7895 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2838, allocations: 0 / 0.7895 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.123e-06/0.2839, allocations: 4 kB / 0.7895 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.2839, allocations: 0 / 0.7895 GB, free: 7.109 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.001756/0.2856, allocations: 0.8879 MB / 0.7904 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.2857, allocations: 16.02 kB / 0.7904 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.333e-05/0.2858, allocations: 42.75 kB / 0.7905 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.286, allocations: 52.45 kB / 0.7905 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008714/0.2869, allocations: 0.537 MB / 0.791 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.2869, allocations: 24.61 kB / 0.7911 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.287, allocations: 44.36 kB / 0.7911 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005007/0.2875, allocations: 307.4 kB / 0.7914 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2876, allocations: 3.938 kB / 0.7914 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.2876, allocations: 4 kB / 0.7914 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.2876, allocations: 4 kB / 0.7914 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003525/0.288, allocations: 219.8 kB / 0.7916 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.29, allocations: 1.176 MB / 0.7928 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006608/0.2907, allocations: 475.8 kB / 0.7932 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.2909, allocations: 182.6 kB / 0.7934 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.291, allocations: 0 / 0.7934 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004623/0.2914, allocations: 347.4 kB / 0.7937 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.2914, allocations: 0 / 0.7937 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.001055/0.2925, allocations: 0.6263 MB / 0.7943 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/0.2926, allocations: 118.8 kB / 0.7945 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007069/0.2933, allocations: 0.6034 MB / 0.795 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.549e-05/0.2934, allocations: 41.7 kB / 0.7951 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.2937, allocations: 226.3 kB / 0.7953 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.2937, allocations: 55.34 kB / 0.7954 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002769/0.294, allocations: 181.5 kB / 0.7955 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.2942, allocations: 358.8 kB / 0.7959 GB, free: 352 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.2944, allocations: 131.8 kB / 0.796 GB, free: 220 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000939/0.2954, allocations: 0.7145 MB / 0.7967 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.2958, allocations: 300.6 kB / 0.797 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.2958, allocations: 7.984 kB / 0.797 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000672/0.2965, allocations: 413 kB / 0.7974 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2965, allocations: 12.06 kB / 0.7974 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.2965, allocations: 3.938 kB / 0.7974 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.2965, allocations: 8 kB / 0.7974 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.2967, allocations: 35.91 kB / 0.7974 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.2967, allocations: 11.94 kB / 0.7974 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.298, allocations: 127.8 kB / 0.7976 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.298, allocations: 16 kB / 0.7976 GB, free: 14.36 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.0003123/0.2983, allocations: 258.3 kB / 0.7978 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/0.2984, allocations: 43.44 kB / 0.7979 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.2985, allocations: 55.3 kB / 0.7979 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2985, allocations: 8 kB / 0.7979 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.2986, allocations: 0 / 0.7979 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.2986, allocations: 4 kB / 0.7979 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.299, allocations: 405.3 kB / 0.7983 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.299, allocations: 0 / 0.7983 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.569e-05/0.2991, allocations: 11.92 kB / 0.7983 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2991, allocations: 0 / 0.7983 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.2991, allocations: 7.938 kB / 0.7983 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2991, allocations: 4 kB / 0.7983 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2991, allocations: 3.984 kB / 0.7983 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000686/0.2998, allocations: 0.5175 MB / 0.7989 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.2999, allocations: 124.6 kB / 0.799 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/0.3, allocations: 15.92 kB / 0.799 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.3002, allocations: 11.98 kB / 0.799 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.595e-05/0.3003, allocations: 27.97 kB / 0.799 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.3003, allocations: 19.98 kB / 0.799 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005077/0.3008, allocations: 431.1 kB / 0.7995 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3008, allocations: 0 / 0.7995 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000461/0.3013, allocations: 111.9 kB / 0.7996 GB, free: 12.22 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.001287/0.3026, allocations: 1.106 MB / 0.8006 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006291/0.3032, allocations: 363.6 kB / 0.801 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3033, allocations: 0 / 0.801 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.3035, allocations: 199.8 kB / 0.8012 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.3039, allocations: 43.8 kB / 0.8012 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005666/0.3095, allocations: 4.434 MB / 0.8056 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.31, allocations: 0.8389 MB / 0.8064 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002662/0.3103, allocations: 90.94 kB / 0.8065 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.3105, allocations: 135.3 kB / 0.8066 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of SimCode: time 1.042e-06/0.3105, allocations: 0 / 0.8066 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03763/0.3481, allocations: 11.5 MB / 0.8178 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.256/8.605, allocations: 8.234 kB / 0.8178 GB, free: 9.559 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.csv --start-time -5 --stop-time 10 --timeout 50 --relative-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)