Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 192.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.798/1.798, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 70.98 kB / 0.6716 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.219, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001949/0.221, allocations: 0.6302 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000438/0.2215, allocations: 195.3 kB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.2215, allocations: 0 / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.216e-05/0.2216, allocations: 3.938 kB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.453e-05/0.2217, allocations: 11.86 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.2219, allocations: 39.91 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.222, allocations: 63.83 kB / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.875e-05/0.2221, allocations: 12 kB / 0.7844 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.871e-05/0.2222, allocations: 19.92 kB / 0.7844 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.037e-05/0.2222, allocations: 23.91 kB / 0.7845 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.2223, allocations: 4 kB / 0.7845 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.497e-05/0.2223, allocations: 4 kB / 0.7845 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.2223, allocations: 27.92 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.2224, allocations: 27.86 kB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.968e-05/0.2225, allocations: 63.77 kB / 0.7846 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2225, allocations: 7.938 kB / 0.7846 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2225, allocations: 0 / 0.7846 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2225, allocations: 0 / 0.7846 GB, free: 12.27 MB / 0.6075 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.0004941/0.223, allocations: 409.2 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2231, allocations: 8.031 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.2231, allocations: 38.75 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.2231, allocations: 8.844 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.2233, allocations: 184.2 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.2233, allocations: 8.375 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.2233, allocations: 4.375 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.2235, allocations: 78.22 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.2235, allocations: 3.938 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.2235, allocations: 7.938 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.2235, allocations: 4 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.029e-05/0.2236, allocations: 39.97 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.2241, allocations: 348.6 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.2243, allocations: 118.5 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.888e-05/0.2244, allocations: 60.86 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.2244, allocations: 4 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.2246, allocations: 87.38 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.2246, allocations: 0 / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.00027/0.2249, allocations: 161.4 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.225, allocations: 51.52 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.755e-05/0.225, allocations: 137.7 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.2251, allocations: 25.7 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.2251, allocations: 88.14 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.2252, allocations: 31.7 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.2252, allocations: 29.7 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.2253, allocations: 326.8 kB / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.536e-05/0.2254, allocations: 35.97 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.626e-05/0.2254, allocations: 58.55 kB / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.2256, allocations: 94.53 kB / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2256, allocations: 0 / 0.7869 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001709/0.2257, allocations: 137.4 kB / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2258, allocations: 8 kB / 0.7871 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2258, allocations: 0 / 0.7871 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2258, allocations: 0 / 0.7871 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.668e-05/0.2259, allocations: 4 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2259, allocations: 7.984 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.633e-05/0.2259, allocations: 3.938 kB / 0.7871 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.508e-05/0.226, allocations: 27.95 kB / 0.7871 GB, free: 9.418 MB / 0.6075 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 (dayTypSat.skipIDayIncrement,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.iDay,$PRE.dayTypSat.iDay,dayTypSat.y[2],dayTypSat.y[1],isHoliday.y,isNonWorDay.y,isWorDay.y,dayTypSat.sampleTrigger,$whenCondition1) * 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 8.683e-05/0.2261, allocations: 137.7 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.2261, allocations: 11.89 kB / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.2261, allocations: 8.375 kB / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2261, allocations: 0 / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2262, allocations: 3.938 kB / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2262, allocations: 4 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.2265, allocations: 410.4 kB / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2265, allocations: 0 / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.239e-05/0.2266, allocations: 3.984 kB / 0.7877 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2266, allocations: 4 kB / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.2266, allocations: 4 kB / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2266, allocations: 0 / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2266, allocations: 4.406 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.2268, allocations: 227.3 kB / 0.7879 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.2268, allocations: 81.02 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.2269, allocations: 4 kB / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.967e-05/0.2269, allocations: 0 / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.227, allocations: 19.92 kB / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.227, allocations: 27.95 kB / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.435e-05/0.2271, allocations: 91.27 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.252e-06/0.2271, allocations: 0 / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002303/0.2273, allocations: 23.88 kB / 0.7881 GB, free: 8.277 MB / 0.6075 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.0004418/0.2278, allocations: 0.7631 MB / 0.7889 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001758/0.2279, allocations: 91.88 kB / 0.789 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.228, allocations: 0 / 0.789 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.08e-05/0.228, allocations: 47.92 kB / 0.789 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.2285, allocations: 79.77 kB / 0.7891 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.2298, allocations: 1.564 MB / 0.7906 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.23, allocations: 0.6885 MB / 0.7913 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.552e-05/0.2301, allocations: 16.8 kB / 0.7913 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.2302, allocations: 23.44 kB / 0.7913 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/0.2302, allocations: 4 kB / 0.7913 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.2493, allocations: 2.751 MB / 0.794 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.447/7.696, allocations: 4.875 kB / 0.794 GB, free: 2.219 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck_res.csv --start-time 0 --stop-time 1.8144e+06 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)