Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.001087/0.001087, allocations: 106.1 kB / 16.27 MB, free: 6.41 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.001199/0.001199, allocations: 184.1 kB / 17.2 MB, free: 5.953 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.349/1.349, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7505/0.7505, allocations: 122.8 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.89 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.324, allocations: 77.93 MB / 0.5673 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002819/0.3269, allocations: 1.504 MB / 0.5687 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.328, allocations: 0.5446 MB / 0.5693 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.2e-05/0.328, allocations: 1.219 kB / 0.5693 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.256e-05/0.3281, allocations: 6.094 kB / 0.5693 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.681e-05/0.3282, allocations: 34.97 kB / 0.5693 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007023/0.3289, allocations: 316.9 kB / 0.5696 GB, free: 31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005195/0.3295, allocations: 0.4952 MB / 0.5701 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.3295, allocations: 11.81 kB / 0.5701 GB, free: 30.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003523/0.3299, allocations: 268.8 kB / 0.5704 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.3302, allocations: 136.6 kB / 0.5705 GB, free: 30.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.3303, allocations: 26.59 kB / 0.5705 GB, free: 30.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.761e-05/0.3304, allocations: 27.53 kB / 0.5706 GB, free: 30.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.3305, allocations: 116.5 kB / 0.5707 GB, free: 30.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.3307, allocations: 187 kB / 0.5708 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.3311, allocations: 423.6 kB / 0.5712 GB, free: 30.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3311, allocations: 1.344 kB / 0.5712 GB, free: 30.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3311, allocations: 0.6094 kB / 0.5712 GB, free: 30.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3311, allocations: 2.188 kB / 0.5713 GB, free: 30.39 MB / 446.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.0009891/0.3321, allocations: 0.8712 MB / 0.5721 GB, free: 29.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3321, allocations: 10.56 kB / 0.5721 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.3322, allocations: 39.7 kB / 0.5722 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.3323, allocations: 51.92 kB / 0.5722 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.3326, allocations: 306.2 kB / 0.5725 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/0.3327, allocations: 17.88 kB / 0.5725 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-05/0.3327, allocations: 29.8 kB / 0.5725 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009914/0.3337, allocations: 210 kB / 0.5727 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.3338, allocations: 4.969 kB / 0.5727 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.3338, allocations: 2.25 kB / 0.5727 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3338, allocations: 2.859 kB / 0.5727 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000771/0.3346, allocations: 97.81 kB / 0.5728 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.335, allocations: 396.2 kB / 0.5732 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.336, allocations: 181.5 kB / 0.5734 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007531/0.3368, allocations: 115.1 kB / 0.5735 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.3368, allocations: 2.156 kB / 0.5735 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009233/0.3377, allocations: 226.7 kB / 0.5737 GB, free: 28.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.3377, allocations: 2.75 kB / 0.5737 GB, free: 28.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.00255/0.3403, allocations: 483.1 kB / 0.5742 GB, free: 28.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.3403, allocations: 66.86 kB / 0.5742 GB, free: 28.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/0.3407, allocations: 411.4 kB / 0.5746 GB, free: 28.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.194e-05/0.3408, allocations: 39.22 kB / 0.5747 GB, free: 28.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.3409, allocations: 95.44 kB / 0.5748 GB, free: 28.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.3409, allocations: 38.73 kB / 0.5748 GB, free: 28.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.3411, allocations: 136.7 kB / 0.5749 GB, free: 28.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.758e-05/0.3412, allocations: 322.5 kB / 0.5752 GB, free: 27.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.3414, allocations: 117.3 kB / 0.5754 GB, free: 27.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.3417, allocations: 177.5 kB / 0.5755 GB, free: 27.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.342, allocations: 280.9 kB / 0.5758 GB, free: 27.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.342, allocations: 3.406 kB / 0.5758 GB, free: 27.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007478/0.3428, allocations: 491.4 kB / 0.5763 GB, free: 27.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.542e-05/0.3429, allocations: 91.75 kB / 0.5764 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3429, allocations: 1.781 kB / 0.5764 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.3429, allocations: 5.719 kB / 0.5764 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.3431, allocations: 23.73 kB / 0.5764 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3431, allocations: 5.938 kB / 0.5764 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005135/0.3436, allocations: 60.44 kB / 0.5764 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.723e-05/0.3437, allocations: 57.27 kB / 0.5765 GB, free: 27.27 MB / 446.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.0002006/0.3439, allocations: 200.6 kB / 0.5767 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.3439, allocations: 41.98 kB / 0.5767 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/0.344, allocations: 38.31 kB / 0.5768 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.344, allocations: 1.375 kB / 0.5768 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.344, allocations: 3.703 kB / 0.5768 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.344, allocations: 0.6562 kB / 0.5768 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.3462, allocations: 0.7459 MB / 0.5775 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.3462, allocations: 4.453 kB / 0.5775 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.3462, allocations: 3.469 kB / 0.5775 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3463, allocations: 2.312 kB / 0.5775 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.3463, allocations: 22.66 kB / 0.5775 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3463, allocations: 1.312 kB / 0.5775 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3463, allocations: 0 / 0.5775 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.348, allocations: 483 kB / 0.578 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.3482, allocations: 196.2 kB / 0.5782 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.412e-05/0.3483, allocations: 18.77 kB / 0.5782 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004701/0.3488, allocations: 30.23 kB / 0.5782 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.3488, allocations: 7.062 kB / 0.5782 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.688e-05/0.3489, allocations: 61.58 kB / 0.5783 GB, free: 26.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002607/0.3492, allocations: 299 kB / 0.5786 GB, free: 26.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3492, allocations: 0 / 0.5786 GB, free: 26.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003933/0.3496, allocations: 66.44 kB / 0.5786 GB, free: 26.19 MB / 446.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.001939/0.3515, allocations: 1.025 MB / 0.5796 GB, free: 25.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.3529, allocations: 448.1 kB / 0.5801 GB, free: 25.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3529, allocations: 0 / 0.5801 GB, free: 25.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00079/0.3537, allocations: 119.5 kB / 0.5802 GB, free: 25.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.3541, allocations: 27 kB / 0.5802 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/0.3577, allocations: 2.78 MB / 0.5829 GB, free: 23.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.358, allocations: 0.7675 MB / 0.5837 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.513e-05/0.3581, allocations: 14.42 kB / 0.5837 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.3581, allocations: 23.06 kB / 0.5837 GB, free: 22.32 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3581, allocations: 0.5 kB / 0.5837 GB, free: 22.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.3833, allocations: 6.12 MB / 0.5897 GB, free: 19.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.406/7.789, allocations: 10.23 kB / 0.5897 GB, free: 19 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.csv --start-time 172799 --stop-time 345599 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)