Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_8_0_0_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_0_0_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 8.0.0/package.mo): time 1.505/1.505, allocations: 287.4 MB / 302.6 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 176.8 kB / 371.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007301/0.0007301, allocations: 97.23 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.000376, allocations: 11.59 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1809, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0006503/0.1815, allocations: 345.8 kB / 0.9791 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003623/0.1819, allocations: 187.5 kB / 0.9793 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.182, allocations: 0 / 0.9793 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.1821, allocations: 3.938 kB / 0.9793 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.609e-05/0.1822, allocations: 7.922 kB / 0.9793 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.1824, allocations: 31.98 kB / 0.9793 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.46e-05/0.1825, allocations: 51.83 kB / 0.9793 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.245e-05/0.1826, allocations: 16 kB / 0.9794 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.704e-05/0.1826, allocations: 15.98 kB / 0.9794 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.313e-05/0.1827, allocations: 23.91 kB / 0.9794 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.1827, allocations: 4 kB / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.387e-05/0.1827, allocations: 3.938 kB / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.197e-05/0.1828, allocations: 15.98 kB / 0.9794 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.1828, allocations: 33.64 kB / 0.9795 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.44e-05/0.1829, allocations: 55.88 kB / 0.9795 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1829, allocations: 3.938 kB / 0.9795 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1829, allocations: 4 kB / 0.9795 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.1829, allocations: 0 / 0.9795 GB, free: 27.27 MB / 0.6198 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.0003873/0.1833, allocations: 385.2 kB / 0.9799 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.1833, allocations: 12.03 kB / 0.9799 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.012e-05/0.1834, allocations: 38.73 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.1834, allocations: 8.844 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1835, allocations: 180.3 kB / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.1835, allocations: 384 / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.1836, allocations: 8.375 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1837, allocations: 94.08 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.1837, allocations: 3.938 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1837, allocations: 7.938 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.1837, allocations: 0 / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.061e-05/0.1838, allocations: 39.97 kB / 0.9803 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.1843, allocations: 336.7 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.1844, allocations: 126.4 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.803e-05/0.1845, allocations: 68.84 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.1845, allocations: 4 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.1847, allocations: 79.38 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.512e-06/0.1847, allocations: 0 / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002358/0.1849, allocations: 161.4 kB / 0.981 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.185, allocations: 59.39 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.562e-05/0.185, allocations: 121.8 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.185, allocations: 29.7 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/0.1851, allocations: 96.06 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.1851, allocations: 15.81 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.1851, allocations: 0 / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.04e-05/0.1852, allocations: 326.8 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.842e-05/0.1852, allocations: 31.98 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.343e-05/0.1853, allocations: 62.59 kB / 0.9817 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.256e-05/0.1854, allocations: 90.48 kB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1854, allocations: 4 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001438/0.1855, allocations: 129.6 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1856, allocations: 6.031 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1856, allocations: 0 / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1856, allocations: 4 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.835e-05/0.1857, allocations: 16.02 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1857, allocations: 0 / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.404e-05/0.1857, allocations: 11.84 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/0.1858, allocations: 23.95 kB / 0.982 GB, free: 24.49 MB / 0.6198 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 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.139e-05/0.1859, allocations: 139 kB / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.1859, allocations: 4 kB / 0.9821 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.1859, allocations: 12.38 kB / 0.9821 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1859, allocations: 0 / 0.9821 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1859, allocations: 4 kB / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1859, allocations: 0 / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.1863, allocations: 414.3 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1863, allocations: 0 / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.223e-05/0.1863, allocations: 8 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1863, allocations: 0 / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.1863, allocations: 0 / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1863, allocations: 480 / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1863, allocations: 3.938 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.1865, allocations: 227.3 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.1865, allocations: 81.11 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.1865, allocations: 4 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.205e-05/0.1866, allocations: 7.891 kB / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.1866, allocations: 11.94 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.1867, allocations: 35.88 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.1867, allocations: 99.2 kB / 0.983 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1867, allocations: 4 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001989/0.1869, allocations: 15.94 kB / 0.983 GB, free: 23.35 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003066/0.1872, allocations: 0.7457 MB / 0.9837 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001467/0.1874, allocations: 91.89 kB / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1874, allocations: 4.062 kB / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.1875, allocations: 47.91 kB / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.1878, allocations: 65.52 kB / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007366/0.1886, allocations: 0.6498 MB / 0.9846 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.1887, allocations: 0.6926 MB / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.415e-05/0.1888, allocations: 12.44 kB / 0.9853 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.1888, allocations: 31.61 kB / 0.9853 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.1888, allocations: 0 / 0.9853 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01194/0.2008, allocations: 2.513 MB / 0.9877 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/0.2009, allocations: 205.7 kB / 0.9879 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.399/1.6, allocations: 0 / 0.9879 GB, free: 18.32 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck_fmu --startTime=0 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)