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.001282/0.001282, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00145/0.00145, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.239/1.239, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.548/1.548, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001658/0.001658, allocations: 68.67 kB / 0.6711 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1836, allocations: 114.6 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001741/0.1854, allocations: 0.696 MB / 0.7837 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003978/0.1858, allocations: 184.5 kB / 0.7838 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.634e-05/0.1858, allocations: 0 / 0.7838 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.597e-05/0.1859, allocations: 7.922 kB / 0.7838 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.66e-05/0.186, allocations: 0 / 0.7838 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.1862, allocations: 39.91 kB / 0.7839 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.1863, allocations: 55.84 kB / 0.7839 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.939e-05/0.1864, allocations: 23.97 kB / 0.784 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.671e-05/0.1865, allocations: 15.94 kB / 0.784 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.047e-05/0.1865, allocations: 27.91 kB / 0.784 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1866, allocations: 4 kB / 0.784 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.1866, allocations: 4 kB / 0.784 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.267e-05/0.1866, allocations: 23.91 kB / 0.784 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.1867, allocations: 27.88 kB / 0.7841 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.752e-05/0.1868, allocations: 63.77 kB / 0.7841 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1868, allocations: 4 kB / 0.7841 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1868, allocations: 0 / 0.7841 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.1868, allocations: 7.984 kB / 0.7841 GB, free: 12.6 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.0004767/0.1873, allocations: 401.2 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1873, allocations: 8.031 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.1874, allocations: 42.73 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.1874, allocations: 8.844 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.1876, allocations: 184.2 kB / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.1876, allocations: 384 / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.1876, allocations: 8.312 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.1877, allocations: 82.22 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1878, allocations: 7.938 kB / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1878, allocations: 4 kB / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.1878, allocations: 0 / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.731e-05/0.1879, allocations: 47.89 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/0.1884, allocations: 348.6 kB / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.1885, allocations: 118.5 kB / 0.7853 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/0.1886, allocations: 60.86 kB / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.1887, allocations: 7.984 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.1888, allocations: 83.38 kB / 0.7855 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1888, allocations: 0 / 0.7855 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002603/0.1891, allocations: 153.6 kB / 0.7856 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.1891, allocations: 63.28 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/0.1892, allocations: 129.8 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.1893, allocations: 25.7 kB / 0.7858 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.1893, allocations: 96.12 kB / 0.7859 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.1893, allocations: 15.72 kB / 0.7859 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.1894, allocations: 29.7 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1895, allocations: 326.8 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.34e-05/0.1895, allocations: 35.98 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.537e-05/0.1896, allocations: 66.55 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.1897, allocations: 94.55 kB / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1897, allocations: 0 / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001639/0.1899, allocations: 125.5 kB / 0.7866 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1899, allocations: 8 kB / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1899, allocations: 0 / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.19, allocations: 0 / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.658e-05/0.19, allocations: 7.984 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.19, allocations: 12.09 kB / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.1901, allocations: 7.938 kB / 0.7866 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/0.1902, allocations: 31.89 kB / 0.7867 GB, free: 9.75 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.681e-05/0.1903, allocations: 128.6 kB / 0.7868 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.1903, allocations: 8.281 kB / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.1903, allocations: 12.38 kB / 0.7868 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1903, allocations: 3.938 kB / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1903, allocations: 8 kB / 0.7868 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1903, allocations: 3.938 kB / 0.7868 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.1907, allocations: 406.4 kB / 0.7872 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1907, allocations: 0 / 0.7872 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.151e-05/0.1907, allocations: 0 / 0.7872 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1907, allocations: 4 kB / 0.7872 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1908, allocations: 4 kB / 0.7872 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1908, allocations: 0 / 0.7872 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1908, allocations: 7.875 kB / 0.7872 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.191, allocations: 219.4 kB / 0.7874 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.191, allocations: 85.02 kB / 0.7875 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.191, allocations: 0 / 0.7875 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.633e-05/0.1911, allocations: 7.938 kB / 0.7875 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.1911, allocations: 11.92 kB / 0.7875 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.1912, allocations: 35.94 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.767e-05/0.1912, allocations: 95.92 kB / 0.7877 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1912, allocations: 0 / 0.7877 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002252/0.1915, allocations: 23.94 kB / 0.7877 GB, free: 8.609 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.0004446/0.1919, allocations: 0.7553 MB / 0.7884 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001686/0.1921, allocations: 104.1 kB / 0.7885 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1921, allocations: 0 / 0.7885 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.759e-05/0.1922, allocations: 51.97 kB / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.1926, allocations: 72.83 kB / 0.7886 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.1939, allocations: 1.576 MB / 0.7902 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.1941, allocations: 0.6885 MB / 0.7908 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.314e-05/0.1942, allocations: 12.42 kB / 0.7909 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.1942, allocations: 27.42 kB / 0.7909 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1942, allocations: 0 / 0.7909 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3917/0.5859, allocations: 2.687 MB / 0.7935 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.5861, allocations: 215.2 kB / 0.7937 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.427, allocations: 0 / 0.7937 GB, free: 2.395 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)