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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 181.7 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.5413/0.5413, allocations: 91.98 MB / 108.5 MB, free: 13.07 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.724/1.724, allocations: 223.1 MB / 354.3 MB, free: 10.41 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.001107/0.001107, allocations: 92.28 kB / 427.4 MB, free: 2.145 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005381/0.0005381, allocations: 12 kB / 0.4983 GB, free: 41.99 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2152, allocations: 72.3 MB / 0.5689 GB, free: 1.625 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5648/0.7801, allocations: 104.3 MB / 0.6707 GB, free: 104 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.7804, allocations: 75.94 kB / 0.6708 GB, free: 28 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01564/0.7961, allocations: 4.591 MB / 0.6753 GB, free: 11.45 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.7962, allocations: 3.938 kB / 0.6753 GB, free: 11.45 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.7962, allocations: 8 kB / 0.6753 GB, free: 11.44 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.001058/0.7973, allocations: 0.665 MB / 0.676 GB, free: 10.69 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.7973, allocations: 8.031 kB / 0.676 GB, free: 10.68 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.025e-05/0.7974, allocations: 46.48 kB / 0.676 GB, free: 10.63 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.7976, allocations: 39.58 kB / 0.676 GB, free: 10.59 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.798, allocations: 246.6 kB / 0.6763 GB, free: 10.31 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.7981, allocations: 15.98 kB / 0.6763 GB, free: 10.29 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.566e-05/0.7981, allocations: 23.98 kB / 0.6763 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009256/0.7991, allocations: 209.5 kB / 0.6765 GB, free: 10.06 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.7991, allocations: 0 / 0.6765 GB, free: 10.06 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.7991, allocations: 0 / 0.6765 GB, free: 10.06 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.7991, allocations: 0 / 0.6765 GB, free: 10.06 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007434/0.7999, allocations: 115.8 kB / 0.6766 GB, free: 9.945 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.8003, allocations: 333.3 kB / 0.6769 GB, free: 9.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.8014, allocations: 186.5 kB / 0.6771 GB, free: 9.379 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.8014, allocations: 0 / 0.6771 GB, free: 9.379 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008704/0.8023, allocations: 219.2 kB / 0.6773 GB, free: 9.152 MB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 2.404e-06/0.8023, allocations: 0 / 0.6773 GB, free: 9.152 MB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.00245/0.8048, allocations: 482.1 kB / 0.6778 GB, free: 8.676 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.8048, allocations: 63.39 kB / 0.6779 GB, free: 8.602 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.8051, allocations: 250.1 kB / 0.6781 GB, free: 8.355 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.341e-05/0.8052, allocations: 45.69 kB / 0.6781 GB, free: 8.305 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.8053, allocations: 85.14 kB / 0.6782 GB, free: 8.219 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.744e-05/0.8054, allocations: 47.47 kB / 0.6783 GB, free: 8.172 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.8054, allocations: 11.94 kB / 0.6783 GB, free: 8.16 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.8055, allocations: 326.8 kB / 0.6786 GB, free: 7.832 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.8058, allocations: 95.94 kB / 0.6787 GB, free: 7.738 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.8061, allocations: 139 kB / 0.6788 GB, free: 7.582 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.8064, allocations: 155.3 kB / 0.679 GB, free: 7.418 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.8064, allocations: 0 / 0.679 GB, free: 7.418 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007822/0.8072, allocations: 403 kB / 0.6793 GB, free: 7.008 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.92e-05/0.8073, allocations: 72.95 kB / 0.6794 GB, free: 6.926 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.8073, allocations: 3.984 kB / 0.6794 GB, free: 6.922 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.8073, allocations: 4 kB / 0.6794 GB, free: 6.918 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.8075, allocations: 32.11 kB / 0.6795 GB, free: 6.887 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.8075, allocations: 0 / 0.6795 GB, free: 6.887 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003596/0.8079, allocations: 43.91 kB / 0.6795 GB, free: 6.844 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.506e-05/0.808, allocations: 39.98 kB / 0.6795 GB, free: 6.805 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.0002239/0.8082, allocations: 168 kB / 0.6797 GB, free: 6.629 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.8083, allocations: 31.62 kB / 0.6797 GB, free: 6.598 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.573e-05/0.8083, allocations: 26.3 kB / 0.6797 GB, free: 6.566 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.8083, allocations: 4 kB / 0.6798 GB, free: 6.562 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.8084, allocations: 3.984 kB / 0.6798 GB, free: 6.559 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.8084, allocations: 0 / 0.6798 GB, free: 6.559 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/0.8105, allocations: 0.7199 MB / 0.6805 GB, free: 5.785 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.8106, allocations: 0 / 0.6805 GB, free: 5.785 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.8106, allocations: 8 kB / 0.6805 GB, free: 5.777 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.8106, allocations: 0 / 0.6805 GB, free: 5.777 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.8107, allocations: 15.97 kB / 0.6805 GB, free: 5.762 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.8107, allocations: 0 / 0.6805 GB, free: 5.762 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.8107, allocations: 4 kB / 0.6805 GB, free: 5.758 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.8123, allocations: 470.9 kB / 0.6809 GB, free: 5.281 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.8126, allocations: 160.7 kB / 0.6811 GB, free: 5.105 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.387e-05/0.8126, allocations: 12 kB / 0.6811 GB, free: 5.094 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.8131, allocations: 35.97 kB / 0.6811 GB, free: 5.059 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.8131, allocations: 7.984 kB / 0.6811 GB, free: 5.051 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.339e-05/0.8132, allocations: 39.97 kB / 0.6812 GB, free: 5.012 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002088/0.8134, allocations: 209.9 kB / 0.6814 GB, free: 4.805 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8134, allocations: 3.938 kB / 0.6814 GB, free: 4.801 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000371/0.8138, allocations: 60 kB / 0.6814 GB, free: 4.742 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.00205/0.8159, allocations: 1.025 MB / 0.6824 GB, free: 3.695 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.8171, allocations: 394.5 kB / 0.6828 GB, free: 3.285 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.8172, allocations: 0 / 0.6828 GB, free: 3.285 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007568/0.8179, allocations: 128.2 kB / 0.6829 GB, free: 3.16 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.8182, allocations: 24.58 kB / 0.683 GB, free: 3.137 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.8204, allocations: 1.658 MB / 0.6846 GB, free: 1.402 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.8208, allocations: 0.7438 MB / 0.6853 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.85e-05/0.8208, allocations: 12.64 kB / 0.6853 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/0.8209, allocations: 27.42 kB / 0.6853 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of SimCode: time 5.11e-07/0.8209, allocations: 0 / 0.6853 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.8398, allocations: 4.91 MB / 0.6901 GB, free: 11.82 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.84, allocations: 177.5 kB / 0.6903 GB, free: 11.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.507, allocations: 0 / 0.6903 GB, free: 11.59 MB / 490.7 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/linux/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)