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.001093/0.001093, allocations: 108 kB / 15.6 MB, free: 132 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.00114/0.00114, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.345/1.345, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.656/1.656, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001298/0.001299, allocations: 69.81 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1928, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002127/0.195, allocations: 0.8636 MB / 0.7843 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1967, allocations: 1.453 MB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.1968, allocations: 4 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004308/0.1972, allocations: 207.4 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.1973, allocations: 107.6 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008282/0.1982, allocations: 348.7 kB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008109/0.199, allocations: 0.8582 MB / 0.7872 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.1992, allocations: 100.2 kB / 0.7873 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.1995, allocations: 351.4 kB / 0.7877 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003547/0.1999, allocations: 259.4 kB / 0.7879 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.2, allocations: 48 kB / 0.788 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.2003, allocations: 111.9 kB / 0.7881 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004155/0.2007, allocations: 339.3 kB / 0.7884 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003089/0.201, allocations: 278.8 kB / 0.7887 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007664/0.2018, allocations: 0.9041 MB / 0.7895 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2018, allocations: 0 / 0.7895 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2018, allocations: 0 / 0.7895 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.988e-06/0.2018, allocations: 0 / 0.7895 GB, free: 7.172 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.001374/0.2032, allocations: 0.888 MB / 0.7904 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2032, allocations: 16.03 kB / 0.7904 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.2033, allocations: 50.61 kB / 0.7905 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.2035, allocations: 48.47 kB / 0.7905 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00072/0.2042, allocations: 0.5332 MB / 0.791 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.2042, allocations: 32.53 kB / 0.7911 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.826e-05/0.2043, allocations: 36.38 kB / 0.7911 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.2047, allocations: 303.4 kB / 0.7914 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2048, allocations: 3.938 kB / 0.7914 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.2048, allocations: 12 kB / 0.7914 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.2048, allocations: 4 kB / 0.7914 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003071/0.2051, allocations: 219.8 kB / 0.7916 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.2069, allocations: 1.18 MB / 0.7928 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000592/0.2075, allocations: 475.6 kB / 0.7932 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.2078, allocations: 178.5 kB / 0.7934 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.2078, allocations: 11.98 kB / 0.7934 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004382/0.2082, allocations: 332.4 kB / 0.7937 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.392e-06/0.2082, allocations: 4 kB / 0.7937 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.0009122/0.2092, allocations: 0.6219 MB / 0.7943 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.2092, allocations: 126.7 kB / 0.7945 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006299/0.2099, allocations: 0.5954 MB / 0.795 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.655e-05/0.21, allocations: 45.7 kB / 0.7951 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.2102, allocations: 218.5 kB / 0.7953 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/0.2102, allocations: 55.28 kB / 0.7953 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.2105, allocations: 185.5 kB / 0.7955 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2106, allocations: 366.8 kB / 0.7959 GB, free: 404 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.2108, allocations: 127.8 kB / 0.796 GB, free: 276 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008139/0.2116, allocations: 0.7104 MB / 0.7967 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003463/0.212, allocations: 300.6 kB / 0.797 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.212, allocations: 256 / 0.797 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006985/0.2127, allocations: 420.7 kB / 0.7974 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.2127, allocations: 12.92 kB / 0.7974 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.2127, allocations: 7.938 kB / 0.7974 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.2128, allocations: 8 kB / 0.7974 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.2129, allocations: 31.92 kB / 0.7974 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.2129, allocations: 8 kB / 0.7974 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.2141, allocations: 121 kB / 0.7976 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.2142, allocations: 16 kB / 0.7976 GB, free: 14.43 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.0002807/0.2145, allocations: 266.2 kB / 0.7978 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.2145, allocations: 43.44 kB / 0.7979 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.931e-05/0.2146, allocations: 55.3 kB / 0.7979 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2146, allocations: 4 kB / 0.7979 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2146, allocations: 0 / 0.7979 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.2146, allocations: 4 kB / 0.7979 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/0.215, allocations: 405.3 kB / 0.7983 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.215, allocations: 3.938 kB / 0.7983 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.215, allocations: 8 kB / 0.7983 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2151, allocations: 4 kB / 0.7983 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.2151, allocations: 11.92 kB / 0.7983 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2151, allocations: 4 kB / 0.7983 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.2151, allocations: 4 kB / 0.7983 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006332/0.2157, allocations: 0.5136 MB / 0.7988 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.2158, allocations: 128.6 kB / 0.799 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.2159, allocations: 7.938 kB / 0.799 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.2161, allocations: 19.98 kB / 0.799 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/0.2161, allocations: 27.97 kB / 0.799 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.2162, allocations: 15.98 kB / 0.799 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004436/0.2166, allocations: 431.1 kB / 0.7995 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.284e-06/0.2166, allocations: 0 / 0.7995 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000429/0.2171, allocations: 119.9 kB / 0.7996 GB, free: 12.27 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.001276/0.2183, allocations: 1.102 MB / 0.8006 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005706/0.2189, allocations: 376.4 kB / 0.801 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2189, allocations: 0 / 0.801 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.2192, allocations: 187.9 kB / 0.8012 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.2195, allocations: 36.98 kB / 0.8012 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005233/0.2248, allocations: 4.442 MB / 0.8056 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.2252, allocations: 0.8311 MB / 0.8064 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002242/0.2254, allocations: 94.92 kB / 0.8065 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.2256, allocations: 131.3 kB / 0.8066 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.2256, allocations: 0 / 0.8066 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6626/0.8882, allocations: 11.47 MB / 0.8178 GB, free: 9.629 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.53, allocations: 10.73 kB / 0.8178 GB, free: 9.621 MB / 0.6388 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/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)