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.001233/0.001233, allocations: 109.4 kB / 15.69 MB, free: 128 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.001491/0.001491, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.384/1.384, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.673/1.673, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.002309/0.002309, allocations: 70.83 kB / 0.6718 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2869, allocations: 114.5 MB / 0.7837 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.003634/0.2906, allocations: 0.8674 MB / 0.7845 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002725/0.2934, allocations: 1.446 MB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.2938, allocations: 11.88 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006722/0.2945, allocations: 203.5 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.2947, allocations: 103.6 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.2961, allocations: 361.1 kB / 0.7866 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001492/0.2976, allocations: 0.8853 MB / 0.7874 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002697/0.2979, allocations: 96.23 kB / 0.7875 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006098/0.2985, allocations: 347.4 kB / 0.7878 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005575/0.2991, allocations: 263.3 kB / 0.7881 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.2993, allocations: 44 kB / 0.7881 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004353/0.2997, allocations: 111.9 kB / 0.7882 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005335/0.3003, allocations: 339.3 kB / 0.7886 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004656/0.3007, allocations: 282.7 kB / 0.7888 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.3019, allocations: 0.9041 MB / 0.7897 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.3019, allocations: 0 / 0.7897 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3019, allocations: 0 / 0.7897 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.3019, allocations: 0 / 0.7897 GB, free: 7.008 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.001984/0.3039, allocations: 0.902 MB / 0.7906 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.416e-05/0.304, allocations: 8.031 kB / 0.7906 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.334e-05/0.3041, allocations: 46.67 kB / 0.7907 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.3043, allocations: 52.47 kB / 0.7907 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008933/0.3052, allocations: 0.5448 MB / 0.7912 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.3052, allocations: 28.59 kB / 0.7913 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.3054, allocations: 36.38 kB / 0.7913 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005581/0.3059, allocations: 311.4 kB / 0.7916 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.306, allocations: 3.938 kB / 0.7916 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.306, allocations: 0 / 0.7916 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.306, allocations: 4 kB / 0.7916 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.3064, allocations: 223.8 kB / 0.7918 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.3085, allocations: 1.176 MB / 0.793 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/0.3092, allocations: 479.7 kB / 0.7934 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.3095, allocations: 178.6 kB / 0.7936 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.3095, allocations: 0 / 0.7936 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005149/0.31, allocations: 344.2 kB / 0.7939 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.3101, allocations: 0 / 0.7939 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.001216/0.3113, allocations: 0.6218 MB / 0.7945 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.3114, allocations: 126.7 kB / 0.7946 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007856/0.3122, allocations: 0.5954 MB / 0.7952 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.3124, allocations: 45.7 kB / 0.7953 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.3126, allocations: 213.5 kB / 0.7955 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.62e-05/0.3127, allocations: 47.36 kB / 0.7955 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002989/0.313, allocations: 185.5 kB / 0.7957 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002052/0.3132, allocations: 362.8 kB / 0.796 GB, free: 244 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.3134, allocations: 127.9 kB / 0.7962 GB, free: 116 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000972/0.3144, allocations: 0.7103 MB / 0.7969 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.3148, allocations: 312.5 kB / 0.7972 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.3148, allocations: 0 / 0.7972 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007185/0.3156, allocations: 416.8 kB / 0.7976 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.3156, allocations: 11.94 kB / 0.7976 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3156, allocations: 3.984 kB / 0.7976 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.3156, allocations: 11.94 kB / 0.7976 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.3158, allocations: 31.92 kB / 0.7976 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.3158, allocations: 8 kB / 0.7976 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.3173, allocations: 127.3 kB / 0.7977 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.3173, allocations: 16 kB / 0.7978 GB, free: 14.26 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.0004224/0.3177, allocations: 266.2 kB / 0.798 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.568e-05/0.3178, allocations: 47.44 kB / 0.7981 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.533e-05/0.3179, allocations: 51.36 kB / 0.7981 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.318, allocations: 7.938 kB / 0.7981 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.318, allocations: 0 / 0.7981 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.318, allocations: 4 kB / 0.7981 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004201/0.3184, allocations: 397.3 kB / 0.7985 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3184, allocations: 0 / 0.7985 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.509e-05/0.3185, allocations: 8.25 kB / 0.7985 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3185, allocations: 0 / 0.7985 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.3185, allocations: 11.98 kB / 0.7985 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.3185, allocations: 7.938 kB / 0.7985 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3185, allocations: 4 kB / 0.7985 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000746/0.3193, allocations: 0.5136 MB / 0.799 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.3194, allocations: 128.6 kB / 0.7992 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/0.3194, allocations: 4 kB / 0.7992 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.3196, allocations: 19.92 kB / 0.7992 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.73e-05/0.3197, allocations: 39.84 kB / 0.7992 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.679e-05/0.3198, allocations: 15.98 kB / 0.7992 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005384/0.3203, allocations: 431.1 kB / 0.7996 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.552e-06/0.3203, allocations: 0 / 0.7996 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006025/0.3209, allocations: 119.9 kB / 0.7998 GB, free: 12.11 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.001309/0.3223, allocations: 1.102 MB / 0.8008 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000673/0.3229, allocations: 347.6 kB / 0.8012 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.323, allocations: 4.75 kB / 0.8012 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.3232, allocations: 187.8 kB / 0.8013 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.3236, allocations: 40.39 kB / 0.8014 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005955/0.3296, allocations: 4.396 MB / 0.8057 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.3301, allocations: 0.835 MB / 0.8065 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00032/0.3304, allocations: 98.42 kB / 0.8066 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.3306, allocations: 135.4 kB / 0.8067 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of SimCode: time 9.02e-07/0.3306, allocations: 384 / 0.8067 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03509/0.3657, allocations: 11.51 MB / 0.818 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.551/8.917, allocations: 10.3 kB / 0.818 GB, free: 9.508 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)