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.00176/0.00176, allocations: 107.7 kB / 16.64 MB, free: 6.371 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.002028/0.002028, allocations: 189.4 kB / 17.56 MB, free: 5.797 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.396/1.396, allocations: 222.9 MB / 241.2 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8226/0.8226, allocations: 125.4 MB / 416.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 63.89 kB / 0.4943 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3482, allocations: 78.56 MB / 0.571 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002418/0.3506, allocations: 1.569 MB / 0.5725 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.3517, allocations: 0.542 MB / 0.5731 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.437e-05/0.3517, allocations: 1.312 kB / 0.5731 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.048e-05/0.3518, allocations: 5.953 kB / 0.5731 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.328e-05/0.3519, allocations: 23.73 kB / 0.5731 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006608/0.3526, allocations: 287.2 kB / 0.5734 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004957/0.3531, allocations: 0.5131 MB / 0.5739 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.3532, allocations: 7.109 kB / 0.5739 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004186/0.3536, allocations: 334.1 kB / 0.5742 GB, free: 28.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.3539, allocations: 167.6 kB / 0.5743 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.771e-05/0.354, allocations: 27.22 kB / 0.5744 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.442e-05/0.354, allocations: 26.72 kB / 0.5744 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.3542, allocations: 121.2 kB / 0.5745 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.3544, allocations: 194.5 kB / 0.5747 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.3547, allocations: 323.1 kB / 0.575 GB, free: 28.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.3548, allocations: 1.25 kB / 0.575 GB, free: 28.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3548, allocations: 0 / 0.575 GB, free: 28.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3548, allocations: 0.5312 kB / 0.575 GB, free: 28.64 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.001104/0.3559, allocations: 0.8602 MB / 0.5758 GB, free: 27.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3559, allocations: 19.41 kB / 0.5759 GB, free: 27.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.3561, allocations: 50.84 kB / 0.5759 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.3564, allocations: 306.1 kB / 0.5762 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.3564, allocations: 18.16 kB / 0.5762 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.539e-05/0.3565, allocations: 25.27 kB / 0.5762 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.3576, allocations: 210.3 kB / 0.5765 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3576, allocations: 192 / 0.5765 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.3576, allocations: 11.53 kB / 0.5765 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.3576, allocations: 1.469 kB / 0.5765 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007732/0.3584, allocations: 101.1 kB / 0.5766 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.3589, allocations: 401.7 kB / 0.5769 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.3599, allocations: 178.8 kB / 0.5771 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007702/0.3607, allocations: 109.6 kB / 0.5772 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.3608, allocations: 3.641 kB / 0.5772 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009725/0.3617, allocations: 221.5 kB / 0.5774 GB, free: 27.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.3617, allocations: 1.594 kB / 0.5774 GB, free: 27.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002691/0.3644, allocations: 491.3 kB / 0.5779 GB, free: 26.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.3645, allocations: 58.64 kB / 0.578 GB, free: 26.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.365, allocations: 415.7 kB / 0.5784 GB, free: 26.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.537e-05/0.365, allocations: 40.61 kB / 0.5784 GB, free: 26.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.3651, allocations: 95.23 kB / 0.5785 GB, free: 26.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.3652, allocations: 41.72 kB / 0.5785 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.3654, allocations: 126.5 kB / 0.5786 GB, free: 26.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.83e-05/0.3654, allocations: 328.8 kB / 0.579 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.3657, allocations: 117 kB / 0.5791 GB, free: 26.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.366, allocations: 173.9 kB / 0.5792 GB, free: 26.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.3663, allocations: 278.3 kB / 0.5795 GB, free: 25.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3663, allocations: 0 / 0.5795 GB, free: 25.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007947/0.3671, allocations: 495.5 kB / 0.58 GB, free: 25.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.948e-05/0.3672, allocations: 96.3 kB / 0.5801 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.3672, allocations: 2.828 kB / 0.5801 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3672, allocations: 2.625 kB / 0.5801 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.3674, allocations: 24.39 kB / 0.5801 GB, free: 25.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.3674, allocations: 6.594 kB / 0.5801 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005323/0.368, allocations: 65.73 kB / 0.5802 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.253e-05/0.3681, allocations: 60.7 kB / 0.5802 GB, free: 25.54 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.0002308/0.3683, allocations: 195.5 kB / 0.5804 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.3684, allocations: 41.06 kB / 0.5804 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.28e-05/0.3684, allocations: 39.66 kB / 0.5805 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3684, allocations: 1.281 kB / 0.5805 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3684, allocations: 1.656 kB / 0.5805 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3685, allocations: 5.656 kB / 0.5805 GB, free: 25.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.3706, allocations: 0.7458 MB / 0.5812 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3706, allocations: 1.156 kB / 0.5812 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.829e-05/0.3707, allocations: 3.406 kB / 0.5812 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3707, allocations: 5.031 kB / 0.5812 GB, free: 24.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.3707, allocations: 19.12 kB / 0.5812 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3707, allocations: 4.031 kB / 0.5813 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3707, allocations: 0 / 0.5813 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.3724, allocations: 479.1 kB / 0.5817 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.3727, allocations: 199.9 kB / 0.5819 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.565e-05/0.3728, allocations: 9.219 kB / 0.5819 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004974/0.3733, allocations: 35.64 kB / 0.5819 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.3733, allocations: 6.188 kB / 0.5819 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.879e-05/0.3734, allocations: 61.75 kB / 0.582 GB, free: 24.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000269/0.3737, allocations: 293.7 kB / 0.5823 GB, free: 24.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3737, allocations: 1 kB / 0.5823 GB, free: 24.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004365/0.3741, allocations: 69.08 kB / 0.5824 GB, free: 24.15 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.0001294/0.3743, allocations: 121.7 kB / 0.5825 GB, free: 24.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.3755, allocations: 444.6 kB / 0.5829 GB, free: 23.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3756, allocations: 0.9062 kB / 0.5829 GB, free: 23.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007788/0.3763, allocations: 118.7 kB / 0.583 GB, free: 23.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.3767, allocations: 32.89 kB / 0.583 GB, free: 23.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.3783, allocations: 0.7097 MB / 0.5837 GB, free: 23.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.3785, allocations: 0.7729 MB / 0.5845 GB, free: 22.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.3785, allocations: 19.11 kB / 0.5845 GB, free: 22.47 MB / 446.1 MB Notification: Performance of SimCode: time 5.82e-07/0.3785, allocations: 0 / 0.5845 GB, free: 22.47 MB / 446.1 MB Notification: Performance of Templates: time 0.005673/0.3842, allocations: 3.665 MB / 0.5881 GB, free: 20.52 MB / 446.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)