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.001126/0.001125, allocations: 105.4 kB / 15.7 MB, free: 28 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.001239/0.001239, allocations: 194.8 kB / 16.64 MB, free: 6.48 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.409/1.409, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.746/1.746, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.002189/0.00219, allocations: 77.5 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2741, allocations: 114.6 MB / 0.7837 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.002966/0.2771, allocations: 0.6337 MB / 0.7843 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008328/0.278, allocations: 199.3 kB / 0.7845 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.2781, allocations: 4 kB / 0.7845 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.2782, allocations: 3.938 kB / 0.7845 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.972e-05/0.2783, allocations: 4 kB / 0.7845 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.2787, allocations: 43.83 kB / 0.7845 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000175/0.2789, allocations: 55.84 kB / 0.7846 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.279, allocations: 15.98 kB / 0.7846 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.489e-05/0.2791, allocations: 19.92 kB / 0.7846 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.2792, allocations: 31.91 kB / 0.7846 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.2793, allocations: 4 kB / 0.7846 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.924e-05/0.2793, allocations: 4 kB / 0.7846 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.207e-05/0.2794, allocations: 19.92 kB / 0.7847 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.181e-05/0.2795, allocations: 27.84 kB / 0.7847 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.2797, allocations: 71.72 kB / 0.7848 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/0.2797, allocations: 0 / 0.7848 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2797, allocations: 3.938 kB / 0.7848 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.2797, allocations: 0 / 0.7848 GB, free: 12.18 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.00081/0.2806, allocations: 409.2 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.2806, allocations: 8.031 kB / 0.7852 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.936e-05/0.2807, allocations: 42.73 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.2808, allocations: 8.844 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.281, allocations: 176.3 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.2811, allocations: 8.375 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.2811, allocations: 4.375 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.2814, allocations: 86.14 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.2814, allocations: 3.938 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.2815, allocations: 4 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.2815, allocations: 11.94 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.2817, allocations: 35.98 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008943/0.2826, allocations: 344.6 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.2829, allocations: 114.5 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.2831, allocations: 64.88 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.2832, allocations: 7.984 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002996/0.2835, allocations: 91.31 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 2.385e-06/0.2835, allocations: 0 / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.000522/0.2841, allocations: 153.5 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.2841, allocations: 55.39 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.2843, allocations: 129.8 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.2844, allocations: 25.7 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.135e-05/0.2845, allocations: 92.12 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.2845, allocations: 23.72 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/0.2846, allocations: 33.64 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.2848, allocations: 326.8 kB / 0.7869 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.2849, allocations: 32.09 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.2851, allocations: 66.48 kB / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.2854, allocations: 90.55 kB / 0.7871 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2854, allocations: 0 / 0.7871 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003308/0.2857, allocations: 129.5 kB / 0.7872 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.2858, allocations: 15.92 kB / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2858, allocations: 0 / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2858, allocations: 0 / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.2859, allocations: 4 kB / 0.7872 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.2859, allocations: 4 kB / 0.7872 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.449e-05/0.286, allocations: 3.938 kB / 0.7872 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.2862, allocations: 31.95 kB / 0.7873 GB, free: 9.336 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 0.0001701/0.2863, allocations: 136.6 kB / 0.7874 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.2864, allocations: 7.906 kB / 0.7874 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.572e-05/0.2864, allocations: 8.375 kB / 0.7874 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2865, allocations: 0 / 0.7874 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.2865, allocations: 4 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.2865, allocations: 3.984 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007517/0.2873, allocations: 410.8 kB / 0.7878 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.2873, allocations: 8.094 kB / 0.7878 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/0.2873, allocations: 3.938 kB / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2873, allocations: 0 / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.2874, allocations: 8 kB / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-06/0.2874, allocations: 3.984 kB / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.2874, allocations: 3.938 kB / 0.7878 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.2878, allocations: 215.4 kB / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.365e-05/0.2878, allocations: 84.95 kB / 0.7881 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.2879, allocations: 8 kB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.288, allocations: 3.984 kB / 0.7881 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.2881, allocations: 15.88 kB / 0.7882 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-05/0.2882, allocations: 31.94 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.832e-05/0.2883, allocations: 91.27 kB / 0.7883 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2883, allocations: 0 / 0.7883 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004487/0.2887, allocations: 16 kB / 0.7883 GB, free: 8.195 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.0008133/0.2896, allocations: 0.763 MB / 0.789 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003207/0.2899, allocations: 87.89 kB / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2899, allocations: 0 / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.2901, allocations: 43.97 kB / 0.7892 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000812/0.2909, allocations: 75.45 kB / 0.7892 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.2933, allocations: 1.567 MB / 0.7908 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.2938, allocations: 0.6924 MB / 0.7914 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.2939, allocations: 16.66 kB / 0.7915 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.919e-05/0.294, allocations: 31.42 kB / 0.7915 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of SimCode: time 7.31e-07/0.294, allocations: 0 / 0.7915 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.3256, allocations: 2.769 MB / 0.7942 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.657/7.982, allocations: 1.125 kB / 0.7942 GB, free: 2.137 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)