Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType.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.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.625/2.625, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.002819/0.002818, allocations: 183.1 kB / 325.6 MB, free: 2.816 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.609/2.609, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.001198/0.001198, allocations: 93.45 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004631/0.0004631, allocations: 12.12 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2186, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.003132/0.2218, allocations: 1.123 MB / 0.9 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.223, allocations: 272.1 kB / 0.9002 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.562e-05/0.2231, allocations: 4 kB / 0.9002 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.2233, allocations: 11.92 kB / 0.9002 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.589e-05/0.2234, allocations: 23.84 kB / 0.9003 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005621/0.2239, allocations: 75.84 kB / 0.9003 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004544/0.2244, allocations: 140.2 kB / 0.9005 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.439e-05/0.2245, allocations: 13.09 kB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.2247, allocations: 79.81 kB / 0.9006 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.225, allocations: 111.7 kB / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.909e-05/0.2251, allocations: 12 kB / 0.9007 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.536e-05/0.2252, allocations: 8 kB / 0.9007 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.2254, allocations: 67.8 kB / 0.9008 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.456e-05/0.2255, allocations: 65.56 kB / 0.9008 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.2259, allocations: 171.7 kB / 0.901 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2259, allocations: 0 / 0.901 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2259, allocations: 0 / 0.901 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.2259, allocations: 0 / 0.901 GB, free: 63.29 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.00163/0.2276, allocations: 0.6279 MB / 0.9016 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.2276, allocations: 8.031 kB / 0.9016 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.943e-05/0.2277, allocations: 27.72 kB / 0.9016 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.2281, allocations: 265.5 kB / 0.9019 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.2281, allocations: 12.28 kB / 0.9019 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.394e-05/0.2282, allocations: 16 kB / 0.9019 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007781/0.229, allocations: 458.8 kB / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.229, allocations: 0 / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.2291, allocations: 3.984 kB / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-06/0.2291, allocations: 7.938 kB / 0.9024 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005397/0.2296, allocations: 319.8 kB / 0.9027 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008023/0.2305, allocations: 0.5779 MB / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.2321, allocations: 1.018 MB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.631e-05/0.2322, allocations: 8.016 kB / 0.9042 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008038/0.233, allocations: 479 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 2.925e-06/0.233, allocations: 0 / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.002076/0.2351, allocations: 1.109 MB / 0.9058 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.2352, allocations: 140.5 kB / 0.9059 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.2355, allocations: 252.9 kB / 0.9061 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.2356, allocations: 37.7 kB / 0.9062 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/0.2356, allocations: 125.1 kB / 0.9063 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.317e-05/0.2358, allocations: 90.86 kB / 0.9064 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.2358, allocations: 4 kB / 0.9064 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.506e-05/0.2359, allocations: 350.7 kB / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/0.2364, allocations: 328.7 kB / 0.907 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005996/0.2371, allocations: 418.4 kB / 0.9074 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000624/0.2377, allocations: 359.8 kB / 0.9078 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.2377, allocations: 4 kB / 0.9078 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001485/0.2392, allocations: 0.8234 MB / 0.9086 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.2393, allocations: 8 kB / 0.9086 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.2393, allocations: 4 kB / 0.9086 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.918e-05/0.2393, allocations: 7.938 kB / 0.9086 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.2396, allocations: 39.91 kB / 0.9086 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.2396, allocations: 7.984 kB / 0.9086 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/0.2401, allocations: 31.69 kB / 0.9087 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004211/0.2405, allocations: 268.1 kB / 0.9089 GB, free: 54.79 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.skipIDayIncrement,$whenCondition4,dayTypMonThr.sampleTrigger,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],$PRE.dayTypMonThr.iDay,dayTypMonThr.iDay,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.skipIDayIncrement,$whenCondition3,dayTypTwoWeeks.sampleTrigger,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.iDay,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,$whenCondition2,dayTypSat.sampleTrigger,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.skipIDayIncrement,$whenCondition1,dayTypMon.sampleTrigger,dayTypMon.y[1],dayTypMon.y[2],$PRE.dayTypMon.iDay,dayTypMon.iDay) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0002801/0.2408, allocations: 197.6 kB / 0.9091 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-05/0.2409, allocations: 31.89 kB / 0.9092 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.314e-05/0.241, allocations: 34.19 kB / 0.9092 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.241, allocations: 11.98 kB / 0.9092 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.241, allocations: 3.938 kB / 0.9092 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.241, allocations: 3.984 kB / 0.9092 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002696/0.2437, allocations: 1.71 MB / 0.9109 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.2438, allocations: 0 / 0.9109 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.476e-05/0.2439, allocations: 23.92 kB / 0.9109 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.2439, allocations: 0 / 0.9109 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-05/0.2439, allocations: 27.97 kB / 0.9109 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.244, allocations: 0 / 0.9109 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.244, allocations: 3.938 kB / 0.9109 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.2454, allocations: 1.149 MB / 0.9121 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.134e-05/0.2455, allocations: 116.6 kB / 0.9122 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.062e-05/0.2456, allocations: 8 kB / 0.9122 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000457/0.2461, allocations: 8.125 kB / 0.9122 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.2463, allocations: 55.92 kB / 0.9122 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004219/0.2467, allocations: 279.4 kB / 0.9125 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002052/0.2469, allocations: 168.5 kB / 0.9127 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2469, allocations: 3.938 kB / 0.9127 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006806/0.2476, allocations: 67.98 kB / 0.9127 GB, free: 50.78 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.y[1],dayTypMon.y[2],dayTypMon.iDay,dayTypMon.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],dayTypTwoWeeks.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],dayTypMonThr.iDay,dayTypMonThr.skipIDayIncrement) * Number of discrete states: 8 (dayTypMonThr.skipIDayIncrement,dayTypMonThr.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.iDay,dayTypSat.skipIDayIncrement,dayTypSat.iDay,dayTypMon.skipIDayIncrement,dayTypMon.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001889/0.2478, allocations: 134.2 kB / 0.9129 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.2492, allocations: 0.7262 MB / 0.9136 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2492, allocations: 3.938 kB / 0.9136 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007805/0.25, allocations: 402.1 kB / 0.914 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/0.2523, allocations: 314.4 kB / 0.9143 GB, free: 49.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.2542, allocations: 1.021 MB / 0.9152 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.2545, allocations: 0.7608 MB / 0.916 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004697/0.255, allocations: 102.9 kB / 0.9161 GB, free: 47.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.2552, allocations: 71.38 kB / 0.9162 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of SimCode: time 1.052e-06/0.2552, allocations: 0 / 0.9162 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of Templates: time 0.01807/0.2733, allocations: 8.138 MB / 0.9241 GB, free: 39.14 MB / 0.6042 GB