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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009896/0.0009897, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4874/0.4874, allocations: 90.81 MB / 104.5 MB, free: 9.781 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 221.3 MB / 348.3 MB, free: 428 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008964/0.0008964, allocations: 105.6 kB / 421.2 MB, free: 5.457 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.405e-05/3.427e-05, allocations: 4 kB / 0.4897 GB, free: 5.242 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3092, allocations: 72.3 MB / 0.5603 GB, free: 40.4 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1143/0.4235, allocations: 104.1 MB / 0.662 GB, free: 136 kB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001868/0.4238, allocations: 72.67 kB / 0.6621 GB, free: 64 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01344/0.4373, allocations: 4.593 MB / 0.6666 GB, free: 11.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4373, allocations: 0 / 0.6666 GB, free: 11.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.4373, allocations: 7.938 kB / 0.6666 GB, free: 11.48 MB / 490.7 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.0006485/0.438, allocations: 0.6251 MB / 0.6672 GB, free: 10.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.438, allocations: 11.98 kB / 0.6672 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.589e-05/0.438, allocations: 43.48 kB / 0.6672 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.744e-05/0.4381, allocations: 31.67 kB / 0.6673 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.4384, allocations: 258.5 kB / 0.6675 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/0.4385, allocations: 15.98 kB / 0.6675 GB, free: 10.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.4385, allocations: 20 kB / 0.6675 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.4388, allocations: 146.6 kB / 0.6677 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.4388, allocations: 0 / 0.6677 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.4388, allocations: 4 kB / 0.6677 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4389, allocations: 0 / 0.6677 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.439, allocations: 55.88 kB / 0.6677 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.4393, allocations: 330.3 kB / 0.6681 GB, free: 9.766 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.4395, allocations: 110.5 kB / 0.6682 GB, free: 9.648 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.4396, allocations: 57.22 kB / 0.6682 GB, free: 9.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.4397, allocations: 4 kB / 0.6682 GB, free: 9.586 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.4399, allocations: 163.2 kB / 0.6684 GB, free: 9.414 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.4399, allocations: 0 / 0.6684 GB, free: 9.414 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.000466/0.4404, allocations: 250.4 kB / 0.6686 GB, free: 9.164 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.4404, allocations: 71.38 kB / 0.6687 GB, free: 9.082 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.4407, allocations: 255.3 kB / 0.6689 GB, free: 8.828 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.4407, allocations: 37.7 kB / 0.669 GB, free: 8.785 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.4408, allocations: 95.56 kB / 0.669 GB, free: 8.688 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.4408, allocations: 35.61 kB / 0.6691 GB, free: 8.652 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.4409, allocations: 8 kB / 0.6691 GB, free: 8.645 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.441, allocations: 326.8 kB / 0.6694 GB, free: 8.316 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.4412, allocations: 83.98 kB / 0.6695 GB, free: 8.234 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.4414, allocations: 137.9 kB / 0.6696 GB, free: 8.078 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.4416, allocations: 158.4 kB / 0.6698 GB, free: 7.914 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4416, allocations: 0 / 0.6698 GB, free: 7.914 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006151/0.4423, allocations: 388.6 kB / 0.6701 GB, free: 7.516 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.908e-05/0.4423, allocations: 71.39 kB / 0.6702 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.4423, allocations: 4 kB / 0.6702 GB, free: 7.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.4424, allocations: 192 / 0.6702 GB, free: 7.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.4425, allocations: 31.92 kB / 0.6702 GB, free: 7.398 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.4425, allocations: 7.984 kB / 0.6702 GB, free: 7.391 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.4428, allocations: 39.83 kB / 0.6703 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/0.4429, allocations: 39.98 kB / 0.6703 GB, free: 7.312 MB / 490.7 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.443, allocations: 135.1 kB / 0.6705 GB, free: 7.176 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.4431, allocations: 27.72 kB / 0.6705 GB, free: 7.148 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.188e-05/0.4431, allocations: 26.08 kB / 0.6705 GB, free: 7.121 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.4432, allocations: 4 kB / 0.6705 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4432, allocations: 0 / 0.6705 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4432, allocations: 0 / 0.6705 GB, free: 7.117 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007958/0.444, allocations: 0.6008 MB / 0.6711 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.444, allocations: 4 kB / 0.6711 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.444, allocations: 4 kB / 0.6711 GB, free: 6.453 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.444, allocations: 4 kB / 0.6711 GB, free: 6.449 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.4441, allocations: 19.97 kB / 0.6711 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4441, allocations: 0.9375 kB / 0.6711 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.4441, allocations: 0 / 0.6711 GB, free: 6.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.4445, allocations: 357.5 kB / 0.6715 GB, free: 6.066 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.4447, allocations: 164.7 kB / 0.6716 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.939e-05/0.4448, allocations: 12 kB / 0.6716 GB, free: 5.875 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.4452, allocations: 35.97 kB / 0.6717 GB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.4452, allocations: 11.97 kB / 0.6717 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.184e-05/0.4453, allocations: 39.98 kB / 0.6717 GB, free: 5.789 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001736/0.4455, allocations: 207.1 kB / 0.6719 GB, free: 5.582 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4455, allocations: 0 / 0.6719 GB, free: 5.582 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002977/0.4458, allocations: 52.66 kB / 0.672 GB, free: 5.531 MB / 490.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007143/0.4465, allocations: 0.8994 MB / 0.6728 GB, free: 4.605 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004718/0.447, allocations: 338.6 kB / 0.6732 GB, free: 4.25 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.447, allocations: 0 / 0.6732 GB, free: 4.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.4471, allocations: 70.45 kB / 0.6732 GB, free: 4.184 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.4473, allocations: 18.08 kB / 0.6733 GB, free: 4.168 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006881/0.448, allocations: 338.1 kB / 0.6736 GB, free: 3.801 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.4483, allocations: 0.7438 MB / 0.6743 GB, free: 3.031 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.321e-05/0.4484, allocations: 16.77 kB / 0.6743 GB, free: 3.016 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.4484, allocations: 23.42 kB / 0.6743 GB, free: 2.992 MB / 490.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4484, allocations: 3.938 kB / 0.6743 GB, free: 2.988 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.4643, allocations: 4.926 MB / 0.6792 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.4646, allocations: 148.5 kB / 0.6793 GB, free: 14 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.432/1.896, allocations: 0 / 0.6793 GB, free: 14 MB / 0.4948 GB (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/linux/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)