Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.526/2.526, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001533, allocations: 173.3 kB / 325.6 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.451/2.451, allocations: 205.4 MB / 0.5766 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 91.8 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004698, allocations: 13.09 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2195, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001564/0.2211, allocations: 1.028 MB / 0.8999 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005046/0.2216, allocations: 189.4 kB / 0.9001 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.289e-05/0.2217, allocations: 0 / 0.9001 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.637e-05/0.2218, allocations: 3.938 kB / 0.9001 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.298e-05/0.2219, allocations: 12 kB / 0.9001 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.2221, allocations: 27.91 kB / 0.9001 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.2222, allocations: 35.89 kB / 0.9002 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.2224, allocations: 15.98 kB / 0.9002 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.395e-05/0.2224, allocations: 12 kB / 0.9002 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.652e-05/0.2225, allocations: 31.78 kB / 0.9002 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.2225, allocations: 4 kB / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.653e-05/0.2225, allocations: 4 kB / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.44e-05/0.2226, allocations: 11.98 kB / 0.9002 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.2226, allocations: 37.64 kB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.08e-05/0.2227, allocations: 59.81 kB / 0.9003 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.2227, allocations: 0 / 0.9003 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2227, allocations: 0 / 0.9003 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2228, allocations: 0 / 0.9003 GB, free: 64.01 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005046/0.2233, allocations: 385.1 kB / 0.9007 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2233, allocations: 12.03 kB / 0.9007 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.2234, allocations: 7.906 kB / 0.9007 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.2235, allocations: 183 kB / 0.9009 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.2236, allocations: 4 kB / 0.9009 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.2236, allocations: 8 kB / 0.9009 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.2239, allocations: 89.56 kB / 0.901 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2239, allocations: 0 / 0.901 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.2239, allocations: 3.938 kB / 0.901 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.2239, allocations: 4 kB / 0.901 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.224, allocations: 35.98 kB / 0.901 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006723/0.2247, allocations: 348.7 kB / 0.9014 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.225, allocations: 122.4 kB / 0.9015 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.225, allocations: 0 / 0.9015 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.2252, allocations: 87.41 kB / 0.9016 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.014e-06/0.2252, allocations: 0 / 0.9016 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0003796/0.2256, allocations: 153.5 kB / 0.9017 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.2257, allocations: 59.36 kB / 0.9018 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.2258, allocations: 133.6 kB / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.2258, allocations: 30.08 kB / 0.9019 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.2259, allocations: 92.08 kB / 0.902 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.2259, allocations: 15.73 kB / 0.902 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/0.2259, allocations: 8 kB / 0.902 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.137e-05/0.226, allocations: 318.8 kB / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.575e-05/0.2261, allocations: 43.97 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.2262, allocations: 63.03 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.422e-05/0.2263, allocations: 35.98 kB / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2264, allocations: 0 / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002618/0.2266, allocations: 129.7 kB / 0.9026 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2267, allocations: 8 kB / 0.9026 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2267, allocations: 0 / 0.9026 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2267, allocations: 4.031 kB / 0.9026 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.2268, allocations: 11.94 kB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.2268, allocations: 7.938 kB / 0.9026 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.227, allocations: 4 kB / 0.9026 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.297e-05/0.2271, allocations: 27.95 kB / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001107/0.2272, allocations: 121.8 kB / 0.9028 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.2272, allocations: 7.906 kB / 0.9028 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.2273, allocations: 8.375 kB / 0.9028 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.2273, allocations: 8 kB / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2273, allocations: 0 / 0.9028 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2273, allocations: 3.953 kB / 0.9028 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/0.2278, allocations: 410.3 kB / 0.9032 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2279, allocations: 0 / 0.9032 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.2279, allocations: 7.922 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.2279, allocations: 4 kB / 0.9032 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.2279, allocations: 4 kB / 0.9032 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2279, allocations: 7.953 kB / 0.9032 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2279, allocations: 4 kB / 0.9032 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.2282, allocations: 219.3 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.2282, allocations: 77.11 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.2283, allocations: 4.188 kB / 0.9035 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2284, allocations: 0 / 0.9035 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.2285, allocations: 19.88 kB / 0.9035 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.554e-05/0.2285, allocations: 31.98 kB / 0.9035 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.841e-05/0.2286, allocations: 103.4 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2286, allocations: 0 / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003261/0.2289, allocations: 23.91 kB / 0.9037 GB, free: 60.25 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001189/0.2291, allocations: 101.3 kB / 0.9038 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.2293, allocations: 87.89 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2293, allocations: 3.938 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.2295, allocations: 47.97 kB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.23, allocations: 63 kB / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000457/0.2305, allocations: 213.1 kB / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.2307, allocations: 0.7003 MB / 0.9048 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.732e-05/0.2307, allocations: 20.42 kB / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.89e-05/0.2308, allocations: 19.42 kB / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of SimCode: time 8.22e-07/0.2308, allocations: 0 / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.004956/0.2358, allocations: 1.507 MB / 0.9064 GB, free: 57.44 MB / 0.6042 GB