Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.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: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001457/0.001457, allocations: 193.4 kB / 16.14 MB, free: 6.707 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.346/1.346, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002137/0.002137, allocations: 278.9 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9883/0.9883, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 93.92 kB / 0.5945 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1776, allocations: 86.99 MB / 0.6794 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002686/0.1804, allocations: 1.538 MB / 0.6809 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000972/0.1813, allocations: 451 kB / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.825e-05/0.1814, allocations: 0 / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.1815, allocations: 15.92 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.1816, allocations: 16.23 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006247/0.1823, allocations: 230.3 kB / 0.6816 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000299/0.1826, allocations: 299.9 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.871e-05/0.1826, allocations: 11.97 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000328/0.183, allocations: 218.3 kB / 0.6821 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.1832, allocations: 135.5 kB / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.671e-05/0.1833, allocations: 12 kB / 0.6823 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.5e-05/0.1833, allocations: 8 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.1835, allocations: 75.77 kB / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.1836, allocations: 123.4 kB / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.184, allocations: 291.3 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.184, allocations: 0 / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.184, allocations: 0 / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.184, allocations: 0 / 0.6827 GB, free: 13.82 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.001154/0.1851, allocations: 0.7461 MB / 0.6835 GB, free: 12.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1852, allocations: 8.031 kB / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.62e-05/0.1853, allocations: 31.62 kB / 0.6835 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.1856, allocations: 262.3 kB / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.1857, allocations: 15.98 kB / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/0.1857, allocations: 16 kB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.1867, allocations: 209.4 kB / 0.684 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1868, allocations: 3.938 kB / 0.684 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.1868, allocations: 7.984 kB / 0.684 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1868, allocations: 0 / 0.684 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007723/0.1876, allocations: 91.92 kB / 0.6841 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.188, allocations: 313.4 kB / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.1891, allocations: 174.5 kB / 0.6845 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007527/0.1898, allocations: 108.8 kB / 0.6846 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.1899, allocations: 0 / 0.6846 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009358/0.1908, allocations: 215.1 kB / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.1908, allocations: 0 / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002548/0.1934, allocations: 455.1 kB / 0.6853 GB, free: 11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.1934, allocations: 63.38 kB / 0.6853 GB, free: 10.92 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.1937, allocations: 291 kB / 0.6856 GB, free: 10.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.687e-05/0.1938, allocations: 37.7 kB / 0.6857 GB, free: 10.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.1939, allocations: 97.06 kB / 0.6858 GB, free: 10.49 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.1939, allocations: 35.47 kB / 0.6858 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.1941, allocations: 101.5 kB / 0.6859 GB, free: 10.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1942, allocations: 322.8 kB / 0.6862 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.1945, allocations: 91.77 kB / 0.6863 GB, free: 9.934 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.1947, allocations: 139.1 kB / 0.6864 GB, free: 9.777 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.195, allocations: 238.8 kB / 0.6866 GB, free: 9.512 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.195, allocations: 4 kB / 0.6866 GB, free: 9.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006378/0.1957, allocations: 394.4 kB / 0.687 GB, free: 9.105 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.193e-05/0.1957, allocations: 79.33 kB / 0.6871 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1957, allocations: 4 kB / 0.6871 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1958, allocations: 0 / 0.6871 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.1959, allocations: 24.11 kB / 0.6871 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.196, allocations: 8 kB / 0.6871 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.1964, allocations: 59.7 kB / 0.6872 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/0.1965, allocations: 39.98 kB / 0.6872 GB, free: 8.883 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.0002121/0.1967, allocations: 176.6 kB / 0.6874 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.1968, allocations: 31.66 kB / 0.6874 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.197e-05/0.1968, allocations: 26.3 kB / 0.6874 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.1968, allocations: 4 kB / 0.6875 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1969, allocations: 0 / 0.6875 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1969, allocations: 0 / 0.6875 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/0.1989, allocations: 0.6933 MB / 0.6881 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.199, allocations: 0 / 0.6881 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.199, allocations: 7.938 kB / 0.6881 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.199, allocations: 0 / 0.6881 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/0.1991, allocations: 19.97 kB / 0.6882 GB, free: 7.859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1991, allocations: 4 kB / 0.6882 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1991, allocations: 0 / 0.6882 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.2007, allocations: 448.7 kB / 0.6886 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.2009, allocations: 152.7 kB / 0.6887 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.838e-05/0.201, allocations: 16 kB / 0.6887 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/0.2015, allocations: 35.95 kB / 0.6888 GB, free: 7.184 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.2015, allocations: 7.984 kB / 0.6888 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.962e-05/0.2016, allocations: 39.98 kB / 0.6888 GB, free: 7.137 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.2018, allocations: 213.9 kB / 0.689 GB, free: 6.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2018, allocations: 0 / 0.689 GB, free: 6.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.2021, allocations: 48 kB / 0.6891 GB, free: 6.883 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.0001316/0.2022, allocations: 119.2 kB / 0.6892 GB, free: 6.754 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.2035, allocations: 378.5 kB / 0.6896 GB, free: 6.359 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2035, allocations: 0 / 0.6896 GB, free: 6.359 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007508/0.2042, allocations: 116.2 kB / 0.6897 GB, free: 6.246 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.2046, allocations: 30.83 kB / 0.6897 GB, free: 6.219 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.2059, allocations: 0.5051 MB / 0.6902 GB, free: 5.688 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.2063, allocations: 0.7404 MB / 0.6909 GB, free: 4.922 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.245e-05/0.2064, allocations: 17.08 kB / 0.6909 GB, free: 4.906 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.2064, allocations: 15.42 kB / 0.6909 GB, free: 4.891 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2064, allocations: 4 kB / 0.6909 GB, free: 4.887 MB / 494.1 MB Notification: Performance of Templates: time 0.006756/0.2132, allocations: 3.595 MB / 0.6945 GB, free: 1.328 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)