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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.486/1.486, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001574/0.001574, allocations: 187.2 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001073/0.001073, allocations: 93.97 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003477, allocations: 8.938 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2857, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001769/0.2875, allocations: 1.047 MB / 0.9012 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005753/0.2882, allocations: 181.6 kB / 0.9013 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.303e-05/0.2882, allocations: 0 / 0.9013 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.2884, allocations: 3.984 kB / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.202e-05/0.2884, allocations: 0 / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.2888, allocations: 43.83 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.2889, allocations: 27.97 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.289, allocations: 15.98 kB / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.502e-05/0.2891, allocations: 15.94 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.621e-05/0.2892, allocations: 27.89 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.2892, allocations: 0 / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.884e-05/0.2892, allocations: 4 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.942e-05/0.2893, allocations: 19.86 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.2893, allocations: 33.7 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.999e-05/0.2894, allocations: 43.89 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2895, allocations: 3.938 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2895, allocations: 0 / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.2895, allocations: 0 / 0.9016 GB, free: 62.34 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.0005927/0.2901, allocations: 397.2 kB / 0.902 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.2901, allocations: 8.031 kB / 0.902 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.349e-05/0.2902, allocations: 34.56 kB / 0.902 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.2902, allocations: 7.906 kB / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.2905, allocations: 190.8 kB / 0.9022 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.2905, allocations: 4 kB / 0.9022 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.2905, allocations: 4 kB / 0.9022 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.2907, allocations: 85.53 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.2907, allocations: 0 / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.2908, allocations: 7.938 kB / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.2908, allocations: 4 kB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.801e-05/0.2909, allocations: 43.97 kB / 0.9023 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006248/0.2915, allocations: 336.8 kB / 0.9027 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.2917, allocations: 126.4 kB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.2917, allocations: 4 kB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.2919, allocations: 87.41 kB / 0.9029 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.2919, allocations: 0 / 0.9029 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002761/0.2922, allocations: 157.4 kB / 0.903 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.2922, allocations: 59.36 kB / 0.9031 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.192e-05/0.2923, allocations: 133.5 kB / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.2924, allocations: 29.7 kB / 0.9032 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.2924, allocations: 92.14 kB / 0.9033 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.2924, allocations: 15.81 kB / 0.9033 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/0.2924, allocations: 3.938 kB / 0.9033 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.2925, allocations: 322.8 kB / 0.9036 GB, free: 60 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.478e-05/0.2926, allocations: 40.03 kB / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.974e-05/0.2926, allocations: 54.55 kB / 0.9037 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.075e-05/0.2927, allocations: 39.98 kB / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2927, allocations: 0 / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001599/0.2929, allocations: 133.7 kB / 0.9039 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2929, allocations: 6.031 kB / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2929, allocations: 3.984 kB / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2929, allocations: 0 / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/0.293, allocations: 8 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.293, allocations: 3.938 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.654e-05/0.2931, allocations: 15.86 kB / 0.9039 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.013e-05/0.2932, allocations: 23.95 kB / 0.904 GB, free: 59.67 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 9.448e-05/0.2933, allocations: 125.9 kB / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.2933, allocations: 4 kB / 0.9041 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.361e-05/0.2933, allocations: 12.38 kB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.2934, allocations: 4 kB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.2934, allocations: 0 / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2934, allocations: 3.984 kB / 0.9041 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.2937, allocations: 410.3 kB / 0.9045 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2938, allocations: 4 kB / 0.9045 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.431e-05/0.2938, allocations: 11.94 kB / 0.9045 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2938, allocations: 480 / 0.9045 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.2938, allocations: 3.984 kB / 0.9045 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2938, allocations: 0 / 0.9045 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.2938, allocations: 3.953 kB / 0.9045 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.294, allocations: 219.3 kB / 0.9047 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.294, allocations: 85.02 kB / 0.9048 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.2941, allocations: 11.92 kB / 0.9048 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.552e-05/0.2941, allocations: 4 kB / 0.9048 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.2942, allocations: 11.94 kB / 0.9048 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/0.2942, allocations: 31.95 kB / 0.9049 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.269e-05/0.2943, allocations: 95.27 kB / 0.9049 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2943, allocations: 0 / 0.9049 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002359/0.2945, allocations: 16 kB / 0.905 GB, free: 58.53 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.0003905/0.2949, allocations: 0.7535 MB / 0.9057 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.2951, allocations: 87.89 kB / 0.9058 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2951, allocations: 0 / 0.9058 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.475e-05/0.2952, allocations: 47.91 kB / 0.9058 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.2955, allocations: 60.06 kB / 0.9059 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006244/0.2962, allocations: 0.7212 MB / 0.9066 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.2963, allocations: 0.7043 MB / 0.9073 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.395e-05/0.2964, allocations: 16.41 kB / 0.9073 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.2965, allocations: 35.31 kB / 0.9073 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of SimCode: time 5.1e-07/0.2965, allocations: 0 / 0.9073 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01506/0.3115, allocations: 2.51 MB / 0.9098 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/0.3118, allocations: 208.2 kB / 0.91 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/1.859, allocations: 0 / 0.91 GB, free: 53.43 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck_fmu --startTime=0 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)