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.314/1.314, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009092/0.0009092, allocations: 176 kB / 325.8 MB, free: 2.699 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.517/1.517, allocations: 205 MB / 0.576 GB, free: 20.96 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.0007435/0.0007435, allocations: 94.44 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.0002963, allocations: 9.594 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1793, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001577/0.1809, allocations: 1.052 MB / 0.8972 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004824/0.1814, allocations: 200.9 kB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.1815, allocations: 0 / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.1816, allocations: 0 / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.226e-05/0.1817, allocations: 3.938 kB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.182, allocations: 31.97 kB / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1821, allocations: 55.91 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1822, allocations: 20.19 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.002e-05/0.1823, allocations: 19.94 kB / 0.8976 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.141e-05/0.1824, allocations: 19.91 kB / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.1824, allocations: 3.938 kB / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.641e-05/0.1824, allocations: 4 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.088e-05/0.1825, allocations: 19.91 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.1825, allocations: 27.88 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.1826, allocations: 63.75 kB / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1827, allocations: 0 / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.136e-06/0.1827, allocations: 0 / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.1827, allocations: 3.938 kB / 0.8977 GB, free: 66.55 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.0005089/0.1832, allocations: 385.1 kB / 0.8981 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.1833, allocations: 8.031 kB / 0.8981 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.1833, allocations: 38.75 kB / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.1834, allocations: 8.844 kB / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.1835, allocations: 188.2 kB / 0.8983 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.1835, allocations: 4.375 kB / 0.8983 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.1836, allocations: 4.375 kB / 0.8983 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1838, allocations: 90.09 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1838, allocations: 11.92 kB / 0.8984 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1838, allocations: 0 / 0.8984 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1838, allocations: 0 / 0.8984 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.435e-05/0.1839, allocations: 43.91 kB / 0.8984 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/0.1845, allocations: 352.7 kB / 0.8988 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.1847, allocations: 114.5 kB / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.303e-05/0.1848, allocations: 60.83 kB / 0.899 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.1848, allocations: 0 / 0.899 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.185, allocations: 87.38 kB / 0.899 GB, free: 65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.185, allocations: 4 kB / 0.899 GB, free: 65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002943/0.1853, allocations: 153.5 kB / 0.8992 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.1854, allocations: 55.41 kB / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.189e-05/0.1855, allocations: 129.7 kB / 0.8994 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.1855, allocations: 25.7 kB / 0.8994 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/0.1855, allocations: 104 kB / 0.8995 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.1856, allocations: 15.75 kB / 0.8995 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.1856, allocations: 17.72 kB / 0.8995 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.754e-05/0.1857, allocations: 326.8 kB / 0.8998 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.16e-05/0.1857, allocations: 35.98 kB / 0.8999 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.383e-05/0.1858, allocations: 58.66 kB / 0.8999 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1859, allocations: 98.42 kB / 0.9 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.186, allocations: 0 / 0.9 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002107/0.1862, allocations: 133.5 kB / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1862, allocations: 4 kB / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.1862, allocations: 8.031 kB / 0.9002 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1862, allocations: 0 / 0.9002 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.964e-05/0.1863, allocations: 4 kB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.1863, allocations: 4.375 kB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.492e-05/0.1864, allocations: 4 kB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.313e-05/0.1865, allocations: 31.94 kB / 0.9002 GB, free: 63.73 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 (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.435e-05/0.1866, allocations: 126.4 kB / 0.9003 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.1866, allocations: 15.84 kB / 0.9003 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.1867, allocations: 20.36 kB / 0.9003 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1867, allocations: 0 / 0.9003 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1867, allocations: 0 / 0.9003 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1867, allocations: 4 kB / 0.9004 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003735/0.1871, allocations: 402.4 kB / 0.9007 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1871, allocations: 0 / 0.9007 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.319e-05/0.1871, allocations: 0 / 0.9007 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1871, allocations: 0 / 0.9007 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1871, allocations: 11.98 kB / 0.9007 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1872, allocations: 4 kB / 0.9008 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1872, allocations: 3.938 kB / 0.9008 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.1874, allocations: 215.4 kB / 0.901 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.1874, allocations: 88.98 kB / 0.901 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.1874, allocations: 7.984 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.662e-05/0.1875, allocations: 4 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.1876, allocations: 11.92 kB / 0.9011 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.313e-05/0.1876, allocations: 35.89 kB / 0.9011 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.52e-05/0.1877, allocations: 95.2 kB / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1877, allocations: 4 kB / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003551/0.1881, allocations: 16 kB / 0.9012 GB, free: 62.59 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.0003952/0.1885, allocations: 0.7594 MB / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.1887, allocations: 91.89 kB / 0.902 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1887, allocations: 0 / 0.902 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.673e-05/0.1888, allocations: 47.91 kB / 0.9021 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.1893, allocations: 72.03 kB / 0.9022 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.1908, allocations: 1.566 MB / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.1909, allocations: 0.6887 MB / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.636e-05/0.191, allocations: 16.44 kB / 0.9044 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.1911, allocations: 27.42 kB / 0.9044 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.1911, allocations: 0 / 0.9044 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01376/0.2049, allocations: 2.555 MB / 0.9069 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/0.205, allocations: 226.9 kB / 0.9071 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/1.755, allocations: 0 / 0.9071 GB, free: 56.55 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)