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.0008238/0.0008239, allocations: 91.77 kB / 16.02 MB, free: 80 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.001274/0.001274, allocations: 177.7 kB / 16.92 MB, free: 6.652 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.491/1.491, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.861/2.861, allocations: 462.7 MB / 0.7371 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003763, allocations: 13.06 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3102, allocations: 159.6 MB / 1.059 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001634/0.3119, allocations: 1.234 MB / 1.061 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.3132, allocations: 0.5775 MB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.3132, allocations: 0 / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.062e-05/0.3133, allocations: 7.922 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.3135, allocations: 27.86 kB / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007356/0.3142, allocations: 290.5 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004652/0.3147, allocations: 447.4 kB / 1.062 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.3147, allocations: 8 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004795/0.3152, allocations: 307 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003236/0.3156, allocations: 163.2 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.985e-05/0.3157, allocations: 16 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.379e-05/0.3157, allocations: 12 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.3159, allocations: 123.6 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.3161, allocations: 208.5 kB / 1.063 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.3164, allocations: 303.6 kB / 1.063 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3164, allocations: 0 / 1.063 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3164, allocations: 0 / 1.063 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.3164, allocations: 3.938 kB / 1.063 GB, free: 1.352 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.001022/0.3174, allocations: 0.7576 MB / 1.064 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3175, allocations: 15.97 kB / 1.064 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.3176, allocations: 48.47 kB / 1.064 GB, free: 452 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.318, allocations: 318.1 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.83e-05/0.318, allocations: 16.36 kB / 1.064 GB, free: 76 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.169e-05/0.3181, allocations: 32.36 kB / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.3192, allocations: 222 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3192, allocations: 4.188 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.3192, allocations: 3.938 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3192, allocations: 0 / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000819/0.32, allocations: 115.9 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.3205, allocations: 381.3 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.3216, allocations: 194.4 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007867/0.3224, allocations: 123.5 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.3224, allocations: 7.984 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009753/0.3234, allocations: 234.1 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.624e-06/0.3234, allocations: 0 / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002597/0.326, allocations: 0.5086 MB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.3261, allocations: 63.33 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.3265, allocations: 413.8 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.831e-05/0.3266, allocations: 41.69 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.3266, allocations: 93.44 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.3267, allocations: 39.48 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.561e-05/0.3268, allocations: 41.7 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3269, allocations: 326.8 kB / 1.067 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.3272, allocations: 119.9 kB / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.3275, allocations: 165.9 kB / 1.067 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.3279, allocations: 278.3 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.3279, allocations: 4 kB / 1.067 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008246/0.3287, allocations: 494 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.077e-05/0.3288, allocations: 95.31 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3288, allocations: 7.969 kB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3288, allocations: 4 kB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.329, allocations: 19.92 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.329, allocations: 4 kB / 1.068 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/0.3295, allocations: 71.89 kB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.218e-05/0.3296, allocations: 63.97 kB / 1.068 GB, free: 11.77 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.0002193/0.3299, allocations: 192 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.3299, allocations: 39.47 kB / 1.068 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.826e-05/0.33, allocations: 47.69 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.33, allocations: 7.922 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.33, allocations: 4 kB / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.33, allocations: 0 / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.3322, allocations: 0.7641 MB / 1.069 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3323, allocations: 0 / 1.069 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/0.3323, allocations: 4 kB / 1.069 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.3323, allocations: 3.984 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.3324, allocations: 15.98 kB / 1.069 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3324, allocations: 4 kB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3324, allocations: 0 / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.3342, allocations: 0.4939 MB / 1.07 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.3344, allocations: 200.5 kB / 1.07 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.964e-05/0.3345, allocations: 11.98 kB / 1.07 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004959/0.335, allocations: 39.97 kB / 1.07 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.335, allocations: 7.984 kB / 1.07 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.353e-05/0.3351, allocations: 55.98 kB / 1.07 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002962/0.3354, allocations: 295.1 kB / 1.07 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3354, allocations: 0 / 1.07 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003477/0.3358, allocations: 71.98 kB / 1.07 GB, free: 9.438 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.0001388/0.3359, allocations: 116.1 kB / 1.07 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001307/0.3372, allocations: 446.8 kB / 1.071 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.3372, allocations: 8.062 kB / 1.071 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008208/0.3381, allocations: 131.8 kB / 1.071 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.3384, allocations: 30.58 kB / 1.071 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.3401, allocations: 0.724 MB / 1.072 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.3405, allocations: 0.7749 MB / 1.072 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.764e-05/0.3405, allocations: 23.42 kB / 1.072 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of SimCode: time 6.41e-07/0.3405, allocations: 0 / 1.072 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of Templates: time 0.006283/0.3468, allocations: 3.663 MB / 1.076 GB, free: 3.391 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