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.001143/0.001143, allocations: 102.7 kB / 16.27 MB, free: 6.309 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.001218/0.001218, allocations: 191.6 kB / 17.19 MB, free: 5.93 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.442/1.442, 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.7398/0.7398, allocations: 122.9 MB / 413.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.89 kB / 0.4912 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3334, allocations: 77.92 MB / 0.5673 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002828/0.3362, allocations: 1.512 MB / 0.5687 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.3376, allocations: 0.5476 MB / 0.5693 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.708e-05/0.3376, allocations: 1.125 kB / 0.5693 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.3377, allocations: 9.891 kB / 0.5693 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.3379, allocations: 26.11 kB / 0.5693 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007328/0.3386, allocations: 310.3 kB / 0.5696 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005007/0.3391, allocations: 0.5034 MB / 0.5701 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.895e-05/0.3392, allocations: 9.609 kB / 0.5701 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003435/0.3395, allocations: 265.9 kB / 0.5704 GB, free: 30.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.3398, allocations: 137.1 kB / 0.5705 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.3399, allocations: 26.28 kB / 0.5705 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.971e-05/0.34, allocations: 27.84 kB / 0.5706 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.3402, allocations: 110.9 kB / 0.5707 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.3404, allocations: 195.6 kB / 0.5708 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004449/0.3408, allocations: 420.5 kB / 0.5712 GB, free: 30.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3409, allocations: 2.812 kB / 0.5712 GB, free: 30.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3409, allocations: 0 / 0.5712 GB, free: 30.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.3409, allocations: 0 / 0.5712 GB, free: 30.59 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.001106/0.342, allocations: 0.8782 MB / 0.5721 GB, free: 29.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.342, allocations: 10.25 kB / 0.5721 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.3421, allocations: 40 kB / 0.5722 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.3422, allocations: 51.28 kB / 0.5722 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.3425, allocations: 306 kB / 0.5725 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/0.3426, allocations: 18.73 kB / 0.5725 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.931e-05/0.3427, allocations: 25.64 kB / 0.5725 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.3437, allocations: 208.7 kB / 0.5727 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3437, allocations: 6.922 kB / 0.5727 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.3438, allocations: 8.547 kB / 0.5727 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3438, allocations: 4.125 kB / 0.5728 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008185/0.3446, allocations: 97.34 kB / 0.5728 GB, free: 29.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006232/0.3452, allocations: 399.4 kB / 0.5732 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.3464, allocations: 175 kB / 0.5734 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008052/0.3472, allocations: 110.2 kB / 0.5735 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.3472, allocations: 2.562 kB / 0.5735 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.3483, allocations: 231.5 kB / 0.5737 GB, free: 29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.665e-06/0.3483, allocations: 0 / 0.5737 GB, free: 29 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002832/0.3511, allocations: 487.5 kB / 0.5742 GB, free: 28.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.3512, allocations: 61.91 kB / 0.5742 GB, free: 28.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005807/0.3518, allocations: 415.6 kB / 0.5746 GB, free: 28.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.3519, allocations: 42.05 kB / 0.5747 GB, free: 28.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/0.352, allocations: 95.03 kB / 0.5748 GB, free: 28.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.3521, allocations: 37.92 kB / 0.5748 GB, free: 28.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.3523, allocations: 128.6 kB / 0.5749 GB, free: 28.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.3524, allocations: 326.8 kB / 0.5752 GB, free: 28.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.3527, allocations: 119.7 kB / 0.5754 GB, free: 28.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.353, allocations: 174.4 kB / 0.5755 GB, free: 27.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.3533, allocations: 274.9 kB / 0.5758 GB, free: 27.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3534, allocations: 0 / 0.5758 GB, free: 27.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008501/0.3542, allocations: 493.3 kB / 0.5763 GB, free: 27.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.34e-05/0.3543, allocations: 92.98 kB / 0.5763 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3543, allocations: 6.375 kB / 0.5764 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.272e-05/0.3544, allocations: 2.594 kB / 0.5764 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.3545, allocations: 19.83 kB / 0.5764 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.3546, allocations: 7.438 kB / 0.5764 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005834/0.3551, allocations: 61.31 kB / 0.5764 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.73e-05/0.3553, allocations: 66.5 kB / 0.5765 GB, free: 27.47 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.0003073/0.3556, allocations: 199.2 kB / 0.5767 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.488e-05/0.3556, allocations: 40.86 kB / 0.5767 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.86e-05/0.3557, allocations: 41.66 kB / 0.5768 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3557, allocations: 1.891 kB / 0.5768 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.3557, allocations: 0 / 0.5768 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3557, allocations: 3.344 kB / 0.5768 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.358, allocations: 0.7407 MB / 0.5775 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.358, allocations: 0 / 0.5775 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.3581, allocations: 10.25 kB / 0.5775 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3581, allocations: 1.375 kB / 0.5775 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/0.3582, allocations: 18.95 kB / 0.5775 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3582, allocations: 1.375 kB / 0.5775 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3582, allocations: 1.578 kB / 0.5775 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.3601, allocations: 477.4 kB / 0.578 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000379/0.3605, allocations: 204 kB / 0.5782 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.177e-05/0.3606, allocations: 11.41 kB / 0.5782 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005106/0.3611, allocations: 39.06 kB / 0.5782 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.3612, allocations: 7.094 kB / 0.5782 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.654e-05/0.3613, allocations: 56.72 kB / 0.5783 GB, free: 26.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000438/0.3618, allocations: 294.3 kB / 0.5786 GB, free: 26.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3618, allocations: 1.188 kB / 0.5786 GB, free: 26.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005955/0.3624, allocations: 72.77 kB / 0.5786 GB, free: 26.39 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.002292/0.3647, allocations: 1.024 MB / 0.5796 GB, free: 25.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.366, allocations: 451.1 kB / 0.5801 GB, free: 25.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3661, allocations: 1.906 kB / 0.5801 GB, free: 25.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008008/0.3669, allocations: 124.5 kB / 0.5802 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.3673, allocations: 25.23 kB / 0.5802 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/0.3717, allocations: 2.78 MB / 0.5829 GB, free: 23.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.372, allocations: 0.7729 MB / 0.5837 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.3721, allocations: 13.64 kB / 0.5837 GB, free: 22.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.728e-05/0.3722, allocations: 25.95 kB / 0.5837 GB, free: 22.5 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3722, allocations: 2.656 kB / 0.5837 GB, free: 22.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/0.4066, allocations: 6.1 MB / 0.5897 GB, free: 19.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/8.02, allocations: 8.688 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)