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.001137/0.001137, allocations: 108 kB / 15.6 MB, free: 132 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.001419/0.001419, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.403/1.403, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.724/1.724, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001388/0.001388, allocations: 71.14 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2346, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.00192/0.2366, allocations: 0.6235 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004859/0.2371, allocations: 191.4 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.2372, allocations: 4 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.508e-05/0.2373, allocations: 7.875 kB / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.057e-05/0.2373, allocations: 0 / 0.7843 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.2376, allocations: 47.83 kB / 0.7843 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.2378, allocations: 55.83 kB / 0.7844 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.2379, allocations: 19.98 kB / 0.7844 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.709e-05/0.238, allocations: 23.94 kB / 0.7844 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.858e-05/0.238, allocations: 23.91 kB / 0.7845 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.2381, allocations: 4 kB / 0.7845 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.2381, allocations: 4 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.2382, allocations: 19.91 kB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.2382, allocations: 23.88 kB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.2383, allocations: 75.75 kB / 0.7846 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2383, allocations: 4 kB / 0.7846 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2384, allocations: 0 / 0.7846 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.2384, allocations: 0 / 0.7846 GB, free: 12.24 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.0005277/0.2389, allocations: 405.1 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2389, allocations: 12.03 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/0.239, allocations: 38.73 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.239, allocations: 8.844 kB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.2392, allocations: 188.2 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.2392, allocations: 4.375 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.2393, allocations: 12.38 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.2394, allocations: 78.22 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2394, allocations: 7.922 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.2395, allocations: 3.984 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2395, allocations: 0 / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.915e-05/0.2396, allocations: 43.92 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005163/0.2401, allocations: 356.5 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.2403, allocations: 114.5 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.631e-05/0.2404, allocations: 64.84 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.2404, allocations: 0 / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.2406, allocations: 91.31 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.2406, allocations: 0 / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002693/0.2409, allocations: 153.5 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.2409, allocations: 55.41 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.263e-05/0.241, allocations: 125.9 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.241, allocations: 29.7 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.811e-05/0.2411, allocations: 92.12 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.2411, allocations: 19.8 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.2412, allocations: 33.7 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2413, allocations: 322.8 kB / 0.7867 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.798e-05/0.2413, allocations: 39.98 kB / 0.7868 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.433e-05/0.2414, allocations: 58.53 kB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.2415, allocations: 94.84 kB / 0.7869 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2415, allocations: 0 / 0.7869 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001712/0.2417, allocations: 129.5 kB / 0.787 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.2417, allocations: 4 kB / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2417, allocations: 7.969 kB / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.2418, allocations: 4 kB / 0.7871 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.705e-05/0.2418, allocations: 15.92 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.2418, allocations: 0 / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.193e-05/0.2419, allocations: 7.938 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.92e-05/0.242, allocations: 27.95 kB / 0.7871 GB, free: 9.387 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.0001003/0.2421, allocations: 133.7 kB / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.2421, allocations: 7.906 kB / 0.7872 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.2422, allocations: 16.38 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2422, allocations: 0 / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2422, allocations: 0 / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2422, allocations: 3.938 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.2426, allocations: 414.4 kB / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2426, allocations: 0 / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.413e-05/0.2426, allocations: 7.938 kB / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2426, allocations: 0 / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.2426, allocations: 0 / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2426, allocations: 0 / 0.7877 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2426, allocations: 11.94 kB / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.2429, allocations: 215.3 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.2429, allocations: 89.05 kB / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.2429, allocations: 4 kB / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.017e-05/0.243, allocations: 0 / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.243, allocations: 15.92 kB / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.2431, allocations: 27.94 kB / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.202e-05/0.2432, allocations: 103.3 kB / 0.7881 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2432, allocations: 0 / 0.7881 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002346/0.2434, allocations: 15.94 kB / 0.7881 GB, free: 8.246 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.0005223/0.2439, allocations: 0.7554 MB / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.2441, allocations: 103.8 kB / 0.789 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2442, allocations: 0 / 0.789 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.467e-05/0.2442, allocations: 43.97 kB / 0.789 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.2447, allocations: 77.98 kB / 0.7891 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.2462, allocations: 1.56 MB / 0.7906 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.2464, allocations: 0.6924 MB / 0.7913 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.593e-05/0.2465, allocations: 12.42 kB / 0.7913 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.561e-05/0.2465, allocations: 27.42 kB / 0.7913 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/0.2465, allocations: 0 / 0.7913 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.2686, allocations: 2.763 MB / 0.794 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.382/7.651, allocations: 3.75 kB / 0.794 GB, free: 2.184 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck_fmu --startTime=0 --stopTime=1.8144e+06 --timeout=50 --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)