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.001132/0.001132, 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.001165/0.001166, allocations: 193.5 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.32/1.32, allocations: 222.9 MB / 239.8 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001979/0.001979, allocations: 275.1 kB / 290.2 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9544/0.9544, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 90.47 kB / 0.5946 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1948, allocations: 86.98 MB / 0.6795 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003037/0.1979, allocations: 1.542 MB / 0.681 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.199, allocations: 451.8 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.833e-05/0.199, allocations: 0 / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.1991, allocations: 7.938 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.923e-05/0.1993, allocations: 16.3 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005925/0.1999, allocations: 230.5 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.2001, allocations: 299.9 kB / 0.682 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.2002, allocations: 16.23 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.2005, allocations: 222.3 kB / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.2007, allocations: 123.6 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.48e-05/0.2008, allocations: 12 kB / 0.6824 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.841e-05/0.2008, allocations: 8 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.201, allocations: 83.72 kB / 0.6824 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.2011, allocations: 119.4 kB / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.2015, allocations: 295 kB / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2015, allocations: 0 / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2015, allocations: 0 / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.2015, allocations: 0 / 0.6828 GB, free: 13.7 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.001119/0.2026, allocations: 0.7422 MB / 0.6836 GB, free: 12.87 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.2027, allocations: 8.031 kB / 0.6836 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.351e-05/0.2027, allocations: 46.55 kB / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.845e-05/0.2028, allocations: 31.62 kB / 0.6836 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.2031, allocations: 258.3 kB / 0.6839 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.2032, allocations: 15.98 kB / 0.6839 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.93e-05/0.2033, allocations: 20 kB / 0.6839 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.2043, allocations: 197.4 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2043, allocations: 0 / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.2043, allocations: 11.98 kB / 0.6841 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.2044, allocations: 0 / 0.6841 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000764/0.2051, allocations: 95.92 kB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.2055, allocations: 313.3 kB / 0.6845 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.2066, allocations: 182.4 kB / 0.6847 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007308/0.2073, allocations: 109.2 kB / 0.6848 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.2074, allocations: 0 / 0.6848 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009718/0.2083, allocations: 220.7 kB / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.2083, allocations: 0 / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002377/0.2107, allocations: 447.1 kB / 0.6854 GB, free: 10.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.2108, allocations: 71.38 kB / 0.6855 GB, free: 10.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.2111, allocations: 290.9 kB / 0.6858 GB, free: 10.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.2111, allocations: 33.7 kB / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.2112, allocations: 105 kB / 0.6859 GB, free: 10.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.2112, allocations: 27.56 kB / 0.6859 GB, free: 10.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.2114, allocations: 105.5 kB / 0.686 GB, free: 10.17 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2115, allocations: 318.8 kB / 0.6863 GB, free: 9.848 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.2117, allocations: 87.89 kB / 0.6864 GB, free: 9.762 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.2119, allocations: 139.1 kB / 0.6866 GB, free: 9.605 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.2122, allocations: 234.4 kB / 0.6868 GB, free: 9.344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2123, allocations: 4 kB / 0.6868 GB, free: 9.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006166/0.2129, allocations: 400.6 kB / 0.6872 GB, free: 8.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.002e-05/0.213, allocations: 71.39 kB / 0.6872 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.213, allocations: 0 / 0.6872 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.213, allocations: 4 kB / 0.6872 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.2132, allocations: 31.86 kB / 0.6873 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.2132, allocations: 3.984 kB / 0.6873 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004556/0.2136, allocations: 59.94 kB / 0.6873 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.008e-05/0.2137, allocations: 39.98 kB / 0.6874 GB, free: 8.711 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.0001761/0.2139, allocations: 172.6 kB / 0.6875 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.214, allocations: 27.66 kB / 0.6876 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.277e-05/0.214, allocations: 30.3 kB / 0.6876 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.214, allocations: 0 / 0.6876 GB, free: 8.473 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.214, allocations: 8 kB / 0.6876 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.214, allocations: 0 / 0.6876 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.216, allocations: 0.6972 MB / 0.6883 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2161, allocations: 4 kB / 0.6883 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.2161, allocations: 4 kB / 0.6883 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2161, allocations: 0 / 0.6883 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.2161, allocations: 15.97 kB / 0.6883 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2161, allocations: 0 / 0.6883 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2161, allocations: 0 / 0.6883 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.2177, allocations: 456.8 kB / 0.6887 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.2179, allocations: 156.7 kB / 0.6889 GB, free: 7.055 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.203e-05/0.218, allocations: 8 kB / 0.6889 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004322/0.2184, allocations: 39.89 kB / 0.6889 GB, free: 7.008 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.2185, allocations: 7.984 kB / 0.6889 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/0.2185, allocations: 47.98 kB / 0.689 GB, free: 6.953 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001824/0.2187, allocations: 213.9 kB / 0.6892 GB, free: 6.746 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2187, allocations: 0 / 0.6892 GB, free: 6.746 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.219, allocations: 44 kB / 0.6892 GB, free: 6.703 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.001954/0.221, allocations: 1.006 MB / 0.6902 GB, free: 5.668 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.2221, allocations: 376.5 kB / 0.6906 GB, free: 5.277 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.2221, allocations: 0 / 0.6906 GB, free: 5.277 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007095/0.2228, allocations: 111.9 kB / 0.6907 GB, free: 5.168 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.2231, allocations: 30.11 kB / 0.6907 GB, free: 5.141 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.2269, allocations: 2.424 MB / 0.6931 GB, free: 2.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.2274, allocations: 0.736 MB / 0.6938 GB, free: 1.828 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.751e-05/0.2275, allocations: 13.23 kB / 0.6938 GB, free: 1.816 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.2275, allocations: 31.42 kB / 0.6938 GB, free: 1.785 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/0.2275, allocations: 0 / 0.6938 GB, free: 1.785 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.2434, allocations: 4.646 MB / 0.6984 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.2436, allocations: 218.5 kB / 0.6986 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.063, allocations: 3.938 kB / 0.6986 GB, free: 13.05 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)