Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.738/2.738, allocations: 287.3 MB / 302.3 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.001587, allocations: 174.3 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002306/0.002306, allocations: 94 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004873, allocations: 14.05 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2751, allocations: 115.3 MB / 0.9783 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.00111/0.2763, allocations: 0.556 MB / 0.9789 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002147/0.2785, allocations: 1.384 MB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.647e-05/0.2786, allocations: 0 / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000542/0.2792, allocations: 191.5 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.2794, allocations: 107.8 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.2807, allocations: 305.7 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008747/0.2816, allocations: 0.4991 MB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.2818, allocations: 76.44 kB / 0.9813 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003401/0.2822, allocations: 295.4 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003687/0.2825, allocations: 219.4 kB / 0.9818 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.2827, allocations: 20 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003444/0.2831, allocations: 67.94 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005411/0.2836, allocations: 303.4 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.2838, allocations: 93.39 kB / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007783/0.2846, allocations: 0.694 MB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2846, allocations: 0 / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2846, allocations: 0 / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.2846, allocations: 0 / 0.983 GB, free: 23.45 MB / 0.6198 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.001628/0.2862, allocations: 0.7009 MB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.2863, allocations: 19.95 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.839e-05/0.2864, allocations: 46.55 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.2866, allocations: 59.39 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.2878, allocations: 0.5245 MB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.2878, allocations: 20.23 kB / 0.9843 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.288, allocations: 39.98 kB / 0.9843 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006472/0.2887, allocations: 302.6 kB / 0.9846 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.2887, allocations: 4 kB / 0.9846 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.2887, allocations: 4 kB / 0.9846 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.2888, allocations: 11.92 kB / 0.9847 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000478/0.2892, allocations: 219.8 kB / 0.9849 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.2921, allocations: 1.187 MB / 0.986 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009069/0.293, allocations: 460 kB / 0.9865 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.293, allocations: 8 kB / 0.9865 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006074/0.2937, allocations: 333 kB / 0.9868 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=24): time 3.276e-06/0.2937, allocations: 4 kB / 0.9868 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.001543/0.2952, allocations: 0.6335 MB / 0.9874 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.569e-05/0.2953, allocations: 114.8 kB / 0.9875 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009538/0.2963, allocations: 0.5954 MB / 0.9881 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001817/0.2965, allocations: 45.69 kB / 0.9881 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/0.2968, allocations: 226.9 kB / 0.9884 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.818e-05/0.2969, allocations: 47.36 kB / 0.9884 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.2969, allocations: 8 kB / 0.9884 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.297, allocations: 366.8 kB / 0.9888 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.2973, allocations: 127.8 kB / 0.9889 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.2983, allocations: 0.7135 MB / 0.9896 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.2987, allocations: 171.9 kB / 0.9897 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.2987, allocations: 0 / 0.9897 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001258/0.3, allocations: 420.7 kB / 0.9901 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.3, allocations: 4 kB / 0.9901 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.3001, allocations: 4 kB / 0.9902 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.414e-05/0.3001, allocations: 7.938 kB / 0.9902 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.3005, allocations: 36.3 kB / 0.9902 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/0.3005, allocations: 12.22 kB / 0.9902 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/0.3035, allocations: 132.1 kB / 0.9903 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.3036, allocations: 23.97 kB / 0.9904 GB, free: 15.44 MB / 0.6198 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.0005272/0.3042, allocations: 269.6 kB / 0.9906 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.3043, allocations: 39.44 kB / 0.9907 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.3044, allocations: 52.12 kB / 0.9907 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.3044, allocations: 4 kB / 0.9907 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.3045, allocations: 3.938 kB / 0.9907 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.3045, allocations: 3.984 kB / 0.9907 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006434/0.3051, allocations: 405.3 kB / 0.9911 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3052, allocations: 7.938 kB / 0.9911 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.3052, allocations: 7.984 kB / 0.9911 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.3052, allocations: 0 / 0.9911 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.3053, allocations: 8.188 kB / 0.9911 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.3053, allocations: 8 kB / 0.9911 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3053, allocations: 0 / 0.9911 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009711/0.3063, allocations: 0.5403 MB / 0.9917 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.3064, allocations: 140.5 kB / 0.9918 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.525e-05/0.3065, allocations: 4 kB / 0.9918 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.3069, allocations: 19.97 kB / 0.9918 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.307, allocations: 27.97 kB / 0.9918 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.307, allocations: 12 kB / 0.9919 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009304/0.308, allocations: 435 kB / 0.9923 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.41e-07/0.308, allocations: 4 kB / 0.9923 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001318/0.3093, allocations: 119.8 kB / 0.9924 GB, free: 13.25 MB / 0.6198 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.002178/0.3116, allocations: 1.256 MB / 0.9936 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.3129, allocations: 347.6 kB / 0.9939 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3129, allocations: 0 / 0.9939 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005515/0.3135, allocations: 184.6 kB / 0.9941 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005884/0.3141, allocations: 41.91 kB / 0.9942 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004177/0.3183, allocations: 3.411 MB / 0.9975 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005457/0.3189, allocations: 0.8542 MB / 0.9983 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000731/0.3196, allocations: 94.92 kB / 0.9984 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004324/0.3201, allocations: 127.4 kB / 0.9985 GB, free: 6.762 MB / 0.6198 GB Notification: Performance of SimCode: time 1.583e-06/0.3201, allocations: 3.938 kB / 0.9985 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05187/0.372, allocations: 11.25 MB / 1.01 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000308/0.3724, allocations: 201.2 kB / 1.01 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.855/3.227, allocations: 7.75 kB / 1.01 GB, free: 11.53 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)