Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.728/1.728, allocations: 288.4 MB / 303.7 MB, free: 8.117 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.001237/0.001237, allocations: 190.6 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.4 MB / 0.631 GB, free: 9.863 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.001269/0.00127, allocations: 94.3 kB / 0.7444 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006811/0.0006812, allocations: 15.58 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3001, allocations: 115.3 MB / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0008577/0.3011, allocations: 346 kB / 0.9805 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004574/0.3015, allocations: 180.4 kB / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/0.3016, allocations: 4 kB / 0.9807 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.3017, allocations: 0 / 0.9807 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-05/0.3018, allocations: 11.92 kB / 0.9807 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.3021, allocations: 35.97 kB / 0.9807 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.3022, allocations: 51.83 kB / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.3024, allocations: 8 kB / 0.9808 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.195e-05/0.3024, allocations: 19.98 kB / 0.9808 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.295e-05/0.3025, allocations: 23.91 kB / 0.9808 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.3026, allocations: 0 / 0.9808 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.838e-05/0.3026, allocations: 4 kB / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.3026, allocations: 19.92 kB / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.3027, allocations: 45.58 kB / 0.9809 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.3028, allocations: 55.81 kB / 0.9809 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.3028, allocations: 0 / 0.9809 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.013e-06/0.3028, allocations: 0 / 0.9809 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.3029, allocations: 0 / 0.9809 GB, free: 26.52 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.0006232/0.3035, allocations: 397.2 kB / 0.9813 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.3035, allocations: 8.031 kB / 0.9813 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.713e-05/0.3036, allocations: 8.844 kB / 0.9813 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.3038, allocations: 184.3 kB / 0.9815 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.3038, allocations: 384 / 0.9815 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.3039, allocations: 8.375 kB / 0.9815 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.304, allocations: 82.2 kB / 0.9816 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3041, allocations: 4.125 kB / 0.9816 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.3041, allocations: 7.938 kB / 0.9816 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.3041, allocations: 0 / 0.9816 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.813e-05/0.3042, allocations: 35.98 kB / 0.9816 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006208/0.3048, allocations: 356.5 kB / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.305, allocations: 110.5 kB / 0.9821 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.501e-05/0.3051, allocations: 68.84 kB / 0.9821 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.3051, allocations: 4 kB / 0.9821 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.3053, allocations: 87.25 kB / 0.9822 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.3054, allocations: 4 kB / 0.9822 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002907/0.3057, allocations: 157.5 kB / 0.9824 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.3057, allocations: 51.41 kB / 0.9824 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.162e-05/0.3058, allocations: 125.7 kB / 0.9825 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.3058, allocations: 29.7 kB / 0.9826 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.3059, allocations: 92.12 kB / 0.9827 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.3059, allocations: 15.81 kB / 0.9827 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.488e-05/0.3059, allocations: 0 / 0.9827 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.537e-05/0.306, allocations: 330.8 kB / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.091e-05/0.3061, allocations: 31.98 kB / 0.983 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-05/0.3061, allocations: 58.59 kB / 0.9831 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.3062, allocations: 94.47 kB / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3062, allocations: 0 / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001475/0.3064, allocations: 133.6 kB / 0.9833 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3064, allocations: 8.031 kB / 0.9833 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3064, allocations: 0 / 0.9833 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3065, allocations: 0 / 0.9833 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.009e-05/0.3065, allocations: 19.92 kB / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3065, allocations: 4.062 kB / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.3066, allocations: 11.84 kB / 0.9833 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.3067, allocations: 23.95 kB / 0.9834 GB, free: 23.77 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 8.854e-05/0.3068, allocations: 131.3 kB / 0.9835 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.3068, allocations: 8 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.3068, allocations: 12.38 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3068, allocations: 4 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3068, allocations: 0 / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3068, allocations: 0 / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003493/0.3072, allocations: 418.6 kB / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3072, allocations: 0 / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.367e-05/0.3072, allocations: 7.938 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3072, allocations: 0 / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3073, allocations: 4 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3073, allocations: 0 / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3073, allocations: 0 / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.3074, allocations: 223.3 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.3075, allocations: 81.11 kB / 0.9842 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.3075, allocations: 4 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.254e-05/0.3076, allocations: 0 / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.3076, allocations: 11.92 kB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.3077, allocations: 35.94 kB / 0.9843 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.121e-05/0.3077, allocations: 103.9 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3077, allocations: 0 / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002164/0.3079, allocations: 19.84 kB / 0.9844 GB, free: 22.64 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.0001312/0.3081, allocations: 103.2 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001807/0.3083, allocations: 87.89 kB / 0.9846 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3083, allocations: 0 / 0.9846 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.165e-05/0.3083, allocations: 51.97 kB / 0.9846 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.3088, allocations: 70.84 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.3092, allocations: 201.5 kB / 0.9849 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.3094, allocations: 0.6965 MB / 0.9855 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.266e-05/0.3095, allocations: 16.56 kB / 0.9856 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.3095, allocations: 23.38 kB / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.3095, allocations: 3.938 kB / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.003491/0.313, allocations: 1.534 MB / 0.9871 GB, free: 19.82 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)