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.001428/0.001428, allocations: 101.9 kB / 15.98 MB, free: 6.348 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.001554/0.001554, allocations: 197.9 kB / 16.91 MB, free: 6.191 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.455/1.455, 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.7781/0.7781, allocations: 115.3 MB / 406.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.001441, allocations: 59.91 kB / 493.2 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4422, allocations: 76.16 MB / 0.556 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00349/0.4458, allocations: 1.573 MB / 0.5575 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.4471, allocations: 0.5524 MB / 0.5581 GB, free: 33.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.446e-05/0.4471, allocations: 0 / 0.5581 GB, free: 33.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.4473, allocations: 7.281 kB / 0.5581 GB, free: 33.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.4474, allocations: 24.42 kB / 0.5581 GB, free: 33.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009442/0.4484, allocations: 285.4 kB / 0.5584 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006785/0.4491, allocations: 0.5084 MB / 0.5589 GB, free: 33.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.299e-05/0.4492, allocations: 7.703 kB / 0.5589 GB, free: 33.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006081/0.4498, allocations: 333.2 kB / 0.5592 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003542/0.4501, allocations: 165.5 kB / 0.5594 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.98e-05/0.4502, allocations: 29.31 kB / 0.5594 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.573e-05/0.4503, allocations: 26.69 kB / 0.5594 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.4505, allocations: 118.5 kB / 0.5595 GB, free: 33.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.4508, allocations: 195.8 kB / 0.5597 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005946/0.4514, allocations: 431.3 kB / 0.5601 GB, free: 33.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.4514, allocations: 1.125 kB / 0.5601 GB, free: 33.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.4514, allocations: 0 / 0.5601 GB, free: 33.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.4514, allocations: 1.938 kB / 0.5601 GB, free: 33.17 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.001478/0.4529, allocations: 0.8672 MB / 0.561 GB, free: 32.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.824e-05/0.453, allocations: 9.594 kB / 0.561 GB, free: 32.43 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.359e-05/0.4531, allocations: 40.59 kB / 0.561 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.4532, allocations: 51.62 kB / 0.5611 GB, free: 32.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.4537, allocations: 305.8 kB / 0.5614 GB, free: 32.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.65e-05/0.4538, allocations: 19.47 kB / 0.5614 GB, free: 32.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.4539, allocations: 28.59 kB / 0.5614 GB, free: 32.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.4551, allocations: 220.1 kB / 0.5616 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.4551, allocations: 5.469 kB / 0.5616 GB, free: 32.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.4552, allocations: 1.953 kB / 0.5616 GB, free: 32.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.4552, allocations: 1.875 kB / 0.5616 GB, free: 32.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008564/0.4561, allocations: 102.1 kB / 0.5617 GB, free: 32.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006374/0.4567, allocations: 388.4 kB / 0.5621 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.4579, allocations: 183.8 kB / 0.5623 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007808/0.4587, allocations: 110.9 kB / 0.5624 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.4587, allocations: 3.25 kB / 0.5624 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/0.4598, allocations: 225.3 kB / 0.5626 GB, free: 31.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.565e-06/0.4598, allocations: 0 / 0.5626 GB, free: 31.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002903/0.4627, allocations: 489.3 kB / 0.5631 GB, free: 31.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.4628, allocations: 59.27 kB / 0.5631 GB, free: 31.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005319/0.4633, allocations: 410.2 kB / 0.5635 GB, free: 31.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.711e-05/0.4634, allocations: 41.08 kB / 0.5636 GB, free: 31.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.4635, allocations: 99.75 kB / 0.5636 GB, free: 31.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.4635, allocations: 37.2 kB / 0.5637 GB, free: 31.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.4638, allocations: 135 kB / 0.5638 GB, free: 31.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.699e-05/0.4639, allocations: 323.5 kB / 0.5641 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/0.4642, allocations: 117 kB / 0.5642 GB, free: 30.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.4645, allocations: 183.3 kB / 0.5644 GB, free: 30.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.4649, allocations: 277.7 kB / 0.5647 GB, free: 30.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4649, allocations: 5.781 kB / 0.5647 GB, free: 30.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008615/0.4657, allocations: 488.3 kB / 0.5651 GB, free: 30.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.4658, allocations: 93.16 kB / 0.5652 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4659, allocations: 1.906 kB / 0.5652 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.4659, allocations: 3.125 kB / 0.5652 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.4661, allocations: 23.97 kB / 0.5653 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.4661, allocations: 3.812 kB / 0.5653 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005658/0.4667, allocations: 61.61 kB / 0.5653 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.4668, allocations: 63.92 kB / 0.5654 GB, free: 30.06 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.0002787/0.4671, allocations: 191.9 kB / 0.5656 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.4671, allocations: 44.39 kB / 0.5656 GB, free: 29.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.767e-05/0.4672, allocations: 42.86 kB / 0.5656 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4672, allocations: 2.312 kB / 0.5656 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.4672, allocations: 0 / 0.5656 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4673, allocations: 2.047 kB / 0.5657 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.4696, allocations: 0.7437 MB / 0.5664 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.4696, allocations: 0 / 0.5664 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-05/0.4697, allocations: 5.109 kB / 0.5664 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4697, allocations: 5.625 kB / 0.5664 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.137e-05/0.4697, allocations: 22.89 kB / 0.5664 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4697, allocations: 2.531 kB / 0.5664 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4698, allocations: 0.6875 kB / 0.5664 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.4716, allocations: 475.1 kB / 0.5669 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.4719, allocations: 200.6 kB / 0.5671 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.616e-05/0.472, allocations: 10.92 kB / 0.5671 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005058/0.4725, allocations: 33.86 kB / 0.5671 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.4726, allocations: 16.3 kB / 0.5671 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-05/0.4727, allocations: 56.23 kB / 0.5672 GB, free: 29.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003464/0.473, allocations: 294.2 kB / 0.5674 GB, free: 28.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.473, allocations: 1.812 kB / 0.5675 GB, free: 28.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004707/0.4735, allocations: 64.58 kB / 0.5675 GB, free: 28.98 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.00207/0.4756, allocations: 1.028 MB / 0.5685 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.4769, allocations: 447.3 kB / 0.5689 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.477, allocations: 0.5 kB / 0.5689 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008205/0.4778, allocations: 120.6 kB / 0.5691 GB, free: 28.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.4782, allocations: 30.48 kB / 0.5691 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004162/0.4824, allocations: 2.89 MB / 0.5719 GB, free: 26.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.4826, allocations: 0.774 MB / 0.5727 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.551e-05/0.4827, allocations: 17.33 kB / 0.5727 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.145e-05/0.4828, allocations: 21.58 kB / 0.5727 GB, free: 25.33 MB / 446.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4828, allocations: 1.25 kB / 0.5727 GB, free: 25.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.5073, allocations: 6.198 MB / 0.5788 GB, free: 24.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/0.5076, allocations: 208.5 kB / 0.579 GB, free: 24.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.815/2.323, allocations: 0 / 0.579 GB, free: 24.04 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)