Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="IBPSA_latest_IBPSA_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.001399/0.0014, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001356/0.001356, allocations: 191 kB / 17.2 MB, free: 5.613 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.301/1.301, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.738/0.738, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 71.89 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3562, allocations: 77.91 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002369/0.3586, allocations: 1.509 MB / 0.5687 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.3597, allocations: 0.5514 MB / 0.5693 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.3597, allocations: 1.719 kB / 0.5693 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.495e-05/0.3598, allocations: 6.797 kB / 0.5693 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.938e-05/0.3599, allocations: 27.14 kB / 0.5693 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006664/0.3606, allocations: 317.8 kB / 0.5696 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004573/0.3611, allocations: 0.4931 MB / 0.5701 GB, free: 31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.3611, allocations: 9.953 kB / 0.5701 GB, free: 31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.3615, allocations: 267.6 kB / 0.5704 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.3617, allocations: 142.9 kB / 0.5705 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.825e-05/0.3618, allocations: 26.59 kB / 0.5705 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.756e-05/0.3619, allocations: 33.12 kB / 0.5706 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.3621, allocations: 109.8 kB / 0.5707 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.3623, allocations: 187.6 kB / 0.5708 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004102/0.3627, allocations: 425.2 kB / 0.5712 GB, free: 30.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3627, allocations: 0 / 0.5712 GB, free: 30.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3627, allocations: 1.438 kB / 0.5712 GB, free: 30.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3627, allocations: 1.438 kB / 0.5712 GB, free: 30.57 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.001017/0.3637, allocations: 0.8724 MB / 0.5721 GB, free: 29.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3638, allocations: 10.84 kB / 0.5721 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.405e-05/0.3638, allocations: 39.91 kB / 0.5721 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.3639, allocations: 51.48 kB / 0.5722 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.3643, allocations: 304.8 kB / 0.5725 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.392e-05/0.3643, allocations: 18.52 kB / 0.5725 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-05/0.3644, allocations: 29.48 kB / 0.5725 GB, free: 29.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009948/0.3654, allocations: 213.5 kB / 0.5727 GB, free: 29.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3654, allocations: 5.344 kB / 0.5727 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.3654, allocations: 2.156 kB / 0.5727 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3655, allocations: 1.062 kB / 0.5727 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007796/0.3662, allocations: 103.2 kB / 0.5728 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.3667, allocations: 396.1 kB / 0.5732 GB, free: 29.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.3677, allocations: 178.5 kB / 0.5734 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007659/0.3685, allocations: 108.9 kB / 0.5735 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.3685, allocations: 7.031 kB / 0.5735 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.3696, allocations: 223.6 kB / 0.5737 GB, free: 28.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.3696, allocations: 0.5 kB / 0.5737 GB, free: 28.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002736/0.3723, allocations: 488.2 kB / 0.5742 GB, free: 28.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.3724, allocations: 61.34 kB / 0.5742 GB, free: 28.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005151/0.3729, allocations: 415.9 kB / 0.5746 GB, free: 28.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.31e-05/0.373, allocations: 41.22 kB / 0.5747 GB, free: 28.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/0.3731, allocations: 96.25 kB / 0.5748 GB, free: 28.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.3731, allocations: 31.98 kB / 0.5748 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.3734, allocations: 134.5 kB / 0.5749 GB, free: 28.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.843e-05/0.3734, allocations: 322.3 kB / 0.5752 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/0.3737, allocations: 122.2 kB / 0.5754 GB, free: 28.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.374, allocations: 176.5 kB / 0.5755 GB, free: 27.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.3744, allocations: 277.6 kB / 0.5758 GB, free: 27.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3744, allocations: 1.625 kB / 0.5758 GB, free: 27.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000779/0.3752, allocations: 490 kB / 0.5763 GB, free: 27.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.303e-05/0.3753, allocations: 97.5 kB / 0.5763 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.3753, allocations: 1.375 kB / 0.5763 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3753, allocations: 6.688 kB / 0.5764 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.3755, allocations: 24.41 kB / 0.5764 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3755, allocations: 7.203 kB / 0.5764 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/0.376, allocations: 60.08 kB / 0.5764 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.622e-05/0.3761, allocations: 61.92 kB / 0.5765 GB, free: 27.45 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.000214/0.3763, allocations: 198.1 kB / 0.5767 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.3764, allocations: 40.62 kB / 0.5767 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.79e-05/0.3764, allocations: 41.8 kB / 0.5768 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3765, allocations: 3.344 kB / 0.5768 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3765, allocations: 0.875 kB / 0.5768 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3765, allocations: 0.6562 kB / 0.5768 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.3787, allocations: 0.7496 MB / 0.5775 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.3787, allocations: 4 kB / 0.5775 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.3787, allocations: 5 kB / 0.5775 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3787, allocations: 4.438 kB / 0.5775 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.3788, allocations: 18.8 kB / 0.5775 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3788, allocations: 2.031 kB / 0.5775 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3788, allocations: 0 / 0.5775 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.3805, allocations: 480.4 kB / 0.578 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002372/0.3807, allocations: 200.7 kB / 0.5782 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-05/0.3808, allocations: 13.7 kB / 0.5782 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004699/0.3813, allocations: 32.61 kB / 0.5782 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.3813, allocations: 11.06 kB / 0.5782 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.962e-05/0.3814, allocations: 56.95 kB / 0.5783 GB, free: 26.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002793/0.3817, allocations: 293.3 kB / 0.5786 GB, free: 26.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3817, allocations: 1.625 kB / 0.5786 GB, free: 26.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003765/0.3821, allocations: 67.77 kB / 0.5786 GB, free: 26.37 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.001873/0.384, allocations: 1.023 MB / 0.5796 GB, free: 25.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.3852, allocations: 449.4 kB / 0.5801 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3852, allocations: 0 / 0.5801 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008164/0.386, allocations: 122.7 kB / 0.5802 GB, free: 25.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.3864, allocations: 27.27 kB / 0.5802 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.3899, allocations: 2.775 MB / 0.5829 GB, free: 23.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.3901, allocations: 0.7714 MB / 0.5837 GB, free: 22.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.915e-05/0.3902, allocations: 16.2 kB / 0.5837 GB, free: 22.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.3902, allocations: 25.89 kB / 0.5837 GB, free: 22.52 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3902, allocations: 3.938 kB / 0.5837 GB, free: 22.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.4115, allocations: 6.104 MB / 0.5897 GB, free: 19.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.334/7.745, allocations: 17.09 kB / 0.5897 GB, free: 19.2 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.csv --start-time 172801 --stop-time 345601 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)