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.001055/0.001056, allocations: 102.1 kB / 16.35 MB, free: 5.824 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.001037/0.001038, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.54/2.54, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 60.22 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3033, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.0028/0.3062, allocations: 1.528 MB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.3075, allocations: 0.5434 MB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.3076, allocations: 0 / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.3077, allocations: 11.97 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.3078, allocations: 39.61 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007153/0.3085, allocations: 300.5 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005893/0.3091, allocations: 0.4994 MB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.3092, allocations: 15.98 kB / 1.03 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003216/0.3095, allocations: 271.6 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.3097, allocations: 147.5 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.124e-05/0.3098, allocations: 28 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.297e-05/0.3099, allocations: 24 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.31, allocations: 111.7 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.3102, allocations: 187 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004097/0.3106, allocations: 434.6 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3106, allocations: 4 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3106, allocations: 0 / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.3107, allocations: 0 / 1.031 GB, free: 13.96 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.001356/0.312, allocations: 0.8587 MB / 1.032 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3121, allocations: 8.031 kB / 1.032 GB, free: 13 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.3123, allocations: 52.55 kB / 1.032 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005793/0.3129, allocations: 306.2 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.051e-05/0.3129, allocations: 16.38 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.333e-05/0.313, allocations: 36.34 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009267/0.314, allocations: 216.1 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.314, allocations: 4.172 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.314, allocations: 3.938 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.314, allocations: 0 / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006863/0.3147, allocations: 103.9 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.3152, allocations: 389.2 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009791/0.3161, allocations: 174.5 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007013/0.3169, allocations: 112.8 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.3169, allocations: 4 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009033/0.3178, allocations: 231 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.635e-06/0.3178, allocations: 0 / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002393/0.3202, allocations: 480.9 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.3203, allocations: 59.41 kB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004427/0.3208, allocations: 409.9 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.429e-05/0.3208, allocations: 37.7 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.57e-05/0.3209, allocations: 97.44 kB / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.321, allocations: 43.53 kB / 1.034 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.3212, allocations: 125.3 kB / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3213, allocations: 330.8 kB / 1.035 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.3216, allocations: 119.9 kB / 1.035 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.3218, allocations: 166.9 kB / 1.035 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.3222, allocations: 275 kB / 1.035 GB, free: 9.066 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3222, allocations: 0 / 1.035 GB, free: 9.066 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007378/0.3229, allocations: 492.5 kB / 1.036 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.111e-05/0.323, allocations: 95.5 kB / 1.036 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.323, allocations: 4 kB / 1.036 GB, free: 8.457 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.3231, allocations: 7.938 kB / 1.036 GB, free: 8.449 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.3232, allocations: 27.91 kB / 1.036 GB, free: 8.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.3233, allocations: 4 kB / 1.036 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/0.3237, allocations: 55.8 kB / 1.036 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.53e-05/0.3238, allocations: 59.98 kB / 1.036 GB, free: 8.305 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.000215/0.324, allocations: 196 kB / 1.036 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.3241, allocations: 39.47 kB / 1.036 GB, free: 8.066 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.344e-05/0.3242, allocations: 43.75 kB / 1.036 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3242, allocations: 0 / 1.036 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.3242, allocations: 0 / 1.036 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3242, allocations: 3.984 kB / 1.036 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.3262, allocations: 0.7546 MB / 1.037 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3263, allocations: 0 / 1.037 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.404e-05/0.3263, allocations: 8 kB / 1.037 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3263, allocations: 0 / 1.037 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.3264, allocations: 19.97 kB / 1.037 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3264, allocations: 0 / 1.037 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3264, allocations: 4 kB / 1.037 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.3279, allocations: 475.2 kB / 1.037 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.3282, allocations: 200.5 kB / 1.038 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.479e-05/0.3282, allocations: 15.94 kB / 1.038 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/0.3287, allocations: 35.95 kB / 1.038 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.3287, allocations: 7.938 kB / 1.038 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.435e-05/0.3288, allocations: 55.97 kB / 1.038 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002793/0.3291, allocations: 299.1 kB / 1.038 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3291, allocations: 0 / 1.038 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000342/0.3294, allocations: 67.98 kB / 1.038 GB, free: 6.008 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.0001362/0.3296, allocations: 117.2 kB / 1.038 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.3307, allocations: 441.5 kB / 1.039 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3307, allocations: 0 / 1.039 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006838/0.3314, allocations: 120.3 kB / 1.039 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.3318, allocations: 31.36 kB / 1.039 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.3331, allocations: 0.5401 MB / 1.039 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.3335, allocations: 0.7746 MB / 1.04 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.566e-05/0.3335, allocations: 21.02 kB / 1.04 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.3336, allocations: 15.44 kB / 1.04 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3336, allocations: 0 / 1.04 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of Templates: time 0.008125/0.3417, allocations: 4.926 MB / 1.045 GB, free: 14.86 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 gbode -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