Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,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.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 197.8 kB / 16.79 MB, free: 6.809 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.363/1.363, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.739/2.739, allocations: 461.8 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001383, allocations: 66.8 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2887, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002734/0.2914, allocations: 1.572 MB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2927, allocations: 0.5892 MB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.2928, allocations: 7.938 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.935e-05/0.2929, allocations: 0 / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.293, allocations: 27.84 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000696/0.2937, allocations: 282 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004095/0.2941, allocations: 451.4 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.654e-05/0.2942, allocations: 7.984 kB / 1.056 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004223/0.2946, allocations: 315 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.2949, allocations: 159.2 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.915e-05/0.295, allocations: 16 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.032e-05/0.2951, allocations: 12 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.2952, allocations: 115.6 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.2954, allocations: 178.8 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.2957, allocations: 315.7 kB / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2957, allocations: 4 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.62e-07/0.2957, allocations: 0 / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.2958, allocations: 0 / 1.057 GB, free: 4.223 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.001225/0.297, allocations: 0.868 MB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.297, allocations: 11.97 kB / 1.058 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.2972, allocations: 56.47 kB / 1.058 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.2975, allocations: 326 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/0.2976, allocations: 16.36 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/0.2977, allocations: 24.38 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.2987, allocations: 214 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2987, allocations: 192 / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.2988, allocations: 7.938 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2988, allocations: 0 / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008032/0.2996, allocations: 95.92 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.3, allocations: 393.3 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.3011, allocations: 174.4 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007948/0.3019, allocations: 108.8 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.3019, allocations: 4 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.3029, allocations: 229.2 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.873e-06/0.303, allocations: 0 / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002648/0.3056, allocations: 480.9 kB / 1.06 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.3057, allocations: 67.39 kB / 1.06 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.3061, allocations: 417.8 kB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.733e-05/0.3061, allocations: 41.69 kB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.3062, allocations: 93.44 kB / 1.06 GB, free: 420 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.3063, allocations: 47.47 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.3065, allocations: 121.3 kB / 1.06 GB, free: 244 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3066, allocations: 326.8 kB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.3069, allocations: 119.9 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/0.3072, allocations: 173.9 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.3075, allocations: 274.3 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3075, allocations: 0 / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008201/0.3084, allocations: 498.4 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-05/0.3085, allocations: 91.31 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3085, allocations: 0 / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3085, allocations: 4 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.3087, allocations: 32.09 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3087, allocations: 0 / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005149/0.3092, allocations: 63.73 kB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.234e-05/0.3093, allocations: 63.97 kB / 1.062 GB, free: 14.54 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.0002152/0.3095, allocations: 196 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.3096, allocations: 43.47 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.882e-05/0.3097, allocations: 39.75 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3097, allocations: 7.938 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3097, allocations: 0 / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3097, allocations: 3.984 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/0.3119, allocations: 0.7471 MB / 1.063 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.312, allocations: 4 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.312, allocations: 0 / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.312, allocations: 4 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-05/0.3121, allocations: 19.97 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3121, allocations: 4 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3121, allocations: 0 / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.3139, allocations: 478.8 kB / 1.063 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.3141, allocations: 196.5 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.77e-05/0.3142, allocations: 12 kB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/0.3147, allocations: 39.95 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.3147, allocations: 4 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.02e-05/0.3148, allocations: 55.97 kB / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002709/0.3151, allocations: 295.1 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3151, allocations: 0 / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000361/0.3155, allocations: 67.98 kB / 1.064 GB, free: 12.25 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.0001467/0.3156, allocations: 123.1 kB / 1.064 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.3169, allocations: 438.5 kB / 1.065 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.317, allocations: 0 / 1.065 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007871/0.3177, allocations: 124.2 kB / 1.065 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.3181, allocations: 33.19 kB / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.3197, allocations: 0.7109 MB / 1.065 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3201, allocations: 0.771 MB / 1.066 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.3201, allocations: 19.42 kB / 1.066 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.3201, allocations: 0 / 1.066 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of Templates: time 0.005585/0.3257, allocations: 3.671 MB / 1.07 GB, free: 6.238 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches