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.001159/0.001159, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 193 kB / 16.13 MB, free: 6.66 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.183/1.183, allocations: 205.1 MB / 222 MB, free: 4.965 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.507/1.507, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001329/0.00133, allocations: 75.88 kB / 0.6709 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1729, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001526/0.1744, allocations: 0.6882 MB / 0.7835 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003604/0.1748, allocations: 188.5 kB / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.1748, allocations: 4 kB / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.156e-05/0.1749, allocations: 3.938 kB / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.186e-05/0.175, allocations: 7.984 kB / 0.7837 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.1752, allocations: 31.92 kB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.1753, allocations: 59.77 kB / 0.7838 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.553e-05/0.1754, allocations: 15.98 kB / 0.7838 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.529e-05/0.1754, allocations: 15.94 kB / 0.7838 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.1755, allocations: 35.89 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.1755, allocations: 4 kB / 0.7838 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.357e-05/0.1755, allocations: 4 kB / 0.7838 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.221e-05/0.1756, allocations: 15.92 kB / 0.7838 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.1756, allocations: 23.88 kB / 0.7839 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.052e-05/0.1757, allocations: 67.75 kB / 0.7839 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1757, allocations: 0 / 0.7839 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.01e-07/0.1757, allocations: 0 / 0.7839 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.1757, allocations: 0 / 0.7839 GB, free: 12.76 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.0004376/0.1762, allocations: 405.2 kB / 0.7843 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.1762, allocations: 12.03 kB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.051e-05/0.1762, allocations: 42.73 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.1763, allocations: 8.844 kB / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.1764, allocations: 180.2 kB / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1764, allocations: 8.375 kB / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.1764, allocations: 4.375 kB / 0.7846 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1766, allocations: 78.22 kB / 0.7846 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.1766, allocations: 3.938 kB / 0.7846 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1766, allocations: 7.984 kB / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1766, allocations: 4 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.262e-05/0.1767, allocations: 39.98 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.1772, allocations: 352.5 kB / 0.785 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.1773, allocations: 110.5 kB / 0.7851 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.015e-05/0.1774, allocations: 64.84 kB / 0.7852 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.1774, allocations: 8 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.1776, allocations: 87.31 kB / 0.7853 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.1776, allocations: 0 / 0.7853 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002558/0.1779, allocations: 153.9 kB / 0.7854 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.1779, allocations: 55.44 kB / 0.7855 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.178, allocations: 133.8 kB / 0.7856 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.178, allocations: 25.7 kB / 0.7856 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.178, allocations: 100 kB / 0.7857 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.1781, allocations: 15.88 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.1781, allocations: 33.7 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.1782, allocations: 326.8 kB / 0.7861 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.336e-05/0.1783, allocations: 31.98 kB / 0.7861 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.554e-05/0.1783, allocations: 58.92 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.1785, allocations: 102.5 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1785, allocations: 0 / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001656/0.1786, allocations: 129.5 kB / 0.7864 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/0.1786, allocations: 4 kB / 0.7864 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1787, allocations: 4 kB / 0.7864 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.1787, allocations: 4.031 kB / 0.7864 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.595e-05/0.1787, allocations: 11.92 kB / 0.7864 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1787, allocations: 4 kB / 0.7864 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.399e-05/0.1788, allocations: 3.938 kB / 0.7864 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/0.1789, allocations: 35.98 kB / 0.7865 GB, free: 9.906 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.229e-05/0.179, allocations: 129.7 kB / 0.7866 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.179, allocations: 7.906 kB / 0.7866 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.179, allocations: 8.375 kB / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.179, allocations: 3.938 kB / 0.7866 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.179, allocations: 4 kB / 0.7866 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.179, allocations: 0 / 0.7866 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/0.1794, allocations: 418.4 kB / 0.787 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1794, allocations: 0 / 0.787 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.262e-05/0.1794, allocations: 3.938 kB / 0.787 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1794, allocations: 0 / 0.787 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1794, allocations: 4 kB / 0.787 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1795, allocations: 0 / 0.787 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1795, allocations: 3.938 kB / 0.787 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.1796, allocations: 227.4 kB / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.1797, allocations: 85.02 kB / 0.7873 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.1797, allocations: 4 kB / 0.7873 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.29e-05/0.1798, allocations: 0 / 0.7873 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.1798, allocations: 15.92 kB / 0.7873 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.1799, allocations: 31.94 kB / 0.7874 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.989e-05/0.1799, allocations: 95.27 kB / 0.7875 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1799, allocations: 0 / 0.7875 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002176/0.1801, allocations: 19.94 kB / 0.7875 GB, free: 8.77 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.0004094/0.1805, allocations: 0.7592 MB / 0.7882 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.1807, allocations: 87.89 kB / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1807, allocations: 0 / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.24e-05/0.1808, allocations: 51.91 kB / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.1812, allocations: 70.75 kB / 0.7884 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.1824, allocations: 1.563 MB / 0.79 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.1826, allocations: 0.6926 MB / 0.7906 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.879e-05/0.1827, allocations: 16.42 kB / 0.7906 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.1827, allocations: 27.36 kB / 0.7907 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.1827, allocations: 3.938 kB / 0.7907 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8473/1.03, allocations: 2.604 MB / 0.7932 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/1.03, allocations: 213.5 kB / 0.7934 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/2.599, allocations: 3 kB / 0.7934 GB, free: 2.633 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)