Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.537/1.537, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 186.9 kB / 327.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.4 MB / 0.5783 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008242/0.0008242, allocations: 86.36 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 11.81 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2131, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001411/0.2145, allocations: 1.037 MB / 0.9018 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004593/0.215, allocations: 191.4 kB / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.2151, allocations: 4 kB / 0.902 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.104e-05/0.2152, allocations: 0 / 0.902 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.745e-05/0.2153, allocations: 7.922 kB / 0.902 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.2155, allocations: 35.95 kB / 0.9021 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.2156, allocations: 51.83 kB / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2158, allocations: 12 kB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.061e-05/0.2158, allocations: 23.92 kB / 0.9022 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.2159, allocations: 15.92 kB / 0.9022 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.2159, allocations: 3.984 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.605e-05/0.2159, allocations: 4 kB / 0.9022 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.247e-05/0.216, allocations: 11.98 kB / 0.9022 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.216, allocations: 37.64 kB / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.284e-05/0.2161, allocations: 47.91 kB / 0.9023 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2161, allocations: 0 / 0.9023 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2161, allocations: 0 / 0.9023 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2161, allocations: 4 kB / 0.9023 GB, free: 62.41 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.0004525/0.2166, allocations: 393 kB / 0.9027 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.2166, allocations: 8.031 kB / 0.9027 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.2166, allocations: 7.906 kB / 0.9027 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.2168, allocations: 194.8 kB / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.2168, allocations: 4 kB / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.2168, allocations: 8 kB / 0.9029 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.217, allocations: 81.59 kB / 0.9029 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.217, allocations: 0 / 0.9029 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.217, allocations: 4 kB / 0.9029 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.217, allocations: 0 / 0.9029 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.423e-05/0.2171, allocations: 39.97 kB / 0.903 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.2176, allocations: 340.8 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.2178, allocations: 118.5 kB / 0.9034 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.655e-05/0.2179, allocations: 68.91 kB / 0.9035 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.2179, allocations: 7.922 kB / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.2181, allocations: 83.38 kB / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.2181, allocations: 0 / 0.9036 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002542/0.2183, allocations: 157.5 kB / 0.9037 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.2184, allocations: 59.3 kB / 0.9038 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/0.2185, allocations: 133.6 kB / 0.9039 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.2185, allocations: 33.7 kB / 0.9039 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.2185, allocations: 88.14 kB / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.2185, allocations: 15.75 kB / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.2186, allocations: 4 kB / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.918e-05/0.2186, allocations: 318.8 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-05/0.2187, allocations: 35.97 kB / 0.9044 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.582e-05/0.2187, allocations: 54.56 kB / 0.9044 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.05e-05/0.2188, allocations: 39.98 kB / 0.9045 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2188, allocations: 0 / 0.9045 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001552/0.219, allocations: 129.5 kB / 0.9046 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.219, allocations: 8 kB / 0.9046 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.219, allocations: 0 / 0.9046 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.219, allocations: 0 / 0.9046 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.2191, allocations: 11.94 kB / 0.9046 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.2191, allocations: 4.109 kB / 0.9046 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.215e-05/0.2192, allocations: 19.8 kB / 0.9046 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/0.2193, allocations: 31.97 kB / 0.9047 GB, free: 59.73 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 7.613e-05/0.2193, allocations: 118.5 kB / 0.9048 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.2194, allocations: 4 kB / 0.9048 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.2194, allocations: 12.36 kB / 0.9048 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2194, allocations: 4 kB / 0.9048 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2194, allocations: 0 / 0.9048 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2194, allocations: 4.406 kB / 0.9048 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.2197, allocations: 430.1 kB / 0.9052 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.2197, allocations: 0 / 0.9052 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.158e-05/0.2198, allocations: 0 / 0.9052 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2198, allocations: 4 kB / 0.9052 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2198, allocations: 7.984 kB / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2198, allocations: 0 / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2198, allocations: 3.953 kB / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.22, allocations: 215.4 kB / 0.9054 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.139e-05/0.22, allocations: 85.09 kB / 0.9055 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.22, allocations: 4 kB / 0.9055 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.2201, allocations: 0 / 0.9055 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.2201, allocations: 15.94 kB / 0.9055 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/0.2202, allocations: 27.95 kB / 0.9056 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.815e-05/0.2202, allocations: 91.27 kB / 0.9057 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2202, allocations: 0 / 0.9057 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002132/0.2204, allocations: 23.91 kB / 0.9057 GB, free: 58.6 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.0001047/0.2206, allocations: 108 kB / 0.9058 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.2207, allocations: 95.89 kB / 0.9059 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2207, allocations: 0 / 0.9059 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.008e-05/0.2208, allocations: 39.98 kB / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.2212, allocations: 68.22 kB / 0.906 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.2216, allocations: 251.2 kB / 0.9062 GB, free: 58 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.2217, allocations: 0.6926 MB / 0.9069 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.2218, allocations: 19.38 kB / 0.9069 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.2218, allocations: 0 / 0.9069 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.002837/0.2246, allocations: 1.223 MB / 0.9081 GB, free: 56.05 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)