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.001057/0.001058, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001352/0.001352, allocations: 172.7 kB / 15.95 MB, free: 208 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.6/1.6, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.682/1.682, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005355/0.0005357, allocations: 16.38 kB / 0.6738 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.244, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001222/0.2453, allocations: 0.5559 MB / 0.788 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00216/0.2475, allocations: 1.423 MB / 0.7894 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.719e-05/0.2476, allocations: 0 / 0.7894 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004846/0.2481, allocations: 191.5 kB / 0.7895 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.2482, allocations: 99.67 kB / 0.7896 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008923/0.2491, allocations: 318.6 kB / 0.7899 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007803/0.2499, allocations: 0.6512 MB / 0.7906 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.2501, allocations: 92.44 kB / 0.7907 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/0.2504, allocations: 299.4 kB / 0.7909 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.2507, allocations: 223.4 kB / 0.7912 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.363e-05/0.2508, allocations: 16 kB / 0.7912 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.251, allocations: 75.88 kB / 0.7912 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000389/0.2514, allocations: 303.4 kB / 0.7915 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.2515, allocations: 89.52 kB / 0.7916 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006028/0.2521, allocations: 0.7018 MB / 0.7923 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.2522, allocations: 4 kB / 0.7923 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2522, allocations: 3.938 kB / 0.7923 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.2522, allocations: 0 / 0.7923 GB, free: 6.797 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.001168/0.2534, allocations: 0.7047 MB / 0.793 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2534, allocations: 8.031 kB / 0.793 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.877e-05/0.2535, allocations: 46.55 kB / 0.7931 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.2536, allocations: 55.39 kB / 0.7931 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007095/0.2543, allocations: 0.5168 MB / 0.7936 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.2543, allocations: 32.16 kB / 0.7936 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-05/0.2544, allocations: 32 kB / 0.7937 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/0.2549, allocations: 305.7 kB / 0.794 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2549, allocations: 3.938 kB / 0.794 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.2549, allocations: 8 kB / 0.794 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.255, allocations: 4 kB / 0.794 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.2553, allocations: 219.8 kB / 0.7942 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.257, allocations: 1.191 MB / 0.7954 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000711/0.2578, allocations: 471.7 kB / 0.7958 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.258, allocations: 174.6 kB / 0.796 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.258, allocations: 7.984 kB / 0.796 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004608/0.2585, allocations: 325.6 kB / 0.7963 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.432e-06/0.2585, allocations: 0 / 0.7963 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.000969/0.2595, allocations: 0.6218 MB / 0.7969 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.662e-05/0.2596, allocations: 126.7 kB / 0.797 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006737/0.2603, allocations: 0.5954 MB / 0.7976 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.161e-05/0.2604, allocations: 45.64 kB / 0.7976 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.2606, allocations: 226.6 kB / 0.7979 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.277e-05/0.2607, allocations: 47.5 kB / 0.7979 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/0.2607, allocations: 8 kB / 0.7979 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.2609, allocations: 362.7 kB / 0.7983 GB, free: 424 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.261, allocations: 123.8 kB / 0.7984 GB, free: 300 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008176/0.2619, allocations: 0.7104 MB / 0.7991 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.2621, allocations: 175.8 kB / 0.7992 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.2621, allocations: 4.75 kB / 0.7992 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005722/0.2627, allocations: 416.7 kB / 0.7996 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2627, allocations: 11.98 kB / 0.7997 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2627, allocations: 0 / 0.7997 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.2628, allocations: 8 kB / 0.7997 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.2629, allocations: 35.86 kB / 0.7997 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.2629, allocations: 8 kB / 0.7997 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.264, allocations: 145 kB / 0.7998 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.2641, allocations: 19.94 kB / 0.7999 GB, free: 14.61 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.0003007/0.2644, allocations: 265.6 kB / 0.8001 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.2644, allocations: 43.44 kB / 0.8002 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.376e-05/0.2645, allocations: 51.61 kB / 0.8002 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.2645, allocations: 4 kB / 0.8002 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.2645, allocations: 4 kB / 0.8002 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2646, allocations: 4 kB / 0.8002 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.2649, allocations: 409.2 kB / 0.8006 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.265, allocations: 0 / 0.8006 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.265, allocations: 11.94 kB / 0.8006 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.265, allocations: 4 kB / 0.8006 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.265, allocations: 11.98 kB / 0.8006 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.265, allocations: 0 / 0.8006 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.265, allocations: 0 / 0.8006 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006717/0.2657, allocations: 0.5121 MB / 0.8011 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.2658, allocations: 140.4 kB / 0.8013 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.2659, allocations: 15.98 kB / 0.8013 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.266, allocations: 15.98 kB / 0.8013 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/0.2661, allocations: 27.97 kB / 0.8013 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.2662, allocations: 15.98 kB / 0.8013 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004827/0.2667, allocations: 435 kB / 0.8018 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2667, allocations: 0 / 0.8018 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004451/0.2671, allocations: 107.9 kB / 0.8019 GB, free: 12.46 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.001062/0.2682, allocations: 1.104 MB / 0.8029 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005314/0.2687, allocations: 354.7 kB / 0.8033 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2687, allocations: 0 / 0.8033 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.269, allocations: 188 kB / 0.8034 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.2693, allocations: 41.95 kB / 0.8035 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.2735, allocations: 3.21 MB / 0.8066 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.2739, allocations: 0.8347 MB / 0.8074 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002248/0.2741, allocations: 90.94 kB / 0.8075 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.2743, allocations: 127.4 kB / 0.8076 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of SimCode: time 3.61e-07/0.2743, allocations: 0 / 0.8076 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02991/0.3042, allocations: 11.47 MB / 0.8189 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/0.3045, allocations: 203.7 kB / 0.819 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.985/2.29, allocations: 0 / 0.819 GB, free: 10.96 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: