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.001782/0.001782, allocations: 105.6 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.001996/0.001996, allocations: 190 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.523/2.523, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 58.98 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3002, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002645/0.3029, allocations: 1.536 MB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.3041, allocations: 0.5434 MB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.3042, allocations: 0 / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.061e-05/0.3043, allocations: 3.938 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.3044, allocations: 31.78 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007255/0.3052, allocations: 314.2 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004748/0.3056, allocations: 0.4995 MB / 1.03 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.3057, allocations: 8 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.306, allocations: 275.6 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.3063, allocations: 147.5 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.853e-05/0.3063, allocations: 28 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.252e-05/0.3064, allocations: 28 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.3065, allocations: 115.7 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.3067, allocations: 187 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003577/0.3071, allocations: 422.7 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3071, allocations: 0 / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3071, allocations: 4 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3071, 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.001122/0.3082, allocations: 0.8625 MB / 1.032 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.3083, allocations: 8.031 kB / 1.032 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.3084, allocations: 48.56 kB / 1.032 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.3088, allocations: 314.1 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.3088, allocations: 16.36 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.766e-05/0.3089, allocations: 32.36 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008935/0.3098, allocations: 210 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3099, allocations: 4.125 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.3099, allocations: 3.938 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3099, allocations: 0 / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006898/0.3106, allocations: 107.9 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.311, allocations: 389.2 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009126/0.3119, allocations: 178.4 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006654/0.3126, allocations: 108.8 kB / 1.033 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.3126, allocations: 4 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008333/0.3134, allocations: 227 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.104e-06/0.3135, allocations: 0 / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.00226/0.3157, allocations: 492.8 kB / 1.034 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.3158, allocations: 59.41 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.3162, allocations: 405.9 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.3162, allocations: 41.69 kB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.3163, allocations: 97.44 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.29e-05/0.3164, allocations: 39.53 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.3165, allocations: 125.3 kB / 1.034 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3167, allocations: 322.8 kB / 1.035 GB, free: 9.688 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.3169, allocations: 123.9 kB / 1.035 GB, free: 9.566 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.3172, allocations: 166.9 kB / 1.035 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.3175, allocations: 279 kB / 1.035 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3175, allocations: 0 / 1.035 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007287/0.3183, allocations: 492.6 kB / 1.036 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.45e-05/0.3184, allocations: 87.31 kB / 1.036 GB, free: 8.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.3184, allocations: 4.188 kB / 1.036 GB, free: 8.477 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3184, allocations: 4 kB / 1.036 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.3186, allocations: 27.91 kB / 1.036 GB, free: 8.445 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.3186, allocations: 11.92 kB / 1.036 GB, free: 8.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/0.319, allocations: 59.8 kB / 1.036 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-05/0.3191, allocations: 55.98 kB / 1.036 GB, free: 8.32 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.0001968/0.3193, allocations: 196 kB / 1.036 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.3194, allocations: 47.47 kB / 1.036 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.216e-05/0.3194, allocations: 39.73 kB / 1.036 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3195, allocations: 0 / 1.036 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3195, allocations: 0 / 1.036 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3195, allocations: 0 / 1.036 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.3215, allocations: 0.7511 MB / 1.037 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.3215, allocations: 3.984 kB / 1.037 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.3216, allocations: 4 kB / 1.037 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.3216, allocations: 0 / 1.037 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/0.3216, allocations: 23.97 kB / 1.037 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3216, allocations: 0 / 1.037 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3217, allocations: 7.938 kB / 1.037 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.3232, allocations: 475.1 kB / 1.037 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.3235, allocations: 200.5 kB / 1.038 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.958e-05/0.3236, allocations: 16 kB / 1.038 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004666/0.3241, allocations: 27.97 kB / 1.038 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.3241, allocations: 11.92 kB / 1.038 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.775e-05/0.3242, allocations: 63.97 kB / 1.038 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002665/0.3245, allocations: 291.1 kB / 1.038 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3245, allocations: 0 / 1.038 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003558/0.3248, 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.0001462/0.325, allocations: 117.2 kB / 1.038 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00121/0.3262, allocations: 442.4 kB / 1.039 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3262, allocations: 0 / 1.039 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000733/0.327, allocations: 127.3 kB / 1.039 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.3274, allocations: 27.55 kB / 1.039 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.3287, allocations: 0.5362 MB / 1.039 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.3291, allocations: 0.7746 MB / 1.04 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.598e-05/0.3291, allocations: 13.09 kB / 1.04 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.3292, allocations: 19.42 kB / 1.04 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of SimCode: time 4.41e-07/0.3292, allocations: 0 / 1.04 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of Templates: time 0.008225/0.3374, allocations: 4.928 MB / 1.045 GB, free: 14.88 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 -s gbode -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) Reference file matches