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.001089/0.001089, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.01131/0.01131, allocations: 170.5 kB / 16.27 MB, free: 6.648 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.536/1.536, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.848/2.848, allocations: 462.7 MB / 0.7364 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003892, allocations: 14.17 kB / 0.9028 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3509, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002154/0.3531, allocations: 1.241 MB / 1.06 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.3546, allocations: 0.5891 MB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.3547, allocations: 0 / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.3549, allocations: 3.938 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.355, allocations: 23.91 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009235/0.356, allocations: 286.7 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006125/0.3566, allocations: 447.4 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.7e-05/0.3567, allocations: 4 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005934/0.3573, allocations: 306.9 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.3576, allocations: 167.2 kB / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.824e-05/0.3576, allocations: 16 kB / 1.062 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.114e-05/0.3577, allocations: 12 kB / 1.062 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.3579, allocations: 119.6 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.3581, allocations: 208.5 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004435/0.3585, allocations: 410.9 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3586, allocations: 0 / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3586, allocations: 0 / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3586, allocations: 0 / 1.062 GB, free: 1.652 MB / 0.8106 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.001101/0.3597, allocations: 0.7587 MB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3597, allocations: 8.031 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.3599, allocations: 60.41 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.3602, allocations: 310.2 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.401e-05/0.3603, allocations: 24.36 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.044e-05/0.3604, allocations: 20.38 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009993/0.3614, allocations: 226 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3614, allocations: 4.172 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.3614, allocations: 7.938 kB / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3614, allocations: 4 kB / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007894/0.3622, allocations: 115.8 kB / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.3627, allocations: 389.2 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.3638, allocations: 186.5 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007664/0.3646, allocations: 120.8 kB / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.3646, allocations: 0 / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009847/0.3656, allocations: 243.1 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/0.3656, allocations: 0 / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002714/0.3683, allocations: 0.514 MB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.3684, allocations: 59.39 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004861/0.3689, allocations: 413.8 kB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 8.423e-05/0.369, allocations: 41.69 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.3691, allocations: 93.44 kB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/0.3692, allocations: 39.55 kB / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.892e-05/0.3693, allocations: 33.7 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3694, allocations: 322.8 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.3697, allocations: 119.9 kB / 1.066 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.37, allocations: 172 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.3704, allocations: 278.5 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3705, allocations: 0 / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008735/0.3713, allocations: 498.3 kB / 1.067 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.897e-05/0.3714, allocations: 91.25 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3715, allocations: 8.188 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3715, allocations: 3.938 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.3717, allocations: 27.97 kB / 1.067 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.3717, allocations: 11.88 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005003/0.3722, allocations: 67.73 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.659e-05/0.3723, allocations: 67.95 kB / 1.067 GB, free: 12.07 MB / 0.8262 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.000341/0.3726, allocations: 192 kB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/0.3727, allocations: 39.47 kB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.722e-05/0.3728, allocations: 35.75 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.3728, allocations: 4 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3728, allocations: 0 / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.3728, allocations: 3.984 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.375, allocations: 0.7664 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3751, allocations: 0 / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.615e-05/0.3751, allocations: 4 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.3751, allocations: 7.984 kB / 1.069 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.3752, allocations: 23.91 kB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3752, allocations: 4 kB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3752, allocations: 0 / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.3769, allocations: 498.7 kB / 1.069 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.3772, allocations: 196.5 kB / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.3772, allocations: 15.98 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004789/0.3777, allocations: 35.97 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.3778, allocations: 15.92 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.438e-05/0.3778, allocations: 59.98 kB / 1.069 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003423/0.3782, allocations: 295.1 kB / 1.07 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3782, allocations: 0 / 1.07 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004973/0.3787, allocations: 63.98 kB / 1.07 GB, free: 9.738 MB / 0.8262 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.0002401/0.379, allocations: 123.1 kB / 1.07 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.3805, allocations: 448.9 kB / 1.07 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3805, allocations: 0 / 1.07 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008166/0.3813, allocations: 140.2 kB / 1.07 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.3818, allocations: 27.98 kB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.3836, allocations: 0.6833 MB / 1.071 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.384, allocations: 0.7749 MB / 1.072 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.116e-05/0.3841, allocations: 13.08 kB / 1.072 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.3841, allocations: 15.44 kB / 1.072 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of SimCode: time 6.61e-07/0.3841, allocations: 0 / 1.072 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of Templates: time 0.009518/0.3936, allocations: 4.933 MB / 1.077 GB, free: 2.418 MB / 0.8262 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