Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.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.00584/0.00584, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001641/0.001641, allocations: 191.6 kB / 16.67 MB, free: 5.973 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.053/3.053, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.89 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3508, allocations: 157.4 MB / 1.208 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002858/0.3537, allocations: 1.523 MB / 1.209 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.355, allocations: 0.5365 MB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.3551, allocations: 3.938 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.3552, allocations: 7.938 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.3553, allocations: 27.84 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009456/0.3563, allocations: 314.2 kB / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006183/0.3569, allocations: 0.5032 MB / 1.211 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.357, allocations: 12 kB / 1.211 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00043/0.3574, allocations: 267.6 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003286/0.3578, allocations: 151.5 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.663e-05/0.3579, allocations: 28 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.804e-05/0.3579, allocations: 24 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.3581, allocations: 111.7 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.3583, allocations: 195 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004153/0.3587, allocations: 418.7 kB / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3587, allocations: 0 / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3587, allocations: 0 / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.3587, allocations: 4 kB / 1.212 GB, free: 5.555 MB / 0.9669 GB 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.00137/0.3601, allocations: 0.8626 MB / 1.213 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3602, allocations: 8.625 kB / 1.213 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.3603, allocations: 48.47 kB / 1.213 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/0.3607, allocations: 314.2 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.757e-05/0.3608, allocations: 20.36 kB / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.731e-05/0.3609, allocations: 32.3 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008986/0.3618, allocations: 211.7 kB / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3618, allocations: 192 / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.3618, allocations: 7.938 kB / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3619, allocations: 0 / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006874/0.3625, allocations: 103.9 kB / 1.213 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.363, allocations: 385.2 kB / 1.214 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009766/0.364, allocations: 174.5 kB / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007069/0.3647, allocations: 116.7 kB / 1.214 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.3648, allocations: 4.312 kB / 1.214 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009412/0.3657, allocations: 227.1 kB / 1.214 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 2.204e-06/0.3657, allocations: 0 / 1.214 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.00245/0.3682, allocations: 483.2 kB / 1.215 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.3683, allocations: 67.38 kB / 1.215 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004521/0.3687, allocations: 409.9 kB / 1.215 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.065e-05/0.3688, allocations: 41.69 kB / 1.215 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.47e-05/0.3689, allocations: 101.3 kB / 1.215 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.369, allocations: 31.56 kB / 1.215 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.3692, allocations: 133.3 kB / 1.215 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3694, allocations: 318.8 kB / 1.216 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.3696, allocations: 119.9 kB / 1.216 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.3699, allocations: 171.2 kB / 1.216 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.3703, allocations: 277.2 kB / 1.216 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.3704, allocations: 3.938 kB / 1.216 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00091/0.3713, allocations: 494 kB / 1.217 GB, free: 160 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.3714, allocations: 92.41 kB / 1.217 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.3714, allocations: 4 kB / 1.217 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.3715, allocations: 0 / 1.217 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.3717, allocations: 27.92 kB / 1.217 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.3717, allocations: 4 kB / 1.217 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005545/0.3723, allocations: 59.92 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.765e-05/0.3724, allocations: 63.97 kB / 1.217 GB, free: 15.9 MB / 0.9825 GB 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.0002322/0.3726, allocations: 192 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.3727, allocations: 39.47 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.319e-05/0.3728, allocations: 43.73 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.3728, allocations: 8 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3728, allocations: 0 / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3728, allocations: 0 / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.3749, allocations: 0.7599 MB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3749, allocations: 0 / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.3749, allocations: 7.984 kB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.375, allocations: 0 / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.375, allocations: 19.98 kB / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.375, allocations: 0 / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.375, allocations: 0 / 1.218 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.3766, allocations: 485.8 kB / 1.218 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.3768, allocations: 196.5 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-05/0.3769, allocations: 15.98 kB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/0.3773, allocations: 31.97 kB / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.3774, allocations: 7.984 kB / 1.219 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.494e-05/0.3775, allocations: 55.97 kB / 1.219 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000291/0.3778, allocations: 299.1 kB / 1.219 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.392e-06/0.3778, allocations: 4 kB / 1.219 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003499/0.3781, allocations: 63.94 kB / 1.219 GB, free: 13.6 MB / 0.9825 GB 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.0001366/0.3783, allocations: 111.2 kB / 1.219 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001171/0.3795, allocations: 446.7 kB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3795, allocations: 4.125 kB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007002/0.3802, allocations: 119.9 kB / 1.22 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.3805, allocations: 25.48 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.3819, allocations: 0.5362 MB / 1.22 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.3823, allocations: 0.7785 MB / 1.221 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.838e-05/0.3824, allocations: 13.08 kB / 1.221 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.3824, allocations: 19.36 kB / 1.221 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3824, allocations: 0 / 1.221 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of Templates: time 0.008872/0.3913, allocations: 4.948 MB / 1.226 GB, free: 6.43 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches