Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.TimeTable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",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.001028/0.001028, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0008392/0.0008392, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.938/1.938, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0007513/0.0007515, allocations: 16.84 kB / 0.6737 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3087, allocations: 116.3 MB / 0.7873 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.00134/0.3101, allocations: 0.556 MB / 0.7878 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002353/0.3124, allocations: 1.376 MB / 0.7891 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.282e-05/0.3126, allocations: 3.938 kB / 0.7891 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006355/0.3132, allocations: 187.5 kB / 0.7893 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.3134, allocations: 107.8 kB / 0.7894 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.3147, allocations: 317.3 kB / 0.7897 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009343/0.3156, allocations: 0.4953 MB / 0.7902 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.3159, allocations: 80.44 kB / 0.7903 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004075/0.3163, allocations: 299.4 kB / 0.7906 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004014/0.3167, allocations: 219.5 kB / 0.7908 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.3168, allocations: 20 kB / 0.7908 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.3171, allocations: 63.89 kB / 0.7909 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005445/0.3177, allocations: 307.3 kB / 0.7912 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.3179, allocations: 89.52 kB / 0.7912 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008525/0.3187, allocations: 0.694 MB / 0.7919 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3187, allocations: 0 / 0.7919 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.448e-06/0.3187, allocations: 0 / 0.7919 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.3188, allocations: 3.938 kB / 0.7919 GB, free: 7.043 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.001655/0.3204, allocations: 0.7086 MB / 0.7926 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.3205, allocations: 8.031 kB / 0.7926 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.611e-05/0.3206, allocations: 50.55 kB / 0.7927 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.3208, allocations: 55.39 kB / 0.7927 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.3221, allocations: 0.5167 MB / 0.7932 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.3221, allocations: 24.23 kB / 0.7933 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.3223, allocations: 35.94 kB / 0.7933 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006476/0.3229, allocations: 305.7 kB / 0.7936 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.323, allocations: 7.938 kB / 0.7936 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.259e-05/0.323, allocations: 7.984 kB / 0.7936 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.323, allocations: 4 kB / 0.7936 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.3235, allocations: 215.8 kB / 0.7938 GB, free: 5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00277/0.3263, allocations: 1.199 MB / 0.795 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008628/0.3272, allocations: 464 kB / 0.7954 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.3272, allocations: 4 kB / 0.7954 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006318/0.3279, allocations: 329.6 kB / 0.7957 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 3.086e-06/0.3279, allocations: 4 kB / 0.7957 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.00143/0.3293, allocations: 0.6218 MB / 0.7963 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.714e-05/0.3294, allocations: 118.8 kB / 0.7965 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000999/0.3304, allocations: 0.5993 MB / 0.797 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.3306, allocations: 45.7 kB / 0.7971 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.3309, allocations: 222.7 kB / 0.7973 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.93e-05/0.331, allocations: 55.34 kB / 0.7974 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/0.331, allocations: 4 kB / 0.7974 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.3312, allocations: 362.8 kB / 0.7977 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.3315, allocations: 127.8 kB / 0.7978 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.3326, allocations: 0.7104 MB / 0.7985 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.3329, allocations: 175.8 kB / 0.7987 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3329, allocations: 4 kB / 0.7987 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009246/0.3339, allocations: 425.4 kB / 0.7991 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.3339, allocations: 4 kB / 0.7991 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.3339, allocations: 4 kB / 0.7991 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.3339, allocations: 4.375 kB / 0.7991 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.3342, allocations: 39.86 kB / 0.7991 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.3342, allocations: 7.984 kB / 0.7992 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.336, allocations: 132.1 kB / 0.7993 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.336, allocations: 15.98 kB / 0.7993 GB, free: 15.04 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.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004856/0.3365, allocations: 269.5 kB / 0.7996 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-05/0.3366, allocations: 43.69 kB / 0.7996 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.3368, allocations: 51.36 kB / 0.7996 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.3368, allocations: 4 kB / 0.7996 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.3368, allocations: 4 kB / 0.7996 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.3368, allocations: 3.984 kB / 0.7997 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005814/0.3374, allocations: 405.3 kB / 0.8 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.3374, allocations: 7.953 kB / 0.8 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.3375, allocations: 11.92 kB / 0.8001 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3375, allocations: 0 / 0.8001 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.3375, allocations: 8 kB / 0.8001 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.3375, allocations: 4 kB / 0.8001 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3376, allocations: 0 / 0.8001 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009927/0.3386, allocations: 0.5466 MB / 0.8006 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.3388, allocations: 132.6 kB / 0.8007 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.837e-05/0.3388, allocations: 4 kB / 0.8007 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.3391, allocations: 23.97 kB / 0.8008 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.3392, allocations: 23.97 kB / 0.8008 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.3393, allocations: 19.98 kB / 0.8008 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00072/0.34, allocations: 439 kB / 0.8012 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.34, allocations: 0 / 0.8012 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007081/0.3407, allocations: 107.8 kB / 0.8013 GB, free: 12.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001625/0.3424, allocations: 1.259 MB / 0.8026 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000757/0.3431, allocations: 350.2 kB / 0.8029 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3432, allocations: 0.75 kB / 0.8029 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003424/0.3435, allocations: 188 kB / 0.8031 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.3438, allocations: 42.09 kB / 0.8031 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.3469, allocations: 3.414 MB / 0.8064 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.3474, allocations: 0.8503 MB / 0.8073 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003519/0.3478, allocations: 94.92 kB / 0.8074 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.3481, allocations: 131.4 kB / 0.8075 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of SimCode: time 7.01e-07/0.3481, allocations: 0 / 0.8075 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03408/0.3822, allocations: 11.24 MB / 0.8185 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003076/0.3825, allocations: 201 kB / 0.8187 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/2.606, allocations: 0 / 0.8187 GB, free: 11.17 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) Environment - environmentSimulation: