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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 105.8 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 191.3 kB / 16.91 MB, free: 6.195 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: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8436/0.8436, allocations: 126.1 MB / 416.8 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 59.89 kB / 0.4945 GB, free: 3.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4031, allocations: 78.7 MB / 0.5713 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.004604/0.4077, allocations: 1.575 MB / 0.5728 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.4093, allocations: 0.5371 MB / 0.5734 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/0.4094, allocations: 0 / 0.5734 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.4095, allocations: 10.45 kB / 0.5734 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.4097, allocations: 27.48 kB / 0.5734 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007028/0.4104, allocations: 286.9 kB / 0.5737 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000518/0.4109, allocations: 0.504 MB / 0.5742 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.411, allocations: 8.453 kB / 0.5742 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005213/0.4115, allocations: 337.9 kB / 0.5745 GB, free: 29.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003467/0.4119, allocations: 163.4 kB / 0.5747 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.857e-05/0.412, allocations: 27.94 kB / 0.5747 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.872e-05/0.4121, allocations: 26.91 kB / 0.5747 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.4123, allocations: 123.9 kB / 0.5748 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002629/0.4125, allocations: 196.8 kB / 0.575 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006433/0.4132, allocations: 429.9 kB / 0.5754 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4132, allocations: 2.531 kB / 0.5754 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4132, allocations: 0 / 0.5754 GB, free: 29.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.4132, allocations: 0 / 0.5754 GB, free: 29.04 MB / 446.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.001174/0.4144, allocations: 0.8638 MB / 0.5763 GB, free: 28.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.4145, allocations: 11.31 kB / 0.5763 GB, free: 28.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.4146, allocations: 50.66 kB / 0.5763 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.415, allocations: 313.6 kB / 0.5766 GB, free: 28.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-05/0.415, allocations: 19.36 kB / 0.5767 GB, free: 28.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.885e-05/0.4151, allocations: 29.05 kB / 0.5767 GB, free: 28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.4162, allocations: 210.3 kB / 0.5769 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4162, allocations: 192 / 0.5769 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.4162, allocations: 6.625 kB / 0.5769 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.4162, allocations: 1.875 kB / 0.5769 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007877/0.417, allocations: 101.7 kB / 0.577 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.4175, allocations: 399.4 kB / 0.5774 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.4185, allocations: 179.6 kB / 0.5775 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007673/0.4193, allocations: 114.1 kB / 0.5776 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.4194, allocations: 1.938 kB / 0.5776 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009877/0.4204, allocations: 216.2 kB / 0.5779 GB, free: 27.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.502e-06/0.4204, allocations: 0.75 kB / 0.5779 GB, free: 27.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002687/0.4231, allocations: 498.3 kB / 0.5783 GB, free: 27.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.4231, allocations: 56.12 kB / 0.5784 GB, free: 27.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004709/0.4236, allocations: 420.4 kB / 0.5788 GB, free: 26.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.168e-05/0.4237, allocations: 42.33 kB / 0.5788 GB, free: 26.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.189e-05/0.4238, allocations: 96.06 kB / 0.5789 GB, free: 26.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.4238, allocations: 37.94 kB / 0.579 GB, free: 26.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.424, allocations: 128.3 kB / 0.5791 GB, free: 26.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.4241, allocations: 321.1 kB / 0.5794 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.4244, allocations: 117.9 kB / 0.5795 GB, free: 26.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.4247, allocations: 181.3 kB / 0.5797 GB, free: 26.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.425, allocations: 278.5 kB / 0.5799 GB, free: 25.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.425, allocations: 0 / 0.5799 GB, free: 25.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000757/0.4258, allocations: 489 kB / 0.5804 GB, free: 25.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.193e-05/0.4259, allocations: 91.62 kB / 0.5805 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4259, allocations: 2.531 kB / 0.5805 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.4259, allocations: 10.58 kB / 0.5805 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.4261, allocations: 23.7 kB / 0.5805 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.4261, allocations: 3.969 kB / 0.5805 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005261/0.4267, allocations: 59.58 kB / 0.5806 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.735e-05/0.4268, allocations: 65.03 kB / 0.5806 GB, free: 25.45 MB / 446.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.0002174/0.427, allocations: 190.1 kB / 0.5808 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.178e-05/0.4271, allocations: 41.31 kB / 0.5809 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.624e-05/0.4271, allocations: 40.72 kB / 0.5809 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4271, allocations: 10.12 kB / 0.5809 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.4271, allocations: 1.375 kB / 0.5809 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4272, allocations: 1.344 kB / 0.5809 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002286/0.4294, allocations: 0.7441 MB / 0.5816 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4295, allocations: 0 / 0.5816 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/0.4295, allocations: 3.812 kB / 0.5816 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.4295, allocations: 9.109 kB / 0.5817 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.4296, allocations: 22.17 kB / 0.5817 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4296, allocations: 1.188 kB / 0.5817 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4296, allocations: 0 / 0.5817 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.4314, allocations: 479.8 kB / 0.5821 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000243/0.4317, allocations: 200.1 kB / 0.5823 GB, free: 24.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.241e-05/0.4317, allocations: 12.7 kB / 0.5823 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000479/0.4322, allocations: 29.25 kB / 0.5824 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.4323, allocations: 14.42 kB / 0.5824 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.624e-05/0.4323, allocations: 53.58 kB / 0.5824 GB, free: 24.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002647/0.4326, allocations: 293.2 kB / 0.5827 GB, free: 24.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4326, allocations: 1 kB / 0.5827 GB, free: 24.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004117/0.433, allocations: 65.36 kB / 0.5828 GB, free: 24.07 MB / 446.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.0001245/0.4332, allocations: 116.3 kB / 0.5829 GB, free: 23.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.4345, allocations: 447.8 kB / 0.5833 GB, free: 23.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4345, allocations: 3.938 kB / 0.5833 GB, free: 23.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007664/0.4353, allocations: 124.3 kB / 0.5834 GB, free: 23.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.4357, allocations: 28.58 kB / 0.5835 GB, free: 23.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.4371, allocations: 0.6717 MB / 0.5841 GB, free: 23.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.4374, allocations: 0.7686 MB / 0.5849 GB, free: 22.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.496e-05/0.4374, allocations: 13.77 kB / 0.5849 GB, free: 22.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.4375, allocations: 19.77 kB / 0.5849 GB, free: 22.43 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4375, allocations: 0 / 0.5849 GB, free: 22.43 MB / 446.1 MB Notification: Performance of Templates: time 0.009324/0.4468, allocations: 5.11 MB / 0.5899 GB, free: 19.26 MB / 446.1 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)