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.0007957/0.0007956, allocations: 93.8 kB / 16.67 MB, free: 6.254 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.0008162/0.0008162, allocations: 177.9 kB / 17.57 MB, free: 5.891 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.297/1.297, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6943/0.6943, allocations: 115.5 MB / 408.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003168, allocations: 8 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3427, allocations: 77.52 MB / 0.5606 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001451/0.3442, allocations: 1.227 MB / 0.5618 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.3454, allocations: 0.5825 MB / 0.5623 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.3454, allocations: 1.062 kB / 0.5623 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.886e-05/0.3455, allocations: 10.31 kB / 0.5624 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.3456, allocations: 25.92 kB / 0.5624 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007158/0.3463, allocations: 285 kB / 0.5626 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004458/0.3468, allocations: 448.8 kB / 0.5631 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.315e-05/0.3469, allocations: 6.812 kB / 0.5631 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004481/0.3473, allocations: 304.1 kB / 0.5634 GB, free: 34.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.3476, allocations: 162.3 kB / 0.5635 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.89e-05/0.3477, allocations: 14.56 kB / 0.5635 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.462e-05/0.3478, allocations: 13.78 kB / 0.5636 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.3479, allocations: 112.2 kB / 0.5637 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.3482, allocations: 209.5 kB / 0.5639 GB, free: 34.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.3485, allocations: 309.6 kB / 0.5642 GB, free: 34.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3485, allocations: 0 / 0.5642 GB, free: 34.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3486, allocations: 1.062 kB / 0.5642 GB, free: 34.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.3486, allocations: 0.5938 kB / 0.5642 GB, free: 34.27 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.0009984/0.3496, allocations: 0.7437 MB / 0.5649 GB, free: 33.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3496, allocations: 13.44 kB / 0.5649 GB, free: 33.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.3497, allocations: 55.69 kB / 0.565 GB, free: 33.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.3501, allocations: 322.6 kB / 0.5653 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/0.3501, allocations: 14.12 kB / 0.5653 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.899e-05/0.3502, allocations: 29.47 kB / 0.5653 GB, free: 33.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.3513, allocations: 227.9 kB / 0.5655 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3513, allocations: 1.594 kB / 0.5655 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.3513, allocations: 5.625 kB / 0.5655 GB, free: 33.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3513, allocations: 2 kB / 0.5655 GB, free: 33.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007831/0.3521, allocations: 113.3 kB / 0.5656 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.3526, allocations: 390.1 kB / 0.566 GB, free: 32.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.3537, allocations: 192.9 kB / 0.5662 GB, free: 32.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007806/0.3545, allocations: 125.4 kB / 0.5663 GB, free: 32.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.3545, allocations: 10.12 kB / 0.5663 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.3555, allocations: 236.4 kB / 0.5665 GB, free: 32.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.355e-06/0.3556, allocations: 1 kB / 0.5665 GB, free: 32.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002735/0.3583, allocations: 0.5112 MB / 0.567 GB, free: 32.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.3584, allocations: 57.41 kB / 0.5671 GB, free: 32.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005196/0.3589, allocations: 416.5 kB / 0.5675 GB, free: 32.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.298e-05/0.359, allocations: 40.06 kB / 0.5675 GB, free: 32.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.359, allocations: 95.75 kB / 0.5676 GB, free: 32.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.3591, allocations: 36.86 kB / 0.5677 GB, free: 32.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/0.3592, allocations: 42.52 kB / 0.5677 GB, free: 32.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.784e-05/0.3592, allocations: 322.7 kB / 0.568 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.3595, allocations: 118.3 kB / 0.5681 GB, free: 31.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.3598, allocations: 167.6 kB / 0.5683 GB, free: 31.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.3601, allocations: 277 kB / 0.5685 GB, free: 31.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3601, allocations: 2.719 kB / 0.5685 GB, free: 31.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007916/0.3609, allocations: 492.5 kB / 0.569 GB, free: 31.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.294e-05/0.361, allocations: 93.16 kB / 0.5691 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.361, allocations: 1.609 kB / 0.5691 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.361, allocations: 3.688 kB / 0.5691 GB, free: 31.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.3612, allocations: 27.78 kB / 0.5691 GB, free: 31.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3612, allocations: 4.812 kB / 0.5691 GB, free: 31.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005377/0.3618, allocations: 72.8 kB / 0.5692 GB, free: 31.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.854e-05/0.3619, allocations: 57.62 kB / 0.5693 GB, free: 31.25 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.0002286/0.3621, allocations: 194 kB / 0.5695 GB, free: 31.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.3622, allocations: 41.08 kB / 0.5695 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.618e-05/0.3623, allocations: 41.98 kB / 0.5695 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3623, allocations: 6.578 kB / 0.5695 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.3623, allocations: 1.438 kB / 0.5695 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3623, allocations: 1.359 kB / 0.5695 GB, free: 31.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.3645, allocations: 0.7681 MB / 0.5703 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3645, allocations: 1.312 kB / 0.5703 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.58e-05/0.3646, allocations: 5.625 kB / 0.5703 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.3646, allocations: 1.312 kB / 0.5703 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.3646, allocations: 19.52 kB / 0.5703 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3647, allocations: 1.5 kB / 0.5703 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3647, allocations: 0 / 0.5703 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.3665, allocations: 0.4941 MB / 0.5708 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.3667, allocations: 200.2 kB / 0.571 GB, free: 30.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.875e-05/0.3668, allocations: 10.12 kB / 0.571 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004952/0.3673, allocations: 40.09 kB / 0.571 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.3673, allocations: 6.453 kB / 0.571 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.475e-05/0.3674, allocations: 61.27 kB / 0.5711 GB, free: 30.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003299/0.3678, allocations: 298.2 kB / 0.5714 GB, free: 30.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.81e-07/0.3678, allocations: 1.062 kB / 0.5714 GB, free: 30.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004907/0.3683, allocations: 69.77 kB / 0.5715 GB, free: 30.17 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.0001216/0.3684, allocations: 111.2 kB / 0.5716 GB, free: 30.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.3697, allocations: 455.4 kB / 0.572 GB, free: 29.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.3698, allocations: 0 / 0.572 GB, free: 29.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000794/0.3706, allocations: 135.5 kB / 0.5721 GB, free: 29.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.371, allocations: 27.39 kB / 0.5722 GB, free: 29.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.3725, allocations: 0.7222 MB / 0.5729 GB, free: 29.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.3727, allocations: 0.7707 MB / 0.5736 GB, free: 28.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.3728, allocations: 20.47 kB / 0.5736 GB, free: 28.68 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3728, allocations: 0 / 0.5736 GB, free: 28.68 MB / 446.1 MB Notification: Performance of Templates: time 0.007134/0.3799, allocations: 3.67 MB / 0.5772 GB, free: 28.19 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)