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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009227/0.0009229, allocations: 93.03 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 175.7 kB / 16.91 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8116/0.8116, allocations: 123.1 MB / 415.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003464, allocations: 8 kB / 0.4933 GB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4915/0.4919, allocations: 79.29 MB / 0.5708 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002155/0.4941, allocations: 1.235 MB / 0.572 GB, free: 9.789 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.4957, allocations: 0.5845 MB / 0.5726 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.4958, allocations: 0 / 0.5726 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.4959, allocations: 10.7 kB / 0.5726 GB, free: 9.496 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.4961, allocations: 21.25 kB / 0.5726 GB, free: 9.492 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008056/0.4969, allocations: 293.5 kB / 0.5729 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005505/0.4974, allocations: 449 kB / 0.5733 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.117e-05/0.4975, allocations: 5.516 kB / 0.5733 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005115/0.498, allocations: 305.8 kB / 0.5736 GB, free: 9.164 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.4984, allocations: 166.1 kB / 0.5738 GB, free: 9.117 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.636e-05/0.4984, allocations: 14.28 kB / 0.5738 GB, free: 9.117 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.808e-05/0.4985, allocations: 12.88 kB / 0.5738 GB, free: 9.117 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.4987, allocations: 117.5 kB / 0.5739 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.499, allocations: 205 kB / 0.5741 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004837/0.4994, allocations: 411.8 kB / 0.5745 GB, free: 8.852 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.4995, allocations: 0.7188 kB / 0.5745 GB, free: 8.852 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4995, allocations: 0 / 0.5745 GB, free: 8.852 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.4995, allocations: 1.406 kB / 0.5745 GB, free: 8.852 MB / 430.1 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.0009325/0.5004, allocations: 0.751 MB / 0.5752 GB, free: 8.145 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.5005, allocations: 9.625 kB / 0.5752 GB, free: 8.145 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.5006, allocations: 54.92 kB / 0.5753 GB, free: 8.121 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.5009, allocations: 311.7 kB / 0.5756 GB, free: 7.863 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/0.501, allocations: 14.62 kB / 0.5756 GB, free: 7.863 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.106e-05/0.5011, allocations: 29.05 kB / 0.5756 GB, free: 7.859 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.5021, allocations: 225.3 kB / 0.5758 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.5021, allocations: 192 / 0.5758 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.5022, allocations: 10.47 kB / 0.5758 GB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5022, allocations: 2.188 kB / 0.5758 GB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008467/0.503, allocations: 117.9 kB / 0.576 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005837/0.5036, allocations: 392.6 kB / 0.5763 GB, free: 7.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.5048, allocations: 190.5 kB / 0.5765 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000821/0.5056, allocations: 121.9 kB / 0.5766 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.5057, allocations: 2.797 kB / 0.5766 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/0.5068, allocations: 228.5 kB / 0.5768 GB, free: 7.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.943e-06/0.5068, allocations: 0.8125 kB / 0.5768 GB, free: 7.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.002873/0.5097, allocations: 0.5146 MB / 0.5773 GB, free: 7.215 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.5097, allocations: 59.23 kB / 0.5774 GB, free: 7.152 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005114/0.5102, allocations: 410.6 kB / 0.5778 GB, free: 6.957 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.065e-05/0.5103, allocations: 39.98 kB / 0.5778 GB, free: 6.922 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.541e-05/0.5104, allocations: 96.2 kB / 0.5779 GB, free: 6.836 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.5104, allocations: 38.28 kB / 0.578 GB, free: 6.809 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.329e-05/0.5105, allocations: 41.72 kB / 0.578 GB, free: 6.781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.663e-05/0.5106, allocations: 326 kB / 0.5783 GB, free: 6.461 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.5109, allocations: 117.9 kB / 0.5784 GB, free: 6.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.5112, allocations: 171.5 kB / 0.5786 GB, free: 6.336 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.5117, allocations: 281.6 kB / 0.5789 GB, free: 6.133 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.5117, allocations: 1.734 kB / 0.5789 GB, free: 6.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009751/0.5127, allocations: 487 kB / 0.5793 GB, free: 5.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.915e-05/0.5128, allocations: 92.5 kB / 0.5794 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.5128, allocations: 5.438 kB / 0.5794 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.5128, allocations: 2.938 kB / 0.5794 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.513, allocations: 31.66 kB / 0.5795 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.513, allocations: 3.641 kB / 0.5795 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005641/0.5136, allocations: 71.45 kB / 0.5795 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.5137, allocations: 59.2 kB / 0.5796 GB, free: 5.82 MB / 430.1 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002396/0.5139, allocations: 194.4 kB / 0.5798 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.514, allocations: 40.92 kB / 0.5798 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.391e-05/0.5141, allocations: 43.23 kB / 0.5798 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.5141, allocations: 1.688 kB / 0.5798 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.5141, allocations: 0.7031 kB / 0.5798 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5141, allocations: 0.7031 kB / 0.5798 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.5166, allocations: 0.7715 MB / 0.5806 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5166, allocations: 0 / 0.5806 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.5166, allocations: 5.062 kB / 0.5806 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.5166, allocations: 1.766 kB / 0.5806 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.322e-05/0.5167, allocations: 21.84 kB / 0.5806 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.5167, allocations: 6.281 kB / 0.5806 GB, free: 5.223 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5167, allocations: 7.875 kB / 0.5806 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.5186, allocations: 0.489 MB / 0.5811 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.5189, allocations: 195.8 kB / 0.5813 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-05/0.519, allocations: 10.83 kB / 0.5813 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/0.5195, allocations: 41.27 kB / 0.5814 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.5195, allocations: 8.609 kB / 0.5814 GB, free: 4.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.302e-05/0.5196, allocations: 60.3 kB / 0.5814 GB, free: 4.859 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003403/0.5199, allocations: 293.8 kB / 0.5817 GB, free: 4.723 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.52, allocations: 0 / 0.5817 GB, free: 4.723 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005231/0.5205, allocations: 68.45 kB / 0.5818 GB, free: 4.719 MB / 430.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001572/0.5206, allocations: 109.2 kB / 0.5819 GB, free: 4.621 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.522, allocations: 452.3 kB / 0.5823 GB, free: 4.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.522, allocations: 0 / 0.5823 GB, free: 4.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008616/0.5229, allocations: 143 kB / 0.5824 GB, free: 4.383 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.5233, allocations: 25.2 kB / 0.5825 GB, free: 4.371 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.5249, allocations: 0.6845 MB / 0.5831 GB, free: 3.953 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.5251, allocations: 0.7702 MB / 0.5839 GB, free: 3.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.879e-05/0.5252, allocations: 16.61 kB / 0.5839 GB, free: 3.246 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.5253, allocations: 15.72 kB / 0.5839 GB, free: 3.238 MB / 430.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5253, allocations: 0 / 0.5839 GB, free: 3.238 MB / 430.1 MB Notification: Performance of Templates: time 0.01138/0.5367, allocations: 4.911 MB / 0.5887 GB, free: 2.305 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)