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: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 183.1 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5828/0.5828, allocations: 91.99 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.637/1.637, allocations: 223.2 MB / 354.3 MB, free: 10.43 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.001126/0.001126, allocations: 103.7 kB / 427.4 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004442/0.0004443, allocations: 8 kB / 0.4982 GB, free: 42.08 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1731, allocations: 72.3 MB / 0.5689 GB, free: 1.711 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5215/0.6946, allocations: 104.3 MB / 0.6707 GB, free: 160 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.6949, allocations: 71.95 kB / 0.6707 GB, free: 88 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0151/0.7101, allocations: 4.6 MB / 0.6752 GB, free: 11.5 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.208e-06/0.7101, allocations: 0 / 0.6752 GB, free: 11.5 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.7101, allocations: 7.938 kB / 0.6752 GB, free: 11.49 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.001056/0.7112, allocations: 0.665 MB / 0.6759 GB, free: 10.74 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.7113, allocations: 8.031 kB / 0.6759 GB, free: 10.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.7114, allocations: 43.52 kB / 0.6759 GB, free: 10.69 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.7118, allocations: 242.7 kB / 0.6762 GB, free: 10.41 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/0.7119, allocations: 19.98 kB / 0.6762 GB, free: 10.39 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-05/0.712, allocations: 19.94 kB / 0.6762 GB, free: 10.38 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009649/0.713, allocations: 205.5 kB / 0.6764 GB, free: 10.17 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.713, allocations: 0 / 0.6764 GB, free: 10.17 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.713, allocations: 4 kB / 0.6764 GB, free: 10.16 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.713, allocations: 4 kB / 0.6764 GB, free: 10.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000747/0.7138, allocations: 116.3 kB / 0.6765 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/0.7142, allocations: 337.3 kB / 0.6768 GB, free: 9.668 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009945/0.7152, allocations: 190.4 kB / 0.677 GB, free: 9.473 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.7153, allocations: 8 kB / 0.677 GB, free: 9.465 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008757/0.7162, allocations: 215.9 kB / 0.6772 GB, free: 9.242 MB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.7162, allocations: 0 / 0.6772 GB, free: 9.242 MB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.002445/0.7186, allocations: 478.5 kB / 0.6777 GB, free: 8.77 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.7187, allocations: 63.39 kB / 0.6778 GB, free: 8.695 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.719, allocations: 262 kB / 0.678 GB, free: 8.438 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.302e-05/0.7191, allocations: 33.7 kB / 0.678 GB, free: 8.398 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.117e-05/0.7192, allocations: 85.14 kB / 0.6781 GB, free: 8.312 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.7192, allocations: 47.47 kB / 0.6782 GB, free: 8.266 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.7193, allocations: 8 kB / 0.6782 GB, free: 8.258 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.7194, allocations: 330.8 kB / 0.6785 GB, free: 7.926 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.7197, allocations: 91.94 kB / 0.6786 GB, free: 7.836 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.72, allocations: 138 kB / 0.6787 GB, free: 7.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.7202, allocations: 161.7 kB / 0.6789 GB, free: 7.512 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.7203, allocations: 0 / 0.6789 GB, free: 7.512 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007682/0.721, allocations: 392.7 kB / 0.6792 GB, free: 7.109 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.554e-05/0.7211, allocations: 76.94 kB / 0.6793 GB, free: 7.023 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.7211, allocations: 4 kB / 0.6793 GB, free: 7.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.7212, allocations: 0 / 0.6793 GB, free: 7.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.7213, allocations: 27.92 kB / 0.6793 GB, free: 6.992 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.7214, allocations: 4.188 kB / 0.6793 GB, free: 6.988 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.7217, allocations: 43.88 kB / 0.6794 GB, free: 6.945 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.951e-05/0.7218, allocations: 43.92 kB / 0.6794 GB, free: 6.902 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.0002152/0.722, allocations: 164 kB / 0.6796 GB, free: 6.73 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/0.7221, allocations: 39.5 kB / 0.6796 GB, free: 6.691 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.326e-05/0.7222, allocations: 30.31 kB / 0.6796 GB, free: 6.656 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.7222, allocations: 3.984 kB / 0.6797 GB, free: 6.652 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.7222, allocations: 0 / 0.6797 GB, free: 6.652 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.7222, allocations: 0 / 0.6797 GB, free: 6.652 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/0.7244, allocations: 0.7111 MB / 0.6803 GB, free: 5.887 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.7244, allocations: 0 / 0.6803 GB, free: 5.887 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.7244, allocations: 4 kB / 0.6803 GB, free: 5.883 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.7244, allocations: 4 kB / 0.6804 GB, free: 5.879 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.7245, allocations: 15.97 kB / 0.6804 GB, free: 5.863 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.7245, allocations: 4 kB / 0.6804 GB, free: 5.859 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7245, allocations: 0.7812 kB / 0.6804 GB, free: 5.859 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.7262, allocations: 474.8 kB / 0.6808 GB, free: 5.379 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/0.7264, allocations: 156.7 kB / 0.681 GB, free: 5.207 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-05/0.7265, allocations: 12 kB / 0.681 GB, free: 5.195 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/0.7269, allocations: 35.97 kB / 0.681 GB, free: 5.16 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.727, allocations: 7.984 kB / 0.681 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-05/0.727, allocations: 39.97 kB / 0.6811 GB, free: 5.113 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002059/0.7272, allocations: 209.9 kB / 0.6813 GB, free: 4.906 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7272, allocations: 0 / 0.6813 GB, free: 4.906 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003648/0.7276, allocations: 52 kB / 0.6813 GB, free: 4.855 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.000178/0.7278, allocations: 123.2 kB / 0.6814 GB, free: 4.727 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.729, allocations: 408.7 kB / 0.6818 GB, free: 4.305 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.729, allocations: 0 / 0.6818 GB, free: 4.305 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007609/0.7298, allocations: 119.9 kB / 0.6819 GB, free: 4.188 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.7301, allocations: 28.97 kB / 0.682 GB, free: 4.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.7315, allocations: 495.9 kB / 0.6824 GB, free: 3.648 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.7318, allocations: 0.7477 MB / 0.6832 GB, free: 2.875 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.227e-05/0.7319, allocations: 16.64 kB / 0.6832 GB, free: 2.859 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.732, allocations: 15.44 kB / 0.6832 GB, free: 2.844 MB / 474.7 MB Notification: Performance of SimCode: time 5.01e-07/0.732, allocations: 0 / 0.6832 GB, free: 2.844 MB / 474.7 MB Notification: Performance of Templates: time 0.008021/0.74, allocations: 3.905 MB / 0.687 GB, free: 14.95 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)