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.001227/0.001227, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001257/0.001257, allocations: 192 kB / 17.2 MB, free: 5.598 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.394/1.394, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7808/0.7808, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.00159, allocations: 59.89 kB / 0.4912 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4253, allocations: 77.93 MB / 0.5673 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00306/0.4284, allocations: 1.503 MB / 0.5687 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.4298, allocations: 0.5501 MB / 0.5693 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.4298, allocations: 9.062 kB / 0.5693 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.4299, allocations: 6 kB / 0.5693 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.4301, allocations: 27.22 kB / 0.5693 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008478/0.4309, allocations: 317.7 kB / 0.5696 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005466/0.4315, allocations: 0.4944 MB / 0.5701 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.646e-05/0.4316, allocations: 7.359 kB / 0.5701 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004182/0.432, allocations: 274.4 kB / 0.5704 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.4323, allocations: 135.3 kB / 0.5705 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.4324, allocations: 27.28 kB / 0.5705 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.4325, allocations: 26.44 kB / 0.5706 GB, free: 30.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.4327, allocations: 115.9 kB / 0.5707 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.4329, allocations: 187.7 kB / 0.5708 GB, free: 30.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006185/0.4335, allocations: 420.9 kB / 0.5712 GB, free: 30.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4335, allocations: 0 / 0.5712 GB, free: 30.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4335, allocations: 1.312 kB / 0.5712 GB, free: 30.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.4336, allocations: 1.062 kB / 0.5712 GB, free: 30.45 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.001414/0.435, allocations: 0.8782 MB / 0.5721 GB, free: 29.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.345e-05/0.4351, allocations: 11 kB / 0.5721 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.959e-05/0.4351, allocations: 33.47 kB / 0.5721 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.4353, allocations: 57.69 kB / 0.5722 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.4357, allocations: 299.8 kB / 0.5725 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-05/0.4357, allocations: 17.52 kB / 0.5725 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.41e-05/0.4358, allocations: 27.48 kB / 0.5725 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.437, allocations: 216.9 kB / 0.5727 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.437, allocations: 7.922 kB / 0.5727 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.437, allocations: 3.141 kB / 0.5727 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.437, allocations: 2.438 kB / 0.5728 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008178/0.4379, allocations: 96.94 kB / 0.5728 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.4384, allocations: 397.2 kB / 0.5732 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.4396, allocations: 174.6 kB / 0.5734 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008144/0.4404, allocations: 113.1 kB / 0.5735 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.4404, allocations: 12.36 kB / 0.5735 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.4415, allocations: 222.5 kB / 0.5737 GB, free: 28.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.264e-06/0.4415, allocations: 0.5 kB / 0.5737 GB, free: 28.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002923/0.4444, allocations: 483.8 kB / 0.5742 GB, free: 28.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.4445, allocations: 62.91 kB / 0.5742 GB, free: 28.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000533/0.445, allocations: 411.2 kB / 0.5746 GB, free: 28.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.521e-05/0.4451, allocations: 44.67 kB / 0.5747 GB, free: 28.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.002e-05/0.4452, allocations: 96.77 kB / 0.5748 GB, free: 28.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.4452, allocations: 36.92 kB / 0.5748 GB, free: 28.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.4455, allocations: 137.9 kB / 0.5749 GB, free: 28.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.4456, allocations: 321.7 kB / 0.5752 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.4459, allocations: 122.6 kB / 0.5754 GB, free: 27.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.4462, allocations: 170.9 kB / 0.5755 GB, free: 27.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.4465, allocations: 278 kB / 0.5758 GB, free: 27.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.4466, allocations: 1.938 kB / 0.5758 GB, free: 27.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001006/0.4476, allocations: 489.9 kB / 0.5763 GB, free: 27.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.4477, allocations: 93.22 kB / 0.5763 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.4478, allocations: 2.094 kB / 0.5763 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.4478, allocations: 6.469 kB / 0.5764 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.448, allocations: 28.78 kB / 0.5764 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.754e-05/0.448, allocations: 4.781 kB / 0.5764 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/0.4487, allocations: 65.58 kB / 0.5764 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.4488, allocations: 57.69 kB / 0.5765 GB, free: 27.32 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.0003427/0.4491, allocations: 192.1 kB / 0.5767 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.005e-05/0.4492, allocations: 45.53 kB / 0.5767 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.932e-05/0.4493, allocations: 38.22 kB / 0.5768 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.4493, allocations: 2.922 kB / 0.5768 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.4494, allocations: 0 / 0.5768 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.4494, allocations: 3.688 kB / 0.5768 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/0.4519, allocations: 0.7475 MB / 0.5775 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.4519, allocations: 3.219 kB / 0.5775 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.261e-05/0.452, allocations: 8.141 kB / 0.5775 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.452, allocations: 1.312 kB / 0.5775 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-05/0.4521, allocations: 23.38 kB / 0.5775 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.4521, allocations: 0.5625 kB / 0.5775 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4521, allocations: 1.312 kB / 0.5775 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.4539, allocations: 475.6 kB / 0.578 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.4541, allocations: 201 kB / 0.5782 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.516e-05/0.4542, allocations: 15.45 kB / 0.5782 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004783/0.4547, allocations: 35.88 kB / 0.5782 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.4548, allocations: 7.547 kB / 0.5782 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.392e-05/0.4548, allocations: 59.41 kB / 0.5783 GB, free: 26.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003729/0.4552, allocations: 294.3 kB / 0.5786 GB, free: 26.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4552, allocations: 0 / 0.5786 GB, free: 26.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004684/0.4557, allocations: 65.48 kB / 0.5786 GB, free: 26.24 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.002091/0.4578, allocations: 1.028 MB / 0.5796 GB, free: 25.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.4592, allocations: 447 kB / 0.5801 GB, free: 25.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4592, allocations: 0.875 kB / 0.5801 GB, free: 25.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007578/0.4599, allocations: 118.2 kB / 0.5802 GB, free: 25.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.4603, allocations: 31.88 kB / 0.5802 GB, free: 25.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.4641, allocations: 2.781 MB / 0.5829 GB, free: 23.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.4644, allocations: 0.7684 MB / 0.5837 GB, free: 22.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.717e-05/0.4645, allocations: 15.05 kB / 0.5837 GB, free: 22.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/0.4645, allocations: 26.48 kB / 0.5837 GB, free: 22.39 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4645, allocations: 0 / 0.5837 GB, free: 22.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.489, allocations: 6.102 MB / 0.5897 GB, free: 19.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/8.093, allocations: 18.97 kB / 0.5897 GB, free: 19.09 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)