Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.262/3.262, allocations: 287.3 MB / 302.3 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0029/0.002899, allocations: 186.7 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.486/2.486, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00167/0.00167, allocations: 98.31 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006666/0.0006669, allocations: 11.66 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2233, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0008334/0.2242, allocations: 349.8 kB / 0.9785 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00048/0.2247, allocations: 176.6 kB / 0.9787 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.2247, allocations: 3.938 kB / 0.9787 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.377e-05/0.2248, allocations: 3.938 kB / 0.9787 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.79e-05/0.2249, allocations: 7.984 kB / 0.9787 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.2251, allocations: 27.92 kB / 0.9787 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.2252, allocations: 47.88 kB / 0.9788 GB, free: 27.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.2253, allocations: 8 kB / 0.9788 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.244e-05/0.2254, allocations: 15.92 kB / 0.9788 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.611e-05/0.2255, allocations: 19.92 kB / 0.9788 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.2255, allocations: 7.984 kB / 0.9788 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.916e-05/0.2255, allocations: 4 kB / 0.9788 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.499e-05/0.2256, allocations: 15.92 kB / 0.9789 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.533e-05/0.2256, allocations: 33.7 kB / 0.9789 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.333e-05/0.2257, allocations: 47.89 kB / 0.9789 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.2257, allocations: 3.938 kB / 0.9789 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2257, allocations: 0 / 0.9789 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.2257, allocations: 0 / 0.9789 GB, free: 27.62 MB / 0.6198 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.0005079/0.2263, allocations: 401 kB / 0.9793 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.2263, allocations: 8.031 kB / 0.9793 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.2264, allocations: 7.906 kB / 0.9793 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.2265, allocations: 182.9 kB / 0.9795 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.2266, allocations: 4 kB / 0.9795 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.2266, allocations: 11.94 kB / 0.9795 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.2268, allocations: 77.66 kB / 0.9796 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2268, allocations: 0 / 0.9796 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.2269, allocations: 11.98 kB / 0.9796 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.2269, allocations: 0 / 0.9796 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.227, allocations: 39.92 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006393/0.2276, allocations: 348.6 kB / 0.98 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.2279, allocations: 114.5 kB / 0.9801 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.2279, allocations: 240 / 0.9801 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.2281, allocations: 103.3 kB / 0.9802 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.793e-06/0.2282, allocations: 0 / 0.9802 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003695/0.2285, allocations: 149.5 kB / 0.9803 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.2286, allocations: 55.41 kB / 0.9804 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.387e-05/0.2287, allocations: 133.8 kB / 0.9805 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.2287, allocations: 25.7 kB / 0.9805 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.2288, allocations: 92.05 kB / 0.9806 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.2288, allocations: 23.84 kB / 0.9807 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-06/0.2288, allocations: 0 / 0.9807 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.273e-05/0.2289, allocations: 314.8 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.278e-05/0.229, allocations: 39.97 kB / 0.981 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.2291, allocations: 58.94 kB / 0.981 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.191e-05/0.2292, allocations: 39.92 kB / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2292, allocations: 0 / 0.9811 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00025/0.2295, allocations: 129.5 kB / 0.9812 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.2295, allocations: 7.938 kB / 0.9812 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2295, allocations: 48 / 0.9812 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.2296, allocations: 7.984 kB / 0.9812 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.834e-05/0.2297, allocations: 8 kB / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.2297, allocations: 0 / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.2298, allocations: 19.91 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.573e-05/0.2299, allocations: 23.95 kB / 0.9813 GB, free: 25 MB / 0.6198 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.000105/0.23, allocations: 127.1 kB / 0.9814 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.23, allocations: 7.906 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.2301, allocations: 16.36 kB / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2301, allocations: 0 / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2301, allocations: 4 kB / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2301, allocations: 0 / 0.9814 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.2306, allocations: 414.4 kB / 0.9818 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2307, allocations: 0 / 0.9818 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.877e-05/0.2307, allocations: 7.984 kB / 0.9818 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2307, allocations: 0 / 0.9818 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.2307, allocations: 0 / 0.9818 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2307, allocations: 3.938 kB / 0.9818 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.2307, allocations: 7.953 kB / 0.9818 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.231, allocations: 219.3 kB / 0.982 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.231, allocations: 85.02 kB / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.2311, allocations: 4 kB / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.2312, allocations: 0 / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.2312, allocations: 11.98 kB / 0.9821 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-05/0.2313, allocations: 31.84 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.552e-05/0.2314, allocations: 99.27 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2314, allocations: 0 / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003198/0.2317, allocations: 16.12 kB / 0.9823 GB, free: 23.87 MB / 0.6198 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.0001149/0.2318, allocations: 109.1 kB / 0.9824 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.2321, allocations: 95.83 kB / 0.9825 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2321, allocations: 0 / 0.9825 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.2322, allocations: 43.92 kB / 0.9825 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/0.2327, allocations: 57.61 kB / 0.9826 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004448/0.2332, allocations: 217.2 kB / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.2334, allocations: 0.6926 MB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.481e-05/0.2335, allocations: 16.42 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.2335, allocations: 15.44 kB / 0.9835 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of SimCode: time 1.483e-06/0.2335, allocations: 0 / 0.9835 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of Templates: time 0.004931/0.2385, allocations: 1.513 MB / 0.985 GB, free: 21.08 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)