Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 112.6 kB / 16.37 MB, free: 6 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.002048/0.002047, allocations: 196 kB / 17.31 MB, free: 5.613 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.511/2.511, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 60.41 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3495, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002884/0.3524, allocations: 1.525 MB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.3536, allocations: 0.5461 MB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.3537, allocations: 0 / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.3539, allocations: 15.97 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.354, allocations: 27.84 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007709/0.3548, allocations: 308.5 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005423/0.3553, allocations: 0.4993 MB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.3554, allocations: 7.984 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003443/0.3557, allocations: 271.6 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.356, allocations: 151.6 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.243e-05/0.3561, allocations: 28 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.639e-05/0.3562, allocations: 24 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.3563, allocations: 119.6 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.3565, allocations: 179.1 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.3569, allocations: 422.7 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3569, allocations: 4 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3569, allocations: 0 / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.3569, allocations: 0 / 1.031 GB, free: 13.98 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.00126/0.3582, allocations: 0.8703 MB / 1.032 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3582, allocations: 8.031 kB / 1.032 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.3584, allocations: 48.56 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.3588, allocations: 318.1 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.3589, allocations: 16.38 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.567e-05/0.359, allocations: 24.36 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009327/0.3599, allocations: 217 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3599, allocations: 4.188 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.3599, allocations: 7.938 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.36, allocations: 0 / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007086/0.3607, allocations: 95.92 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.3611, allocations: 385.3 kB / 1.033 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009325/0.3621, allocations: 178.4 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006733/0.3627, allocations: 112.8 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.3628, allocations: 15.92 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008884/0.3637, allocations: 229.7 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/0.3637, allocations: 0 / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002442/0.3661, allocations: 484.8 kB / 1.034 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.3662, allocations: 59.39 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004554/0.3667, allocations: 413.9 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.184e-05/0.3667, allocations: 41.69 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.589e-05/0.3668, allocations: 93.45 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.494e-05/0.3669, allocations: 35.55 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002443/0.3672, allocations: 125.3 kB / 1.034 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3673, allocations: 326.8 kB / 1.035 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.3677, allocations: 119.9 kB / 1.035 GB, free: 9.566 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.368, allocations: 178.8 kB / 1.035 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.3685, allocations: 275 kB / 1.035 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3685, allocations: 0 / 1.035 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009519/0.3695, allocations: 490.3 kB / 1.036 GB, free: 8.574 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.3696, allocations: 95.31 kB / 1.036 GB, free: 8.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.3697, allocations: 3.984 kB / 1.036 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.269e-05/0.3697, allocations: 4 kB / 1.036 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.3699, allocations: 19.92 kB / 1.036 GB, free: 8.441 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.3699, allocations: 4.188 kB / 1.036 GB, free: 8.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/0.3705, allocations: 59.8 kB / 1.036 GB, free: 8.379 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.3706, allocations: 63.98 kB / 1.036 GB, free: 8.316 MB / 0.8106 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.0004166/0.371, allocations: 195.9 kB / 1.036 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.365e-05/0.3711, allocations: 39.47 kB / 1.036 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.3713, allocations: 47.75 kB / 1.036 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3713, allocations: 0 / 1.036 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.3713, allocations: 0 / 1.036 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3713, allocations: 3.984 kB / 1.036 GB, free: 8.027 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/0.3737, allocations: 0.7443 MB / 1.037 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3737, allocations: 0 / 1.037 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.3737, allocations: 4 kB / 1.037 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3737, allocations: 3.938 kB / 1.037 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.3738, allocations: 23.97 kB / 1.037 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3738, allocations: 0 / 1.037 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3738, allocations: 0 / 1.037 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.3754, allocations: 486.6 kB / 1.037 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/0.3757, allocations: 200.5 kB / 1.038 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.386e-05/0.3758, allocations: 8 kB / 1.038 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.3762, allocations: 31.95 kB / 1.038 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.3763, allocations: 15.98 kB / 1.038 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.46e-05/0.3764, allocations: 51.98 kB / 1.038 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003166/0.3767, allocations: 299 kB / 1.038 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3767, allocations: 0 / 1.038 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004353/0.3771, allocations: 67.98 kB / 1.038 GB, free: 6.023 MB / 0.8106 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.0001717/0.3773, allocations: 120.9 kB / 1.038 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.3785, allocations: 438.5 kB / 1.039 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3786, allocations: 0 / 1.039 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006776/0.3792, allocations: 119.8 kB / 1.039 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.3796, allocations: 33.86 kB / 1.039 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.3812, allocations: 0.5401 MB / 1.039 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.3817, allocations: 0.7707 MB / 1.04 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.689e-05/0.3818, allocations: 17.08 kB / 1.04 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/0.3818, allocations: 19.44 kB / 1.04 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of SimCode: time 6.41e-07/0.3818, allocations: 0 / 1.04 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of Templates: time 0.009265/0.3911, allocations: 4.92 MB / 1.045 GB, free: 14.88 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches