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.001501/0.001501, allocations: 182.2 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5843/0.5843, allocations: 91.98 MB / 108.5 MB, free: 13.06 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.708/1.708, allocations: 223.2 MB / 354.3 MB, free: 12.12 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 92.3 kB / 427.4 MB, free: 3.875 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.000384, allocations: 12 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1863, allocations: 72.31 MB / 0.5689 GB, free: 1.828 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5659/0.7523, allocations: 104.2 MB / 0.6707 GB, free: 192 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.7526, allocations: 67.97 kB / 0.6707 GB, free: 124 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01552/0.7682, allocations: 4.595 MB / 0.6752 GB, free: 11.55 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.719e-06/0.7682, allocations: 0 / 0.6752 GB, free: 11.55 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.047e-05/0.7683, allocations: 11.94 kB / 0.6752 GB, free: 11.54 MB / 474.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.001126/0.7694, allocations: 0.6689 MB / 0.6759 GB, free: 10.78 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.008e-05/0.7695, allocations: 8.031 kB / 0.6759 GB, free: 10.77 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.104e-05/0.7696, allocations: 38.56 kB / 0.6759 GB, free: 10.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.7697, allocations: 43.56 kB / 0.676 GB, free: 10.68 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000517/0.7703, allocations: 246.6 kB / 0.6762 GB, free: 10.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.719e-05/0.7703, allocations: 12 kB / 0.6762 GB, free: 10.39 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.733e-05/0.7704, allocations: 19.98 kB / 0.6763 GB, free: 10.37 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.7714, allocations: 210.2 kB / 0.6765 GB, free: 10.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.7715, allocations: 7.984 kB / 0.6765 GB, free: 10.15 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/0.7715, allocations: 4 kB / 0.6765 GB, free: 10.15 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.7715, allocations: 0 / 0.6765 GB, free: 10.15 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007227/0.7723, allocations: 115.8 kB / 0.6766 GB, free: 10.04 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.7727, allocations: 329.3 kB / 0.6769 GB, free: 9.664 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009769/0.7737, allocations: 189.2 kB / 0.6771 GB, free: 9.473 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.7738, allocations: 0 / 0.6771 GB, free: 9.473 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008834/0.7747, allocations: 219.8 kB / 0.6773 GB, free: 9.246 MB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 2.365e-06/0.7747, allocations: 0 / 0.6773 GB, free: 9.246 MB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.002551/0.7772, allocations: 486.5 kB / 0.6777 GB, free: 8.766 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.7773, allocations: 55.41 kB / 0.6778 GB, free: 8.699 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.7776, allocations: 262 kB / 0.678 GB, free: 8.441 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.101e-05/0.7777, allocations: 37.7 kB / 0.6781 GB, free: 8.398 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.7778, allocations: 93.12 kB / 0.6782 GB, free: 8.305 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/0.7779, allocations: 43.48 kB / 0.6782 GB, free: 8.262 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.7779, allocations: 8 kB / 0.6782 GB, free: 8.254 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.778, allocations: 322.8 kB / 0.6785 GB, free: 7.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.7783, allocations: 91.94 kB / 0.6786 GB, free: 7.84 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.7786, allocations: 138.8 kB / 0.6787 GB, free: 7.684 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.7789, allocations: 162 kB / 0.6789 GB, free: 7.516 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.7789, allocations: 0 / 0.6789 GB, free: 7.516 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000808/0.7797, allocations: 412.6 kB / 0.6793 GB, free: 7.094 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.425e-05/0.7798, allocations: 71.39 kB / 0.6794 GB, free: 7.012 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.7798, allocations: 0 / 0.6794 GB, free: 7.012 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.7798, allocations: 4 kB / 0.6794 GB, free: 7.008 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.78, allocations: 27.91 kB / 0.6794 GB, free: 6.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.78, allocations: 0 / 0.6794 GB, free: 6.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.7804, allocations: 40.17 kB / 0.6794 GB, free: 6.941 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.697e-05/0.7805, allocations: 47.92 kB / 0.6795 GB, free: 6.895 MB / 474.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002232/0.7807, allocations: 171.9 kB / 0.6796 GB, free: 6.715 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.7808, allocations: 27.62 kB / 0.6797 GB, free: 6.688 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.101e-05/0.7808, allocations: 26.3 kB / 0.6797 GB, free: 6.656 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/0.7809, allocations: 4 kB / 0.6797 GB, free: 6.652 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.7809, allocations: 0 / 0.6797 GB, free: 6.652 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7809, allocations: 4 kB / 0.6797 GB, free: 6.648 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.783, allocations: 0.7114 MB / 0.6804 GB, free: 5.883 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.783, allocations: 4 kB / 0.6804 GB, free: 5.879 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.7831, allocations: 4 kB / 0.6804 GB, free: 5.875 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.7831, allocations: 0 / 0.6804 GB, free: 5.875 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.002e-05/0.7831, allocations: 23.95 kB / 0.6804 GB, free: 5.852 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.7831, allocations: 0 / 0.6804 GB, free: 5.852 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.7831, allocations: 4 kB / 0.6804 GB, free: 5.848 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.7848, allocations: 466.9 kB / 0.6809 GB, free: 5.375 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.785, allocations: 160.7 kB / 0.681 GB, free: 5.199 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.048e-05/0.7851, allocations: 12 kB / 0.681 GB, free: 5.188 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.7855, allocations: 31.97 kB / 0.6811 GB, free: 5.156 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.7856, allocations: 15.98 kB / 0.6811 GB, free: 5.141 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.817e-05/0.7857, allocations: 35.98 kB / 0.6811 GB, free: 5.105 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002033/0.7859, allocations: 209.9 kB / 0.6813 GB, free: 4.898 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.493e-06/0.7859, allocations: 0 / 0.6813 GB, free: 4.898 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003927/0.7863, allocations: 59.92 kB / 0.6814 GB, free: 4.84 MB / 474.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) * 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 (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.002014/0.7883, allocations: 1.022 MB / 0.6824 GB, free: 3.797 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.7895, allocations: 402.5 kB / 0.6828 GB, free: 3.379 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.7896, allocations: 0 / 0.6828 GB, free: 3.379 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007272/0.7903, allocations: 132.2 kB / 0.6829 GB, free: 3.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.7906, allocations: 16.64 kB / 0.6829 GB, free: 3.234 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.7928, allocations: 1.654 MB / 0.6845 GB, free: 1.504 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.7932, allocations: 0.7477 MB / 0.6852 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.073e-05/0.7933, allocations: 16.58 kB / 0.6853 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.7934, allocations: 23.44 kB / 0.6853 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7934, allocations: 0 / 0.6853 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.8154, allocations: 4.895 MB / 0.6901 GB, free: 11.92 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002687/0.8157, allocations: 184 kB / 0.6902 GB, free: 11.68 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.517, allocations: 0 / 0.6902 GB, free: 11.68 MB / 490.7 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/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)