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.719/2.719, allocations: 287.5 MB / 302.4 MB, free: 8.367 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.001303/0.001302, allocations: 186.2 kB / 371 MB, free: 10.85 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.163/2.163, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009292/0.0009289, allocations: 76.47 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007307/0.000731, allocations: 13.64 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2181, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001616/0.2198, allocations: 0.552 MB / 0.979 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003878/0.2237, allocations: 1.419 MB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.224, allocations: 0 / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009193/0.2249, allocations: 187.5 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.2253, allocations: 107.7 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.2273, allocations: 313.6 kB / 0.981 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001166/0.2285, allocations: 0.6551 MB / 0.9816 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002345/0.2288, allocations: 84.38 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004404/0.2292, allocations: 299.4 kB / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00043/0.2297, allocations: 227.4 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002362/0.2299, allocations: 16 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.2304, allocations: 79.88 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005224/0.2309, allocations: 303.4 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.2311, allocations: 93.45 kB / 0.9827 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008909/0.232, allocations: 0.6939 MB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.232, allocations: 0 / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.544e-06/0.232, allocations: 0 / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.2321, allocations: 8 kB / 0.9834 GB, free: 23.22 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.001708/0.2338, allocations: 0.7047 MB / 0.984 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.2338, allocations: 16.02 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.814e-05/0.2339, allocations: 42.55 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002681/0.2342, allocations: 55.39 kB / 0.9842 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.2353, allocations: 0.5167 MB / 0.9847 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.2353, allocations: 28.22 kB / 0.9847 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/0.2355, allocations: 36 kB / 0.9847 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006826/0.2362, allocations: 302.6 kB / 0.985 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.2363, allocations: 0 / 0.985 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.2363, allocations: 4 kB / 0.985 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.2363, allocations: 4 kB / 0.985 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.2368, allocations: 227.8 kB / 0.9852 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002971/0.2398, allocations: 1.187 MB / 0.9864 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009168/0.2408, allocations: 475.7 kB / 0.9869 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.2412, allocations: 178.6 kB / 0.987 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.2412, allocations: 0 / 0.987 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006027/0.2418, allocations: 334.3 kB / 0.9873 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=24): time 2.415e-06/0.2418, allocations: 0 / 0.9873 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.001533/0.2434, allocations: 0.6179 MB / 0.9879 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.2435, allocations: 118.8 kB / 0.9881 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002589/0.2461, allocations: 0.5954 MB / 0.9886 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002735/0.2464, allocations: 53.7 kB / 0.9887 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.2468, allocations: 222.8 kB / 0.9889 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.879e-05/0.2469, allocations: 51.41 kB / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.2469, allocations: 4 kB / 0.989 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.247, allocations: 366.7 kB / 0.9893 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.2473, allocations: 127.8 kB / 0.9894 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.2485, allocations: 0.7174 MB / 0.9901 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/0.2489, allocations: 171.8 kB / 0.9903 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.2489, allocations: 0 / 0.9903 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001115/0.25, allocations: 421 kB / 0.9907 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.2501, allocations: 4 kB / 0.9907 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.2501, allocations: 4 kB / 0.9907 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/0.2501, allocations: 11.92 kB / 0.9907 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.2504, allocations: 31.92 kB / 0.9907 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.2504, allocations: 4 kB / 0.9907 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002698/0.2531, allocations: 149.2 kB / 0.9909 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.283e-05/0.2532, allocations: 12.75 kB / 0.9909 GB, free: 15.04 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.0005379/0.2538, allocations: 261.8 kB / 0.9911 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.2539, allocations: 43.44 kB / 0.9912 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.2541, allocations: 55.36 kB / 0.9912 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.2541, allocations: 11.94 kB / 0.9913 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.2541, allocations: 3.938 kB / 0.9913 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.2541, allocations: 0 / 0.9913 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.2546, allocations: 405.3 kB / 0.9916 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2546, allocations: 7.938 kB / 0.9917 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.2547, allocations: 4 kB / 0.9917 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.2547, allocations: 0 / 0.9917 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.2547, allocations: 11.98 kB / 0.9917 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.2547, allocations: 4 kB / 0.9917 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2547, allocations: 4 kB / 0.9917 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009484/0.2557, allocations: 0.5173 MB / 0.9922 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.2559, allocations: 136.6 kB / 0.9923 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.604e-05/0.256, allocations: 7.984 kB / 0.9923 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003116/0.2563, allocations: 15.98 kB / 0.9923 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.2564, allocations: 31.97 kB / 0.9924 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-05/0.2565, allocations: 19.97 kB / 0.9924 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006887/0.2572, allocations: 435 kB / 0.9928 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2572, allocations: 0 / 0.9928 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008149/0.258, allocations: 111.8 kB / 0.9929 GB, free: 12.88 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.001399/0.2595, allocations: 1.096 MB / 0.994 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000938/0.2604, allocations: 348.2 kB / 0.9943 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2605, allocations: 0.75 kB / 0.9943 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003585/0.2608, allocations: 187.9 kB / 0.9945 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.2614, allocations: 38.98 kB / 0.9945 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006613/0.268, allocations: 3.212 MB / 0.9977 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.2684, allocations: 0.8427 MB / 0.9985 GB, free: 7.008 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005174/0.269, allocations: 94.88 kB / 0.9986 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.2692, allocations: 131.3 kB / 0.9987 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of SimCode: time 1.082e-06/0.2693, allocations: 0 / 0.9987 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04836/0.3176, allocations: 11.5 MB / 1.01 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003268/0.318, allocations: 196.6 kB / 1.01 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.134/3.452, allocations: 0 / 1.01 GB, free: 11.34 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)