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.001614/0.001614, allocations: 105.7 kB / 15.98 MB, free: 6.355 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.001938/0.001938, allocations: 190.5 kB / 16.91 MB, free: 6.195 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.372/1.372, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.804/0.804, allocations: 115.3 MB / 406.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 64.14 kB / 493.2 MB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.4152, allocations: 76.18 MB / 0.556 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.003328/0.4186, allocations: 1.561 MB / 0.5575 GB, free: 34.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.4199, allocations: 0.5434 MB / 0.5581 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.445e-05/0.42, allocations: 0 / 0.5581 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.4201, allocations: 8.562 kB / 0.5581 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.4202, allocations: 28.73 kB / 0.5581 GB, free: 34.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007667/0.421, allocations: 284.6 kB / 0.5584 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005046/0.4215, allocations: 0.5035 MB / 0.5589 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.107e-05/0.4216, allocations: 10.11 kB / 0.5589 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004062/0.422, allocations: 337.7 kB / 0.5592 GB, free: 33.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.4223, allocations: 162 kB / 0.5594 GB, free: 33.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.212e-05/0.4223, allocations: 28.22 kB / 0.5594 GB, free: 33.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.176e-05/0.4224, allocations: 26.78 kB / 0.5594 GB, free: 33.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.4226, allocations: 121.9 kB / 0.5595 GB, free: 33.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.4228, allocations: 203.9 kB / 0.5597 GB, free: 33.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004067/0.4232, allocations: 420.4 kB / 0.5601 GB, free: 33.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.4232, allocations: 0.6562 kB / 0.5601 GB, free: 33.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4232, allocations: 3.75 kB / 0.5601 GB, free: 33.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.4232, allocations: 1.438 kB / 0.5601 GB, free: 33.29 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.001243/0.4245, allocations: 0.8699 MB / 0.561 GB, free: 32.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.4245, allocations: 10.41 kB / 0.561 GB, free: 32.55 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.918e-05/0.4246, allocations: 43.78 kB / 0.561 GB, free: 32.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.4247, allocations: 50.97 kB / 0.5611 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.4251, allocations: 304.7 kB / 0.5614 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-05/0.4251, allocations: 19.44 kB / 0.5614 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.908e-05/0.4252, allocations: 29.77 kB / 0.5614 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.4263, allocations: 216 kB / 0.5616 GB, free: 32.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/0.4263, allocations: 5.281 kB / 0.5616 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.4263, allocations: 1.266 kB / 0.5616 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.4263, allocations: 2.656 kB / 0.5616 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007834/0.4271, allocations: 101.2 kB / 0.5617 GB, free: 32.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.4276, allocations: 393.2 kB / 0.5621 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.4286, allocations: 175.1 kB / 0.5623 GB, free: 31.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007916/0.4294, allocations: 112.9 kB / 0.5624 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.4295, allocations: 4.391 kB / 0.5624 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.4305, allocations: 221.6 kB / 0.5626 GB, free: 31.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 3.056e-06/0.4305, allocations: 0.75 kB / 0.5626 GB, free: 31.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002594/0.4331, allocations: 490.1 kB / 0.5631 GB, free: 31.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.4332, allocations: 65.44 kB / 0.5631 GB, free: 31.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000431/0.4336, allocations: 407.3 kB / 0.5635 GB, free: 31.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/0.4337, allocations: 43.33 kB / 0.5635 GB, free: 31.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/0.4337, allocations: 95.88 kB / 0.5636 GB, free: 31.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.4338, allocations: 41.06 kB / 0.5637 GB, free: 31.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.434, allocations: 128.8 kB / 0.5638 GB, free: 31.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.932e-05/0.4341, allocations: 326.1 kB / 0.5641 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.4343, allocations: 116.4 kB / 0.5642 GB, free: 30.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.4346, allocations: 176.9 kB / 0.5644 GB, free: 30.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.435, allocations: 276.9 kB / 0.5647 GB, free: 30.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.435, allocations: 1 kB / 0.5647 GB, free: 30.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008484/0.4359, allocations: 499.4 kB / 0.5651 GB, free: 30.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.046e-05/0.4359, allocations: 87.88 kB / 0.5652 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.436, allocations: 1.094 kB / 0.5652 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.436, allocations: 4.797 kB / 0.5652 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.4362, allocations: 23.88 kB / 0.5652 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.4362, allocations: 11.39 kB / 0.5653 GB, free: 30.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005323/0.4367, allocations: 65.33 kB / 0.5653 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.4369, allocations: 61.73 kB / 0.5654 GB, free: 30.17 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.0002139/0.4371, allocations: 193.8 kB / 0.5656 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.4371, allocations: 45.3 kB / 0.5656 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.523e-05/0.4372, allocations: 38.66 kB / 0.5656 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.4372, allocations: 5.109 kB / 0.5656 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.4372, allocations: 0 / 0.5656 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4372, allocations: 6.828 kB / 0.5657 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.4395, allocations: 0.7385 MB / 0.5664 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4395, allocations: 4.5 kB / 0.5664 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/0.4396, allocations: 5.031 kB / 0.5664 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.4396, allocations: 5.969 kB / 0.5664 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/0.4396, allocations: 24.34 kB / 0.5664 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4397, allocations: 1.188 kB / 0.5664 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4397, allocations: 0.75 kB / 0.5664 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/0.4414, allocations: 478.3 kB / 0.5669 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.4416, allocations: 195.2 kB / 0.5671 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.773e-05/0.4417, allocations: 12.55 kB / 0.5671 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004693/0.4422, allocations: 32.86 kB / 0.5671 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.4422, allocations: 7.172 kB / 0.5671 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.431e-05/0.4423, allocations: 61.98 kB / 0.5672 GB, free: 29.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003331/0.4427, allocations: 293.8 kB / 0.5674 GB, free: 29.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4427, allocations: 1.188 kB / 0.5674 GB, free: 29.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004047/0.4431, allocations: 64.78 kB / 0.5675 GB, free: 29.09 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.002078/0.4452, allocations: 1.031 MB / 0.5685 GB, free: 28.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.4467, allocations: 448.2 kB / 0.5689 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4467, allocations: 0 / 0.5689 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00078/0.4475, allocations: 118.9 kB / 0.5691 GB, free: 28.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.4479, allocations: 29.39 kB / 0.5691 GB, free: 28.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004739/0.4527, allocations: 2.889 MB / 0.5719 GB, free: 26.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.453, allocations: 0.7725 MB / 0.5727 GB, free: 25.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.01e-05/0.4531, allocations: 14.38 kB / 0.5727 GB, free: 25.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.4531, allocations: 26.06 kB / 0.5727 GB, free: 25.44 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4531, allocations: 0 / 0.5727 GB, free: 25.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.4752, allocations: 6.183 MB / 0.5787 GB, free: 24.33 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.4754, allocations: 200.5 kB / 0.5789 GB, free: 24.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.354, allocations: 0 / 0.5789 GB, free: 24.08 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonths.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)