Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths",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.001168/0.001168, allocations: 103.5 kB / 16.27 MB, free: 5.953 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.001299/0.0013, allocations: 185.9 kB / 17.19 MB, free: 5.59 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.291/1.291, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.734/0.734, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 67.89 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4009, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.002458/0.4034, allocations: 1.514 MB / 0.5687 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.4044, allocations: 0.5415 MB / 0.5693 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/0.4045, allocations: 1.5 kB / 0.5693 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.033e-05/0.4046, allocations: 11.05 kB / 0.5693 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.4047, allocations: 26.8 kB / 0.5693 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009925/0.4057, allocations: 314.6 kB / 0.5696 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006672/0.4064, allocations: 0.4947 MB / 0.5701 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.488e-05/0.4065, allocations: 11.28 kB / 0.5701 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003893/0.4069, allocations: 274 kB / 0.5704 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.4071, allocations: 136 kB / 0.5705 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.943e-05/0.4072, allocations: 27.59 kB / 0.5705 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.4073, allocations: 27 kB / 0.5705 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.4075, allocations: 114.6 kB / 0.5707 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.4077, allocations: 188.5 kB / 0.5708 GB, free: 30.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.4081, allocations: 423.5 kB / 0.5712 GB, free: 30.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4081, allocations: 3.25 kB / 0.5712 GB, free: 30.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4081, allocations: 0 / 0.5712 GB, free: 30.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.4081, allocations: 0 / 0.5712 GB, free: 30.53 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.0009921/0.4091, allocations: 0.876 MB / 0.5721 GB, free: 29.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.4092, allocations: 9.906 kB / 0.5721 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.305e-05/0.4092, allocations: 36.67 kB / 0.5721 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.4093, allocations: 51.25 kB / 0.5722 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.4096, allocations: 307.5 kB / 0.5725 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.402e-05/0.4097, allocations: 17.83 kB / 0.5725 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.596e-05/0.4098, allocations: 25.59 kB / 0.5725 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009739/0.4108, allocations: 209.2 kB / 0.5727 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4108, allocations: 4.906 kB / 0.5727 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.4108, allocations: 6.984 kB / 0.5727 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4108, allocations: 2 kB / 0.5727 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007643/0.4116, allocations: 96.91 kB / 0.5728 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.412, allocations: 401.3 kB / 0.5732 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.4131, allocations: 178.8 kB / 0.5734 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007534/0.4138, allocations: 110.8 kB / 0.5735 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.4139, allocations: 6.078 kB / 0.5735 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008971/0.4148, allocations: 232 kB / 0.5737 GB, free: 28.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.4148, allocations: 0 / 0.5737 GB, free: 28.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002651/0.4174, allocations: 487.2 kB / 0.5742 GB, free: 28.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.4175, allocations: 58.59 kB / 0.5742 GB, free: 28.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000466/0.418, allocations: 415.2 kB / 0.5746 GB, free: 28.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.768e-05/0.418, allocations: 40.72 kB / 0.5747 GB, free: 28.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.4181, allocations: 97.91 kB / 0.5748 GB, free: 28.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.4182, allocations: 40.23 kB / 0.5748 GB, free: 28.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.4184, allocations: 133.3 kB / 0.5749 GB, free: 28.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.145e-05/0.4185, allocations: 322 kB / 0.5752 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.4187, allocations: 117.2 kB / 0.5754 GB, free: 28.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.419, allocations: 174 kB / 0.5755 GB, free: 27.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.4194, allocations: 277 kB / 0.5758 GB, free: 27.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.4194, allocations: 1.844 kB / 0.5758 GB, free: 27.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007701/0.4201, allocations: 488.5 kB / 0.5762 GB, free: 27.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.884e-05/0.4202, allocations: 92.83 kB / 0.5763 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4202, allocations: 1.375 kB / 0.5763 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4203, allocations: 9.156 kB / 0.5763 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.4204, allocations: 28.17 kB / 0.5764 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.4204, allocations: 3.547 kB / 0.5764 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005382/0.421, allocations: 59.92 kB / 0.5764 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-05/0.4211, allocations: 62.08 kB / 0.5765 GB, free: 27.41 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.0001818/0.4212, allocations: 193.4 kB / 0.5767 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.4213, allocations: 40.72 kB / 0.5767 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.551e-05/0.4214, allocations: 42.7 kB / 0.5768 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.4214, allocations: 2 kB / 0.5768 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4214, allocations: 1.375 kB / 0.5768 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4214, allocations: 3.828 kB / 0.5768 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.4235, allocations: 0.7455 MB / 0.5775 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4236, allocations: 1 kB / 0.5775 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.4236, allocations: 4.906 kB / 0.5775 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4236, allocations: 2.094 kB / 0.5775 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/0.4237, allocations: 19.83 kB / 0.5775 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.4237, allocations: 1.312 kB / 0.5775 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.4237, allocations: 0.5625 kB / 0.5775 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.4255, allocations: 481.6 kB / 0.578 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.4258, allocations: 199.8 kB / 0.5782 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.199e-05/0.4259, allocations: 14.8 kB / 0.5782 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000489/0.4264, allocations: 33.44 kB / 0.5782 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.4265, allocations: 9.312 kB / 0.5782 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.579e-05/0.4266, allocations: 56.2 kB / 0.5783 GB, free: 26.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003816/0.427, allocations: 302.5 kB / 0.5786 GB, free: 26.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.427, allocations: 0.5938 kB / 0.5786 GB, free: 26.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004664/0.4274, allocations: 66.97 kB / 0.5786 GB, free: 26.33 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.001946/0.4294, allocations: 1.026 MB / 0.5796 GB, free: 25.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.4309, allocations: 452.3 kB / 0.5801 GB, free: 25.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4309, allocations: 2.938 kB / 0.5801 GB, free: 25.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007521/0.4316, allocations: 117.2 kB / 0.5802 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.432, allocations: 29.86 kB / 0.5802 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.4355, allocations: 2.786 MB / 0.5829 GB, free: 23.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.4357, allocations: 0.7682 MB / 0.5837 GB, free: 22.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.099e-05/0.4357, allocations: 12.5 kB / 0.5837 GB, free: 22.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.4358, allocations: 26.36 kB / 0.5837 GB, free: 22.48 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4358, allocations: 0 / 0.5837 GB, free: 22.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.4567, allocations: 6.098 MB / 0.5897 GB, free: 19.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.268/7.725, allocations: 10.53 kB / 0.5897 GB, free: 19.17 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths_res.csv --start-time 172800 --stop-time 345600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)