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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001421/0.001421, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.00164/0.00164, allocations: 190.7 kB / 16.25 MB, free: 6.586 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.488/1.488, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.79/2.79, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 66.23 kB / 0.8986 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3117, allocations: 157.4 MB / 1.052 GB, free: 8.793 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00272/0.3145, allocations: 1.573 MB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.3157, allocations: 0.549 MB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.906e-05/0.3158, allocations: 4 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.316, allocations: 3.938 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.3161, allocations: 23.91 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008349/0.3169, allocations: 286.7 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005663/0.3175, allocations: 0.5072 MB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.3176, allocations: 7.938 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004791/0.3181, allocations: 335 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.3184, allocations: 171.2 kB / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.848e-05/0.3185, allocations: 24 kB / 1.056 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.504e-05/0.3185, allocations: 28 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.3187, allocations: 115.6 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.3189, allocations: 202.8 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004097/0.3193, allocations: 434.8 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3193, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3193, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.3194, allocations: 0 / 1.056 GB, free: 4.551 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.001237/0.3206, allocations: 0.8782 MB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3207, allocations: 8.625 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.3208, allocations: 52.47 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.3211, allocations: 310.2 kB / 1.058 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/0.3212, allocations: 20.36 kB / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.483e-05/0.3213, allocations: 20.38 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.3224, allocations: 222 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3224, allocations: 4.125 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.3224, allocations: 3.938 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3224, allocations: 0 / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008276/0.3233, allocations: 99.91 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.3237, allocations: 389.2 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.3248, allocations: 174.5 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008049/0.3256, allocations: 108.8 kB / 1.059 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.3257, allocations: 4 kB / 1.059 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.3267, allocations: 235 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.3267, allocations: 0 / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002653/0.3294, allocations: 483 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.3294, allocations: 67.39 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.3298, allocations: 409.8 kB / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.421e-05/0.3299, allocations: 41.69 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.33, allocations: 97.44 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.3301, allocations: 39.55 kB / 1.06 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.3303, allocations: 125.3 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.3304, allocations: 322.8 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.3306, allocations: 115.9 kB / 1.06 GB, free: 144 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.3309, allocations: 174.4 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/0.3313, allocations: 274.7 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.3313, allocations: 0 / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008268/0.3322, allocations: 0.4888 MB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.611e-05/0.3322, allocations: 91.31 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3323, allocations: 4 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3323, allocations: 4 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.3325, allocations: 40.03 kB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3325, allocations: 0 / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000533/0.333, allocations: 63.73 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.432e-05/0.3331, allocations: 55.98 kB / 1.062 GB, free: 14.88 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.0002127/0.3333, allocations: 203.9 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.3334, allocations: 43.47 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.629e-05/0.3335, allocations: 39.75 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3335, allocations: 0 / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3335, allocations: 4 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3335, allocations: 3.984 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.3357, allocations: 0.7402 MB / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3357, allocations: 0 / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.3357, allocations: 7.938 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3358, allocations: 4 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/0.3358, allocations: 15.97 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3358, allocations: 4 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3358, allocations: 0 / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.3376, allocations: 473.3 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.3379, allocations: 200.5 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.867e-05/0.3379, allocations: 8 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004863/0.3384, allocations: 43.89 kB / 1.063 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.3385, allocations: 7.984 kB / 1.063 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-05/0.3386, allocations: 55.98 kB / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000279/0.3388, allocations: 299.1 kB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3388, allocations: 0 / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003875/0.3392, allocations: 63.98 kB / 1.064 GB, free: 12.59 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.0001576/0.3394, allocations: 123.1 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001339/0.3408, allocations: 450.8 kB / 1.064 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3408, allocations: 0 / 1.064 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008168/0.3416, allocations: 124.2 kB / 1.064 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.342, allocations: 31.38 kB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.3436, allocations: 0.6628 MB / 1.065 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.3439, allocations: 0.7707 MB / 1.066 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.066e-05/0.3439, allocations: 17.08 kB / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.344, allocations: 15.44 kB / 1.066 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.344, allocations: 0 / 1.066 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of Templates: time 0.009243/0.3532, allocations: 5.122 MB / 1.071 GB, free: 5.109 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches