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.001131/0.001131, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001193/0.001193, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.399/1.399, allocations: 205.1 MB / 222 MB, free: 4.723 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.663/1.663, allocations: 292.3 MB / 0.5484 GB, free: 13.63 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.001364/0.001364, allocations: 74.36 kB / 0.671 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2157, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.00206/0.2178, allocations: 0.9294 MB / 0.7837 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.2196, allocations: 1.454 MB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.302e-05/0.2197, allocations: 0 / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.2201, allocations: 191.5 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.2203, allocations: 111.7 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008254/0.2211, allocations: 322.8 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007608/0.2219, allocations: 0.7644 MB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.2221, allocations: 100.2 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.2223, allocations: 299.4 kB / 0.7869 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.2226, allocations: 247.3 kB / 0.7871 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.2228, allocations: 20 kB / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.223, allocations: 83.94 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000346/0.2234, allocations: 307.3 kB / 0.7875 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.2237, allocations: 246.8 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008104/0.2245, allocations: 0.8766 MB / 0.7886 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2245, allocations: 0 / 0.7886 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.22e-07/0.2245, allocations: 0 / 0.7886 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2245, allocations: 0 / 0.7886 GB, free: 7.965 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.001361/0.2259, allocations: 0.8918 MB / 0.7895 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.2259, allocations: 8.031 kB / 0.7895 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.641e-05/0.226, allocations: 50.67 kB / 0.7895 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.2261, allocations: 52.47 kB / 0.7896 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007089/0.2269, allocations: 0.5448 MB / 0.7901 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.2269, allocations: 20.61 kB / 0.7901 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-05/0.227, allocations: 36.38 kB / 0.7901 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/0.2274, allocations: 306.2 kB / 0.7904 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2274, allocations: 7.938 kB / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.2275, allocations: 3.984 kB / 0.7905 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2275, allocations: 4 kB / 0.7905 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.2278, allocations: 223.8 kB / 0.7907 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.2296, allocations: 1.184 MB / 0.7918 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005764/0.2302, allocations: 463.7 kB / 0.7923 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.2304, allocations: 182.6 kB / 0.7924 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.2304, allocations: 0 / 0.7924 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004786/0.2309, allocations: 349 kB / 0.7928 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.283e-06/0.2309, allocations: 0 / 0.7928 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.001033/0.232, allocations: 0.6296 MB / 0.7934 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.2321, allocations: 114.8 kB / 0.7935 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006482/0.2327, allocations: 0.6032 MB / 0.7941 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.542e-05/0.2328, allocations: 41.7 kB / 0.7941 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.233, allocations: 218.4 kB / 0.7943 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.2331, allocations: 56.09 kB / 0.7944 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/0.2334, allocations: 181.5 kB / 0.7946 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.2335, allocations: 358.8 kB / 0.7949 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.2337, allocations: 135.8 kB / 0.795 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008272/0.2345, allocations: 0.7142 MB / 0.7957 GB, free: 180 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.2349, allocations: 296.7 kB / 0.796 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2349, allocations: 0 / 0.796 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006059/0.2355, allocations: 424.8 kB / 0.7964 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2355, allocations: 13.97 kB / 0.7964 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2355, allocations: 7.938 kB / 0.7964 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2355, allocations: 4 kB / 0.7964 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.2357, allocations: 31.92 kB / 0.7965 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.2357, allocations: 15.92 kB / 0.7965 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.237, allocations: 120.1 kB / 0.7966 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.237, allocations: 15.98 kB / 0.7966 GB, free: 15.21 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.0002738/0.2373, allocations: 257.6 kB / 0.7969 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.139e-05/0.2373, allocations: 47.44 kB / 0.7969 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.606e-05/0.2374, allocations: 51.56 kB / 0.797 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.2374, allocations: 4 kB / 0.797 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.2375, allocations: 4 kB / 0.797 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.2375, allocations: 7.984 kB / 0.797 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.2378, allocations: 397.4 kB / 0.7974 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2378, allocations: 0 / 0.7974 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.246e-05/0.2379, allocations: 7.984 kB / 0.7974 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.2379, allocations: 4 kB / 0.7974 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.2379, allocations: 11.88 kB / 0.7974 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2379, allocations: 4 kB / 0.7974 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2379, allocations: 0 / 0.7974 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006304/0.2386, allocations: 0.5123 MB / 0.7979 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.2387, allocations: 128.6 kB / 0.798 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.2387, allocations: 15.92 kB / 0.798 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.2389, allocations: 11.98 kB / 0.798 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.256e-05/0.239, allocations: 35.91 kB / 0.7981 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.239, allocations: 12 kB / 0.7981 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000439/0.2394, allocations: 435 kB / 0.7985 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2395, allocations: 4 kB / 0.7985 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004215/0.2399, allocations: 107.9 kB / 0.7986 GB, free: 13.08 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.001005/0.2409, allocations: 1.111 MB / 0.7997 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005231/0.2414, allocations: 352.2 kB / 0.8 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2414, allocations: 0 / 0.8 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.2417, allocations: 195.9 kB / 0.8002 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.242, allocations: 33.95 kB / 0.8002 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00501/0.247, allocations: 4.504 MB / 0.8046 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.2474, allocations: 0.8347 MB / 0.8055 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000221/0.2476, allocations: 94.92 kB / 0.8055 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.2478, allocations: 127.4 kB / 0.8057 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of SimCode: time 3.91e-07/0.2478, allocations: 0 / 0.8057 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.2697, allocations: 11.08 MB / 0.8165 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/0.2699, allocations: 216.3 kB / 0.8167 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.159, allocations: 0 / 0.8167 GB, free: 10.53 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/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)