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.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.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.0008788/0.0008788, allocations: 97.78 kB / 16.02 MB, free: 76 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.001379/0.001379, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.439/1.439, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.786/2.786, allocations: 462.6 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003289, allocations: 7.75 kB / 0.9034 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2799, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001709/0.2817, allocations: 1.241 MB / 1.061 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.2832, allocations: 0.5736 MB / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.2833, allocations: 11.94 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.78e-05/0.2834, allocations: 0 / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.2835, allocations: 27.84 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007503/0.2842, allocations: 278.2 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.2847, allocations: 459.4 kB / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.59e-05/0.2848, allocations: 4 kB / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004827/0.2853, allocations: 311 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.2856, allocations: 163.2 kB / 1.062 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.099e-05/0.2857, allocations: 12 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.419e-05/0.2858, allocations: 16 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.2859, allocations: 111.6 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.2861, allocations: 208.5 kB / 1.063 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.2864, allocations: 311.6 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2865, allocations: 0 / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2865, allocations: 0 / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.2865, allocations: 0 / 1.063 GB, free: 1.281 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.001093/0.2876, allocations: 0.7498 MB / 1.064 GB, free: 452 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2876, allocations: 15.95 kB / 1.064 GB, free: 436 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.2878, allocations: 52.47 kB / 1.064 GB, free: 384 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.2881, allocations: 318.1 kB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.155e-05/0.2882, allocations: 20.38 kB / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.803e-05/0.2883, allocations: 24.41 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.2893, allocations: 229.9 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.2893, allocations: 192 / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.2894, allocations: 3.938 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2894, allocations: 4 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008019/0.2902, allocations: 107.9 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.2906, allocations: 389.2 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.2918, allocations: 198.4 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008036/0.2926, allocations: 120.8 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.2926, allocations: 0 / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009741/0.2936, allocations: 239.1 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.2936, allocations: 3.938 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002694/0.2963, allocations: 0.5047 MB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.2964, allocations: 67.39 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/0.2968, allocations: 409.8 kB / 1.066 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.424e-05/0.2969, allocations: 41.69 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.297, allocations: 93.45 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.297, allocations: 47.47 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/0.2971, allocations: 37.69 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2972, allocations: 322.8 kB / 1.067 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.2975, allocations: 119.9 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.2978, allocations: 173.9 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.2982, allocations: 274.6 kB / 1.067 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2982, allocations: 0 / 1.067 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008323/0.2991, allocations: 0.49 MB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.664e-05/0.2991, allocations: 91.31 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2992, allocations: 0 / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2992, allocations: 4 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.2994, allocations: 27.91 kB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.2994, allocations: 0 / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005172/0.2999, allocations: 71.98 kB / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.009e-05/0.3, allocations: 59.98 kB / 1.068 GB, free: 11.7 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.0002384/0.3002, allocations: 196 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.3003, allocations: 39.47 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.886e-05/0.3004, allocations: 43.75 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3004, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3004, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3004, allocations: 7.938 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.3026, allocations: 0.7627 MB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3026, allocations: 0 / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.508e-05/0.3027, allocations: 4 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.3027, allocations: 4 kB / 1.069 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/0.3027, allocations: 23.97 kB / 1.069 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3027, allocations: 4 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3027, allocations: 0 / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.3046, allocations: 498.7 kB / 1.07 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.3048, allocations: 200.5 kB / 1.07 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.904e-05/0.3049, allocations: 12 kB / 1.07 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005037/0.3054, allocations: 35.95 kB / 1.07 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.3054, allocations: 8 kB / 1.07 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.339e-05/0.3055, allocations: 63.97 kB / 1.07 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002762/0.3058, allocations: 291.1 kB / 1.07 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3058, allocations: 7.938 kB / 1.07 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003445/0.3061, allocations: 67.98 kB / 1.07 GB, free: 9.367 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.0001608/0.3063, allocations: 128.4 kB / 1.07 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.3076, allocations: 449.4 kB / 1.071 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3077, allocations: 0 / 1.071 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008251/0.3085, allocations: 128.2 kB / 1.071 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.3089, allocations: 37.47 kB / 1.071 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.3104, allocations: 0.7162 MB / 1.072 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.3108, allocations: 0.7788 MB / 1.072 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.3108, allocations: 15.44 kB / 1.072 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3108, allocations: 0 / 1.072 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of Templates: time 0.00609/0.3169, allocations: 3.664 MB / 1.076 GB, free: 3.324 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time