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.001228/0.001228, allocations: 112.3 kB / 17.04 MB, free: 5.809 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.00115/0.00115, allocations: 195 kB / 17.98 MB, free: 5.031 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.342/1.342, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7268/0.7268, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 60.08 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3089, allocations: 76.15 MB / 0.5576 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002481/0.3114, allocations: 1.472 MB / 0.559 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008193/0.3123, allocations: 436.2 kB / 0.5594 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/0.3123, allocations: 0 / 0.5594 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.805e-05/0.3124, allocations: 12.67 kB / 0.5594 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.662e-05/0.3125, allocations: 23.56 kB / 0.5594 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005911/0.3131, allocations: 248.9 kB / 0.5597 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003507/0.3135, allocations: 334.3 kB / 0.56 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.159e-05/0.3135, allocations: 5.938 kB / 0.56 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.3138, allocations: 193.7 kB / 0.5602 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.314, allocations: 118.3 kB / 0.5603 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.45e-05/0.3141, allocations: 19.72 kB / 0.5603 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.014e-05/0.3141, allocations: 18.94 kB / 0.5603 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.3143, allocations: 83.44 kB / 0.5604 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.3144, allocations: 132 kB / 0.5606 GB, free: 34.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.3147, allocations: 288 kB / 0.5608 GB, free: 34.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3147, allocations: 0.7188 kB / 0.5608 GB, free: 34.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3147, allocations: 1.5 kB / 0.5608 GB, free: 34.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.3148, allocations: 1.031 kB / 0.5608 GB, free: 34.71 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.0009982/0.3158, allocations: 0.7339 MB / 0.5615 GB, free: 34.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3158, allocations: 10 kB / 0.5616 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.348e-05/0.3159, allocations: 36.05 kB / 0.5616 GB, free: 34.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.3162, allocations: 267 kB / 0.5618 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.224e-05/0.3163, allocations: 14.09 kB / 0.5619 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.3164, allocations: 20.22 kB / 0.5619 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000888/0.3172, allocations: 204.7 kB / 0.5621 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3173, allocations: 0.75 kB / 0.5621 GB, free: 33.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.3173, allocations: 7.453 kB / 0.5621 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.3173, allocations: 2.094 kB / 0.5621 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006916/0.318, allocations: 93.88 kB / 0.5622 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.3183, allocations: 314 kB / 0.5625 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009127/0.3193, allocations: 175.3 kB / 0.5626 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006522/0.3199, allocations: 105.6 kB / 0.5627 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.32, allocations: 7.203 kB / 0.5627 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00087/0.3208, allocations: 214.3 kB / 0.5629 GB, free: 33.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.3208, allocations: 0 / 0.5629 GB, free: 33.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002441/0.3233, allocations: 448.8 kB / 0.5634 GB, free: 33.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.3234, allocations: 58.53 kB / 0.5634 GB, free: 33.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.3237, allocations: 289.5 kB / 0.5637 GB, free: 32.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.3238, allocations: 37.94 kB / 0.5637 GB, free: 32.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.777e-05/0.3238, allocations: 94.48 kB / 0.5638 GB, free: 32.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.3239, allocations: 46.03 kB / 0.5639 GB, free: 32.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.3241, allocations: 95.83 kB / 0.564 GB, free: 32.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.3242, allocations: 326.6 kB / 0.5643 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.3244, allocations: 81.31 kB / 0.5644 GB, free: 32.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.3246, allocations: 133.3 kB / 0.5645 GB, free: 32.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.325, allocations: 235.8 kB / 0.5647 GB, free: 32.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/0.325, allocations: 5.156 kB / 0.5647 GB, free: 32.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006625/0.3257, allocations: 398.1 kB / 0.5651 GB, free: 31.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.498e-05/0.3257, allocations: 77.92 kB / 0.5652 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3257, allocations: 1.594 kB / 0.5652 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.3258, allocations: 4.562 kB / 0.5652 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.3259, allocations: 23.52 kB / 0.5652 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.326, allocations: 3.812 kB / 0.5652 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.3264, allocations: 57.86 kB / 0.5653 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-05/0.3265, allocations: 39.16 kB / 0.5653 GB, free: 31.89 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.0001665/0.3266, allocations: 177.2 kB / 0.5655 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.3267, allocations: 24.05 kB / 0.5655 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.996e-05/0.3268, allocations: 28.61 kB / 0.5655 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3268, allocations: 1.438 kB / 0.5655 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3268, allocations: 5.344 kB / 0.5655 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3268, allocations: 1.859 kB / 0.5655 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/0.3288, allocations: 0.6939 MB / 0.5662 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3288, allocations: 4.562 kB / 0.5662 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.3289, allocations: 6.422 kB / 0.5662 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3289, allocations: 1.281 kB / 0.5662 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.3289, allocations: 15.02 kB / 0.5662 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.3289, allocations: 2.875 kB / 0.5662 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3289, allocations: 0 / 0.5662 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.3305, allocations: 450.1 kB / 0.5667 GB, free: 31.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.3307, allocations: 158.3 kB / 0.5668 GB, free: 31.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.334e-05/0.3308, allocations: 11.98 kB / 0.5668 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.3312, allocations: 33.91 kB / 0.5669 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.3313, allocations: 10.89 kB / 0.5669 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.315e-05/0.3313, allocations: 45.39 kB / 0.5669 GB, free: 30.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001878/0.3315, allocations: 215.2 kB / 0.5671 GB, free: 30.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3315, allocations: 0 / 0.5671 GB, free: 30.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003274/0.3319, allocations: 47.33 kB / 0.5672 GB, free: 30.88 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.0001232/0.332, allocations: 116.8 kB / 0.5673 GB, free: 30.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.3331, allocations: 384.4 kB / 0.5676 GB, free: 30.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3331, allocations: 1.875 kB / 0.5676 GB, free: 30.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006874/0.3338, allocations: 114.8 kB / 0.5677 GB, free: 30.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.3341, allocations: 27.28 kB / 0.5678 GB, free: 30.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.3353, allocations: 434.4 kB / 0.5682 GB, free: 30.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.3355, allocations: 0.7414 MB / 0.5689 GB, free: 29.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.929e-05/0.3356, allocations: 14 kB / 0.5689 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.3356, allocations: 16.45 kB / 0.5689 GB, free: 29.61 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3357, allocations: 4.469 kB / 0.5689 GB, free: 29.6 MB / 446.1 MB Notification: Performance of Templates: time 0.007476/0.3431, allocations: 3.637 MB / 0.5725 GB, free: 29.27 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)