Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.001145/0.001145, allocations: 107.3 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.001058/0.001058, allocations: 189.4 kB / 16.25 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001991/0.001991, allocations: 290.9 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9356/0.9356, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 100.8 kB / 0.5948 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1628, allocations: 86.97 MB / 0.6797 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002976/0.1658, allocations: 1.548 MB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009419/0.1668, allocations: 427.2 kB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.873e-05/0.1669, allocations: 0 / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.167, allocations: 4.656 kB / 0.6816 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.1671, allocations: 20.28 kB / 0.6817 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007126/0.1679, allocations: 232.5 kB / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.1683, allocations: 332.5 kB / 0.6822 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.1683, allocations: 8.266 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003663/0.1687, allocations: 250.3 kB / 0.6824 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.169, allocations: 123.6 kB / 0.6826 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.005e-05/0.169, allocations: 20 kB / 0.6826 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.372e-05/0.1691, allocations: 20 kB / 0.6826 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1692, allocations: 87.7 kB / 0.6827 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.1694, allocations: 131.4 kB / 0.6828 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.1697, allocations: 307 kB / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1697, allocations: 0 / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1697, allocations: 0 / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.1697, allocations: 0 / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001102/0.1708, allocations: 0.7421 MB / 0.6838 GB, free: 12.67 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1709, allocations: 8.031 kB / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.05e-05/0.1709, allocations: 38.55 kB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.171, allocations: 39.62 kB / 0.6839 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.1713, allocations: 262.3 kB / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.1714, allocations: 12 kB / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/0.1714, allocations: 15.98 kB / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009418/0.1724, allocations: 205.4 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1724, allocations: 0 / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.1724, allocations: 0 / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1724, allocations: 8 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007422/0.1732, allocations: 95.91 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.1735, allocations: 321.3 kB / 0.6848 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009942/0.1745, allocations: 178.4 kB / 0.685 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007094/0.1753, allocations: 104.8 kB / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.1753, allocations: 4 kB / 0.6851 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009032/0.1762, allocations: 215 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.984e-06/0.1762, allocations: 4 kB / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002339/0.1786, allocations: 445 kB / 0.6857 GB, free: 10.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.1786, allocations: 59.34 kB / 0.6858 GB, free: 10.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.1789, allocations: 294.9 kB / 0.686 GB, free: 10.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.979e-05/0.179, allocations: 37.7 kB / 0.6861 GB, free: 10.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.179, allocations: 93.05 kB / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/0.1791, allocations: 47.53 kB / 0.6862 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.1792, allocations: 93.48 kB / 0.6863 GB, free: 9.973 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1794, allocations: 322.8 kB / 0.6866 GB, free: 9.648 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.1796, allocations: 87.88 kB / 0.6867 GB, free: 9.562 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.1798, allocations: 131.4 kB / 0.6868 GB, free: 9.414 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.1801, allocations: 247.1 kB / 0.687 GB, free: 9.141 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1801, allocations: 0 / 0.687 GB, free: 9.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006338/0.1807, allocations: 400.3 kB / 0.6874 GB, free: 8.734 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.393e-05/0.1808, allocations: 75.38 kB / 0.6875 GB, free: 8.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1808, allocations: 4 kB / 0.6875 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1808, allocations: 3.938 kB / 0.6875 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.181, allocations: 23.92 kB / 0.6875 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.181, allocations: 4 kB / 0.6875 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.1815, allocations: 59.98 kB / 0.6876 GB, free: 8.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/0.1816, allocations: 43.98 kB / 0.6876 GB, free: 8.512 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001644/0.1817, allocations: 168.6 kB / 0.6878 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.1818, allocations: 27.66 kB / 0.6878 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.593e-05/0.1819, allocations: 26.3 kB / 0.6878 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1819, allocations: 4 kB / 0.6879 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1819, allocations: 0 / 0.6879 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1819, allocations: 4 kB / 0.6879 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.1839, allocations: 0.6898 MB / 0.6885 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1839, allocations: 0 / 0.6885 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.666e-05/0.1839, allocations: 12 kB / 0.6885 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.1839, allocations: 4 kB / 0.6885 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.184, allocations: 19.97 kB / 0.6886 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.184, allocations: 0 / 0.6886 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.184, allocations: 0 / 0.6886 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.1856, allocations: 448.5 kB / 0.689 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.1858, allocations: 164.7 kB / 0.6891 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.266e-05/0.1858, allocations: 11.94 kB / 0.6892 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.1863, allocations: 27.97 kB / 0.6892 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.1863, allocations: 11.98 kB / 0.6892 GB, free: 6.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.858e-05/0.1864, allocations: 43.97 kB / 0.6892 GB, free: 6.766 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001734/0.1866, allocations: 209.9 kB / 0.6894 GB, free: 6.562 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1866, allocations: 4 kB / 0.6894 GB, free: 6.559 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003135/0.1869, allocations: 44 kB / 0.6895 GB, free: 6.516 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001925/0.1888, allocations: 1.008 MB / 0.6905 GB, free: 5.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.1899, allocations: 392.6 kB / 0.6908 GB, free: 5.074 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.19, allocations: 0 / 0.6908 GB, free: 5.074 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007291/0.1907, allocations: 107.9 kB / 0.6909 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.1911, allocations: 24.58 kB / 0.691 GB, free: 4.945 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.1945, allocations: 2.435 MB / 0.6933 GB, free: 2.383 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.1948, allocations: 0.7357 MB / 0.6941 GB, free: 1.621 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.174e-05/0.1949, allocations: 13.08 kB / 0.6941 GB, free: 1.609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/0.1949, allocations: 23.42 kB / 0.6941 GB, free: 1.586 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1949, allocations: 8 kB / 0.6941 GB, free: 1.578 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01614/0.2111, allocations: 4.794 MB / 0.6988 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000258/0.2114, allocations: 218.5 kB / 0.699 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/1.929, allocations: 3.25 kB / 0.699 GB, free: 12.72 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)