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.411/1.411, allocations: 252 MB / 267 MB, free: 10.98 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.001152/0.001152, allocations: 183.1 kB / 326.6 MB, free: 2.219 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.023/2.023, allocations: 205.4 MB / 0.5777 GB, free: 20.51 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.0008021/0.0008021, allocations: 92.06 kB / 0.6822 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 8.844 kB / 0.7965 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2413, allocations: 106.3 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001708/0.2431, allocations: 1.033 MB / 0.9013 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005527/0.2437, allocations: 191.5 kB / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.999e-05/0.2437, allocations: 0 / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.2439, allocations: 7.922 kB / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.171e-05/0.2439, allocations: 0 / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.2442, allocations: 35.91 kB / 0.9016 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.2444, allocations: 47.91 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.2445, allocations: 19.98 kB / 0.9016 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.658e-05/0.2445, allocations: 15.92 kB / 0.9016 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.983e-05/0.2446, allocations: 23.91 kB / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.2446, allocations: 4 kB / 0.9017 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.573e-05/0.2447, allocations: 0 / 0.9017 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.229e-05/0.2447, allocations: 19.92 kB / 0.9017 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.038e-05/0.2448, allocations: 33.7 kB / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.139e-05/0.2449, allocations: 43.89 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.2449, allocations: 4 kB / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2449, allocations: 0 / 0.9018 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.2449, allocations: 0 / 0.9018 GB, free: 62.71 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.0005648/0.2455, allocations: 389.1 kB / 0.9021 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.2455, allocations: 12.03 kB / 0.9021 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.2456, allocations: 30.56 kB / 0.9022 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.2456, allocations: 7.906 kB / 0.9022 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.2458, allocations: 194.8 kB / 0.9024 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.2458, allocations: 8 kB / 0.9024 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.2458, allocations: 8 kB / 0.9024 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.246, allocations: 77.66 kB / 0.9025 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.246, allocations: 3.984 kB / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2461, allocations: 0 / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2461, allocations: 0 / 0.9025 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.517e-05/0.2462, allocations: 43.97 kB / 0.9025 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005894/0.2468, allocations: 348.7 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.2469, allocations: 114.5 kB / 0.9029 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.292e-05/0.247, allocations: 60.86 kB / 0.903 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.2471, allocations: 4 kB / 0.903 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.2473, allocations: 95.25 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.2473, allocations: 0 / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0003014/0.2476, allocations: 157.5 kB / 0.9032 GB, free: 61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.2477, allocations: 59.36 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.2478, allocations: 129.6 kB / 0.9034 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.2478, allocations: 33.7 kB / 0.9035 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.2479, allocations: 84.14 kB / 0.9035 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.2479, allocations: 23.81 kB / 0.9036 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.2479, allocations: 0 / 0.9036 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.248, allocations: 322.8 kB / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.499e-05/0.2481, allocations: 31.98 kB / 0.9039 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-05/0.2481, allocations: 58.55 kB / 0.904 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.377e-05/0.2482, allocations: 43.92 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2482, allocations: 0 / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001603/0.2484, allocations: 129.5 kB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.2484, allocations: 8 kB / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2484, allocations: 0 / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2485, allocations: 112 / 0.9041 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.123e-05/0.2485, allocations: 11.97 kB / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.2485, allocations: 7.953 kB / 0.9041 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.495e-05/0.2486, allocations: 7.906 kB / 0.9042 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.325e-05/0.2487, allocations: 31.94 kB / 0.9042 GB, free: 59.98 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.682e-05/0.2488, allocations: 126.4 kB / 0.9043 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.2488, allocations: 4 kB / 0.9043 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.2489, allocations: 12.36 kB / 0.9043 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2489, allocations: 0 / 0.9043 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2489, allocations: 8 kB / 0.9043 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.2489, allocations: 3.953 kB / 0.9043 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.2493, allocations: 418.6 kB / 0.9047 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2493, allocations: 0 / 0.9047 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.2493, allocations: 0 / 0.9047 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2493, allocations: 0 / 0.9047 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.2493, allocations: 7.984 kB / 0.9047 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2493, allocations: 3.953 kB / 0.9047 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2493, allocations: 0 / 0.9047 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.2495, allocations: 219.4 kB / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.2495, allocations: 85 kB / 0.905 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.2496, allocations: 4 kB / 0.905 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.538e-05/0.2496, allocations: 4 kB / 0.905 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.2497, allocations: 15.97 kB / 0.9051 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.2497, allocations: 31.89 kB / 0.9051 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.148e-05/0.2498, allocations: 95.92 kB / 0.9052 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2498, allocations: 4 kB / 0.9052 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002195/0.25, allocations: 12 kB / 0.9052 GB, free: 58.84 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.0004259/0.2504, allocations: 0.7499 MB / 0.9059 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001675/0.2506, allocations: 87.89 kB / 0.906 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.2506, allocations: 4.062 kB / 0.906 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.58e-05/0.2507, allocations: 56.12 kB / 0.9061 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.2512, allocations: 72.33 kB / 0.9061 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008322/0.252, allocations: 0.6467 MB / 0.9068 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.2522, allocations: 0.6926 MB / 0.9074 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.901e-05/0.2522, allocations: 12.42 kB / 0.9075 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.467e-05/0.2523, allocations: 27.42 kB / 0.9075 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2523, allocations: 0 / 0.9075 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.265, allocations: 2.548 MB / 0.91 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.2652, allocations: 203.2 kB / 0.9102 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/1.88, allocations: 0 / 0.9102 GB, free: 53.79 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)