Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.001237/0.001236, allocations: 106.1 kB / 15.98 MB, free: 6.359 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.001295/0.001295, allocations: 191.4 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.437/1.437, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7433/0.7433, allocations: 115.3 MB / 406.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 59.91 kB / 493.2 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4367, allocations: 76.18 MB / 0.556 GB, free: 36.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002669/0.4394, allocations: 1.563 MB / 0.5575 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.4406, allocations: 0.5474 MB / 0.5581 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.208e-05/0.4406, allocations: 1.844 kB / 0.5581 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.958e-05/0.4407, allocations: 3.938 kB / 0.5581 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.4409, allocations: 30.5 kB / 0.5581 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006814/0.4415, allocations: 289.5 kB / 0.5584 GB, free: 34.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005091/0.4421, allocations: 0.4996 MB / 0.5589 GB, free: 34.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.4421, allocations: 8.406 kB / 0.5589 GB, free: 34.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004258/0.4425, allocations: 343.4 kB / 0.5592 GB, free: 34.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.4428, allocations: 163.5 kB / 0.5594 GB, free: 34.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.547e-05/0.4429, allocations: 28.03 kB / 0.5594 GB, free: 34.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.326e-05/0.443, allocations: 27.09 kB / 0.5594 GB, free: 34.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.4431, allocations: 118.9 kB / 0.5595 GB, free: 34.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.4433, allocations: 196.7 kB / 0.5597 GB, free: 34.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004598/0.4438, allocations: 426.2 kB / 0.5601 GB, free: 34.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.4438, allocations: 0 / 0.5601 GB, free: 34.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4438, allocations: 1.344 kB / 0.5601 GB, free: 34.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.4438, allocations: 1.25 kB / 0.5601 GB, free: 34.09 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.001117/0.445, allocations: 0.87 MB / 0.561 GB, free: 33.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.445, allocations: 13.41 kB / 0.561 GB, free: 33.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.4451, allocations: 36.03 kB / 0.561 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.4452, allocations: 56.11 kB / 0.5611 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.4455, allocations: 308.1 kB / 0.5614 GB, free: 33.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/0.4456, allocations: 22.91 kB / 0.5614 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.192e-05/0.4457, allocations: 25.61 kB / 0.5614 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.4467, allocations: 219.9 kB / 0.5616 GB, free: 32.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.4467, allocations: 4.906 kB / 0.5616 GB, free: 32.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.4468, allocations: 1.938 kB / 0.5616 GB, free: 32.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.4468, allocations: 1.156 kB / 0.5616 GB, free: 32.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007976/0.4476, allocations: 97.83 kB / 0.5617 GB, free: 32.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.4481, allocations: 398 kB / 0.5621 GB, free: 32.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.4492, allocations: 179.3 kB / 0.5623 GB, free: 32.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008019/0.45, allocations: 110.3 kB / 0.5624 GB, free: 32.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.45, allocations: 7.641 kB / 0.5624 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.4511, allocations: 221.7 kB / 0.5626 GB, free: 32.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.4511, allocations: 0 / 0.5626 GB, free: 32.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002655/0.4538, allocations: 488.7 kB / 0.5631 GB, free: 32.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.4538, allocations: 62.73 kB / 0.5631 GB, free: 32.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000421/0.4542, allocations: 408.4 kB / 0.5635 GB, free: 32.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.816e-05/0.4543, allocations: 39.44 kB / 0.5636 GB, free: 32.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/0.4544, allocations: 95.73 kB / 0.5636 GB, free: 32.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.541e-05/0.4544, allocations: 45.14 kB / 0.5637 GB, free: 31.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.4547, allocations: 131.1 kB / 0.5638 GB, free: 31.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.017e-05/0.4547, allocations: 322.3 kB / 0.5641 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.455, allocations: 121.9 kB / 0.5642 GB, free: 31.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.4553, allocations: 171.5 kB / 0.5644 GB, free: 31.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.4556, allocations: 280.4 kB / 0.5647 GB, free: 31.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4557, allocations: 1.969 kB / 0.5647 GB, free: 31.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008433/0.4565, allocations: 489.8 kB / 0.5651 GB, free: 31.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.594e-05/0.4566, allocations: 92.66 kB / 0.5652 GB, free: 30.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.4566, allocations: 3.469 kB / 0.5652 GB, free: 30.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.4566, allocations: 2.781 kB / 0.5652 GB, free: 30.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.4568, allocations: 29.05 kB / 0.5653 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.4568, allocations: 3.375 kB / 0.5653 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005575/0.4574, allocations: 62.56 kB / 0.5653 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.4575, allocations: 58.2 kB / 0.5654 GB, free: 30.97 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.0002854/0.4578, allocations: 197.3 kB / 0.5656 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/0.4579, allocations: 44.47 kB / 0.5656 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.437e-05/0.458, allocations: 38.84 kB / 0.5656 GB, free: 30.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.458, allocations: 2.75 kB / 0.5656 GB, free: 30.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.458, allocations: 3.938 kB / 0.5656 GB, free: 30.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.458, allocations: 2.469 kB / 0.5657 GB, free: 30.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.4605, allocations: 0.7472 MB / 0.5664 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.4605, allocations: 1.312 kB / 0.5664 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.4606, allocations: 8.875 kB / 0.5664 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.4606, allocations: 2.062 kB / 0.5664 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.248e-05/0.4606, allocations: 23.16 kB / 0.5664 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.4606, allocations: 1.156 kB / 0.5664 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.4606, allocations: 0.6094 kB / 0.5664 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.4626, allocations: 483.7 kB / 0.5669 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/0.463, allocations: 196.7 kB / 0.5671 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.157e-05/0.4631, allocations: 10.72 kB / 0.5671 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/0.4636, allocations: 33.89 kB / 0.5671 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.4637, allocations: 8.141 kB / 0.5671 GB, free: 30.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.4638, allocations: 60.81 kB / 0.5672 GB, free: 30.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003922/0.4642, allocations: 294.9 kB / 0.5675 GB, free: 29.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4642, allocations: 0 / 0.5675 GB, free: 29.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005037/0.4647, allocations: 65.56 kB / 0.5675 GB, free: 29.89 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.002194/0.4669, allocations: 1.03 MB / 0.5685 GB, free: 29.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.4684, allocations: 441.8 kB / 0.5689 GB, free: 28.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4684, allocations: 2.062 kB / 0.5689 GB, free: 28.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007809/0.4692, allocations: 118.4 kB / 0.5691 GB, free: 28.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.4696, allocations: 30.11 kB / 0.5691 GB, free: 28.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004277/0.4739, allocations: 2.889 MB / 0.5719 GB, free: 26.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.4743, allocations: 0.7729 MB / 0.5727 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.319e-05/0.4744, allocations: 13.23 kB / 0.5727 GB, free: 26.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.639e-05/0.4745, allocations: 25.59 kB / 0.5727 GB, free: 26.24 MB / 446.1 MB Notification: Performance of SimCode: time 1.543e-06/0.4745, allocations: 3.938 kB / 0.5727 GB, free: 26.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.4948, allocations: 6.192 MB / 0.5788 GB, free: 24.84 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/0.495, allocations: 208.1 kB / 0.579 GB, free: 24.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.366, allocations: 0 / 0.579 GB, free: 24.58 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)