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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 182 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5235/0.5235, allocations: 91.98 MB / 108.5 MB, free: 13.08 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.676/1.676, allocations: 223.2 MB / 354.3 MB, free: 10.44 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.001076/0.001076, allocations: 88.34 kB / 427.4 MB, free: 2.195 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004674/0.0004675, allocations: 12 kB / 0.4983 GB, free: 41.95 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.18, allocations: 72.3 MB / 0.5689 GB, free: 1.582 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5434/0.7235, allocations: 104.3 MB / 0.6707 GB, free: 24 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.7238, allocations: 71.91 kB / 0.6708 GB, free: 15.95 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01565/0.7395, allocations: 4.594 MB / 0.6753 GB, free: 11.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.7396, allocations: 3.938 kB / 0.6753 GB, free: 11.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.311e-05/0.7396, allocations: 8 kB / 0.6753 GB, free: 11.37 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.001135/0.7407, allocations: 0.6728 MB / 0.676 GB, free: 10.61 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.7408, allocations: 8.031 kB / 0.676 GB, free: 10.6 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.36e-05/0.7409, allocations: 34.56 kB / 0.676 GB, free: 10.56 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.741, allocations: 47.5 kB / 0.6761 GB, free: 10.51 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/0.7415, allocations: 242.6 kB / 0.6763 GB, free: 10.23 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.238e-05/0.7415, allocations: 16 kB / 0.6763 GB, free: 10.22 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/0.7416, allocations: 19.98 kB / 0.6763 GB, free: 10.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009346/0.7426, allocations: 209.5 kB / 0.6765 GB, free: 9.988 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.7426, allocations: 0 / 0.6765 GB, free: 9.988 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.7426, allocations: 0 / 0.6765 GB, free: 9.988 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.7426, allocations: 0 / 0.6765 GB, free: 9.988 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000732/0.7434, allocations: 119.8 kB / 0.6766 GB, free: 9.871 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.7439, allocations: 329.3 kB / 0.6769 GB, free: 9.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.7449, allocations: 190.5 kB / 0.6771 GB, free: 9.305 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.745, allocations: 3.984 kB / 0.6771 GB, free: 9.301 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008817/0.7459, allocations: 219.2 kB / 0.6773 GB, free: 9.074 MB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 2.345e-06/0.7459, allocations: 0 / 0.6773 GB, free: 9.074 MB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.002452/0.7484, allocations: 482.5 kB / 0.6778 GB, free: 8.598 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.7484, allocations: 59.41 kB / 0.6779 GB, free: 8.527 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.7488, allocations: 262 kB / 0.6781 GB, free: 8.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.228e-05/0.7489, allocations: 37.7 kB / 0.6781 GB, free: 8.227 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.952e-05/0.749, allocations: 93.12 kB / 0.6782 GB, free: 8.133 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.7491, allocations: 39.48 kB / 0.6783 GB, free: 8.094 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.7491, allocations: 8 kB / 0.6783 GB, free: 8.086 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.7492, allocations: 322.8 kB / 0.6786 GB, free: 7.762 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.7495, allocations: 91.95 kB / 0.6787 GB, free: 7.672 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.7498, allocations: 146.8 kB / 0.6788 GB, free: 7.508 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.7501, allocations: 150.1 kB / 0.679 GB, free: 7.352 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7501, allocations: 0 / 0.679 GB, free: 7.352 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007517/0.7508, allocations: 412.6 kB / 0.6794 GB, free: 6.93 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.779e-05/0.7509, allocations: 77.11 kB / 0.6794 GB, free: 6.844 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.7509, allocations: 0 / 0.6794 GB, free: 6.844 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.751, allocations: 4 kB / 0.6794 GB, free: 6.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.7511, allocations: 23.92 kB / 0.6795 GB, free: 6.816 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.7512, allocations: 7.922 kB / 0.6795 GB, free: 6.809 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.7515, allocations: 44.11 kB / 0.6795 GB, free: 6.766 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.724e-05/0.7516, allocations: 39.98 kB / 0.6795 GB, free: 6.727 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.0002301/0.7519, allocations: 171.9 kB / 0.6797 GB, free: 6.547 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/0.7519, allocations: 27.62 kB / 0.6797 GB, free: 6.52 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.394e-05/0.752, allocations: 26.3 kB / 0.6798 GB, free: 6.488 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.752, allocations: 4 kB / 0.6798 GB, free: 6.484 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.752, allocations: 0 / 0.6798 GB, free: 6.484 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.752, allocations: 4 kB / 0.6798 GB, free: 6.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.7543, allocations: 0.7195 MB / 0.6805 GB, free: 5.707 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.7543, allocations: 0 / 0.6805 GB, free: 5.707 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.7543, allocations: 4 kB / 0.6805 GB, free: 5.703 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.7543, allocations: 0 / 0.6805 GB, free: 5.703 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.7544, allocations: 15.97 kB / 0.6805 GB, free: 5.688 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.7544, allocations: 0 / 0.6805 GB, free: 5.688 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7544, allocations: 0 / 0.6805 GB, free: 5.688 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.7561, allocations: 470.9 kB / 0.6809 GB, free: 5.211 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.7563, allocations: 160.7 kB / 0.6811 GB, free: 5.035 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/0.7564, allocations: 12 kB / 0.6811 GB, free: 5.023 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000426/0.7568, allocations: 39.97 kB / 0.6811 GB, free: 4.984 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.7569, allocations: 7.984 kB / 0.6811 GB, free: 4.977 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.55e-05/0.757, allocations: 35.98 kB / 0.6812 GB, free: 4.941 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002266/0.7572, allocations: 213.9 kB / 0.6814 GB, free: 4.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7572, allocations: 3.938 kB / 0.6814 GB, free: 4.727 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004497/0.7577, allocations: 55.98 kB / 0.6814 GB, free: 4.672 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.002043/0.7597, allocations: 1.027 MB / 0.6824 GB, free: 3.621 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.7611, allocations: 396.3 kB / 0.6828 GB, free: 3.211 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.7611, allocations: 0 / 0.6828 GB, free: 3.211 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007388/0.7619, allocations: 132.2 kB / 0.6829 GB, free: 3.082 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.7622, allocations: 16.66 kB / 0.683 GB, free: 3.066 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.7643, allocations: 1.658 MB / 0.6846 GB, free: 1.332 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.7646, allocations: 0.7477 MB / 0.6853 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.582e-05/0.7647, allocations: 4.656 kB / 0.6853 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.7648, allocations: 31.42 kB / 0.6853 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7648, allocations: 0 / 0.6853 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.7827, allocations: 4.908 MB / 0.6901 GB, free: 11.75 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002496/0.783, allocations: 177.3 kB / 0.6903 GB, free: 11.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.588, allocations: 0 / 0.6903 GB, free: 11.52 MB / 490.7 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/linux/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)