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.424/1.424, allocations: 252 MB / 267.3 MB, free: 10.83 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.001189/0.001189, allocations: 178.3 kB / 327 MB, free: 2.094 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.646/1.646, allocations: 205.4 MB / 0.578 GB, free: 20.38 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.0008799/0.0008797, allocations: 82.38 kB / 0.6826 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.000361, allocations: 14.61 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2752, allocations: 106.3 MB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001638/0.2769, allocations: 1.057 MB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004621/0.2774, allocations: 187.4 kB / 0.9021 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/0.2775, allocations: 0 / 0.9021 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.2776, allocations: 3.938 kB / 0.9021 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.076e-05/0.2777, allocations: 3.984 kB / 0.9021 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.278, allocations: 39.91 kB / 0.9022 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.2781, allocations: 51.89 kB / 0.9022 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.2782, allocations: 12 kB / 0.9022 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.461e-05/0.2783, allocations: 23.92 kB / 0.9023 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.042e-05/0.2784, allocations: 27.84 kB / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.2784, allocations: 0 / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.61e-05/0.2784, allocations: 4 kB / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.2785, allocations: 11.98 kB / 0.9023 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.151e-05/0.2786, allocations: 49.52 kB / 0.9024 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.2787, allocations: 59.75 kB / 0.9024 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2787, allocations: 4 kB / 0.9024 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.694e-06/0.2787, allocations: 0 / 0.9024 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2787, allocations: 0 / 0.9024 GB, free: 62.17 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.0005912/0.2793, allocations: 389.4 kB / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.2794, allocations: 8.031 kB / 0.9028 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.2794, allocations: 42.73 kB / 0.9028 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.2795, allocations: 8.844 kB / 0.9028 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.2796, allocations: 188.2 kB / 0.903 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.2797, allocations: 4.375 kB / 0.903 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.2797, allocations: 12.36 kB / 0.903 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.2799, allocations: 82.16 kB / 0.9031 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2799, allocations: 3.938 kB / 0.9031 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.2799, allocations: 11.98 kB / 0.9031 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2799, allocations: 0 / 0.9031 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.063e-05/0.28, allocations: 39.98 kB / 0.9032 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.2806, allocations: 348.6 kB / 0.9035 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.2807, allocations: 106.5 kB / 0.9036 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.601e-05/0.2808, allocations: 76.84 kB / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.2808, allocations: 0 / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.281, allocations: 91.25 kB / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.2811, allocations: 0 / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002953/0.2814, allocations: 153.5 kB / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.2814, allocations: 55.41 kB / 0.904 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.2815, allocations: 129.6 kB / 0.9041 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.2816, allocations: 33.7 kB / 0.9041 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.2816, allocations: 96.03 kB / 0.9042 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.2817, allocations: 19.88 kB / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.2817, allocations: 0 / 0.9042 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2818, allocations: 322.9 kB / 0.9045 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.432e-05/0.2819, allocations: 39.92 kB / 0.9046 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.027e-05/0.2819, allocations: 54.55 kB / 0.9046 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.2821, allocations: 98.48 kB / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2821, allocations: 0 / 0.9047 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001646/0.2822, allocations: 133.5 kB / 0.9048 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2823, allocations: 4 kB / 0.9049 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2823, allocations: 0 / 0.9049 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.2823, allocations: 4 kB / 0.9049 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.595e-05/0.2824, allocations: 11.92 kB / 0.9049 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.2824, allocations: 0 / 0.9049 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.2825, allocations: 8.031 kB / 0.9049 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-05/0.2826, allocations: 27.95 kB / 0.9049 GB, free: 59.36 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.2828, allocations: 130.4 kB / 0.905 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.2828, allocations: 3.906 kB / 0.905 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.2828, allocations: 12.38 kB / 0.905 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2828, allocations: 0 / 0.905 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2829, allocations: 0 / 0.905 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.2829, allocations: 0 / 0.905 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.2833, allocations: 426.6 kB / 0.9054 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2833, allocations: 4 kB / 0.9055 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.167e-05/0.2833, allocations: 96 / 0.9055 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2833, allocations: 3.938 kB / 0.9055 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.2833, allocations: 4 kB / 0.9055 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2833, allocations: 0 / 0.9055 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.2834, allocations: 3.984 kB / 0.9055 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.2835, allocations: 227.3 kB / 0.9057 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.2836, allocations: 84.95 kB / 0.9058 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.2836, allocations: 8 kB / 0.9058 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.623e-05/0.2837, allocations: 7.984 kB / 0.9058 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.2837, allocations: 7.938 kB / 0.9058 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.2838, allocations: 35.94 kB / 0.9058 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.102e-05/0.2838, allocations: 91.92 kB / 0.9059 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2838, allocations: 0 / 0.9059 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002125/0.2841, allocations: 12 kB / 0.9059 GB, free: 58.22 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004242/0.2845, allocations: 0.7571 MB / 0.9067 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001643/0.2847, allocations: 91.89 kB / 0.9067 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2847, allocations: 0 / 0.9067 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.568e-05/0.2847, allocations: 47.91 kB / 0.9068 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.2852, allocations: 75.5 kB / 0.9069 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.2865, allocations: 1.574 MB / 0.9084 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.2867, allocations: 0.6926 MB / 0.9091 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.516e-05/0.2867, allocations: 12.42 kB / 0.9091 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.2868, allocations: 27.42 kB / 0.9091 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2868, allocations: 0 / 0.9091 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01254/0.2994, allocations: 2.542 MB / 0.9116 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/0.2995, allocations: 222.8 kB / 0.9118 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/2.313, allocations: 4 kB / 0.9118 GB, free: 52.19 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)