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 2.018/2.018, allocations: 288.4 MB / 303.4 MB, free: 8.242 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.0009899/0.0009901, allocations: 188.4 kB / 372 MB, free: 10.25 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.577/1.577, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.001026/0.001026, allocations: 90.41 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004771/0.0004771, allocations: 11.59 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2904, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001137/0.2917, allocations: 346 kB / 0.9799 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005741/0.2923, allocations: 180.4 kB / 0.9801 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.54e-05/0.2924, allocations: 0 / 0.9801 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.2925, allocations: 7.984 kB / 0.9801 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.542e-05/0.2925, allocations: 7.938 kB / 0.9801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.2929, allocations: 31.97 kB / 0.9801 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.293, allocations: 47.84 kB / 0.9802 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.2931, allocations: 15.98 kB / 0.9802 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.593e-05/0.2932, allocations: 19.92 kB / 0.9802 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.319e-05/0.2933, allocations: 19.91 kB / 0.9802 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.2933, allocations: 4 kB / 0.9802 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.534e-05/0.2933, allocations: 0 / 0.9802 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.2934, allocations: 19.97 kB / 0.9803 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/0.2934, allocations: 41.64 kB / 0.9803 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.362e-05/0.2935, allocations: 47.84 kB / 0.9804 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.2935, allocations: 0 / 0.9804 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2935, allocations: 0 / 0.9804 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.2936, allocations: 0 / 0.9804 GB, free: 26.86 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.0006176/0.2942, allocations: 393 kB / 0.9807 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.2942, allocations: 8.031 kB / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.2943, allocations: 7.906 kB / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.2944, allocations: 183 kB / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.2945, allocations: 4 kB / 0.9809 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.2945, allocations: 8 kB / 0.9809 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.2947, allocations: 85.58 kB / 0.981 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2947, allocations: 3.938 kB / 0.981 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.2947, allocations: 4 kB / 0.981 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2947, allocations: 0 / 0.981 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.097e-05/0.2948, allocations: 39.97 kB / 0.9811 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000571/0.2954, allocations: 348.6 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.2956, allocations: 118.5 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.213e-05/0.2957, allocations: 68.84 kB / 0.9816 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.2957, allocations: 4 kB / 0.9816 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.2959, allocations: 79.38 kB / 0.9816 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.2959, allocations: 0 / 0.9816 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002659/0.2962, allocations: 157.5 kB / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.2962, allocations: 59.39 kB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.51e-05/0.2963, allocations: 125.7 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.2963, allocations: 29.7 kB / 0.982 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.2964, allocations: 96.03 kB / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.2964, allocations: 19.88 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/0.2964, allocations: 0 / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.646e-05/0.2965, allocations: 322.8 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.883e-05/0.2965, allocations: 35.98 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.897e-05/0.2966, allocations: 58.59 kB / 0.9825 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.774e-05/0.2967, allocations: 43.97 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2967, allocations: 0 / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001493/0.2968, allocations: 125.5 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2969, allocations: 4 kB / 0.9827 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2969, allocations: 384 / 0.9827 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2969, allocations: 4.031 kB / 0.9827 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.297, allocations: 15.92 kB / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.297, allocations: 0 / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.365e-05/0.2971, allocations: 11.88 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.858e-05/0.2971, allocations: 35.91 kB / 0.9827 GB, free: 24.18 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.0001084/0.2973, allocations: 121.8 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.2973, allocations: 3.906 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.2973, allocations: 12.38 kB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2973, allocations: 4 kB / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2973, allocations: 0 / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2973, allocations: 0 / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.2977, allocations: 422.3 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2977, allocations: 0 / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.075e-05/0.2977, allocations: 4 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2977, allocations: 0 / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.2977, allocations: 8 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2978, allocations: 0 / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.2978, allocations: 0 / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.2979, allocations: 223.3 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.298, allocations: 85.02 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.298, allocations: 0 / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.347e-05/0.2981, allocations: 7.984 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.2981, allocations: 11.98 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.2982, allocations: 23.95 kB / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.416e-05/0.2982, allocations: 107.8 kB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2982, allocations: 4 kB / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002117/0.2984, allocations: 19.94 kB / 0.9838 GB, free: 23.04 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.0001277/0.2986, allocations: 104.2 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.2987, allocations: 92.08 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2988, allocations: 0 / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.816e-05/0.2988, allocations: 51.91 kB / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.2993, allocations: 61.48 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.2997, allocations: 213 kB / 0.9842 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.2999, allocations: 0.6889 MB / 0.9849 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.451e-05/0.2999, allocations: 24.41 kB / 0.9849 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.3, allocations: 15.44 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.3, allocations: 0 / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of Templates: time 0.003603/0.3036, allocations: 1.517 MB / 0.9864 GB, free: 20.25 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)