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.001428/0.001428, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001797/0.001797, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.41/1.41, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.916/2.916, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 61.17 kB / 0.8984 GB, free: 37.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3878, allocations: 157.4 MB / 1.052 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003052/0.3909, allocations: 1.576 MB / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.3923, allocations: 0.6007 MB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.586e-05/0.3924, allocations: 0 / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.3925, allocations: 3.938 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.3926, allocations: 31.84 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000803/0.3934, allocations: 286.5 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005742/0.394, allocations: 455.4 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.003e-05/0.3941, allocations: 4 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000625/0.3947, allocations: 307 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003587/0.3951, allocations: 163.2 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.3952, allocations: 16 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.3953, allocations: 12 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.3955, allocations: 115.7 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002647/0.3958, allocations: 182.8 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006066/0.3964, allocations: 414.9 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3964, allocations: 0 / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3964, allocations: 0 / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.797e-05/0.3964, allocations: 0 / 1.056 GB, free: 4.742 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.001922/0.3984, allocations: 0.8782 MB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3984, allocations: 8.031 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.3986, allocations: 52.47 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.399, allocations: 318.1 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.011e-05/0.3991, allocations: 16.36 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-05/0.3992, allocations: 28.36 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.4003, allocations: 213.9 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.4003, allocations: 192 / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.4003, allocations: 11.92 kB / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.4003, allocations: 4 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008077/0.4011, allocations: 95.92 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006624/0.4018, allocations: 381.3 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.4029, allocations: 182.4 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008084/0.4037, allocations: 108.8 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.4038, allocations: 4 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.4049, allocations: 233.9 kB / 1.059 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.4049, allocations: 0 / 1.059 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.00283/0.4078, allocations: 484.9 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.4078, allocations: 59.41 kB / 1.059 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004326/0.4083, allocations: 417.8 kB / 1.059 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.926e-05/0.4083, allocations: 37.7 kB / 1.059 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.668e-05/0.4085, allocations: 97.42 kB / 1.06 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.777e-05/0.4085, allocations: 39.55 kB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.4088, allocations: 129.3 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.4089, allocations: 322.8 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.4092, allocations: 119.9 kB / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.4095, allocations: 172 kB / 1.06 GB, free: 136 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004375/0.41, allocations: 283.4 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.41, allocations: 0 / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008605/0.4109, allocations: 498.4 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-05/0.411, allocations: 91.31 kB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.411, allocations: 4 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.411, allocations: 0 / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.4112, allocations: 27.92 kB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.4112, allocations: 8.188 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/0.4117, allocations: 55.78 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.38e-05/0.4118, allocations: 63.98 kB / 1.061 GB, free: 15.06 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.0002415/0.4121, allocations: 192 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.4121, allocations: 39.47 kB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.506e-05/0.4122, allocations: 47.73 kB / 1.062 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.4122, allocations: 4 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4122, allocations: 0 / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.4122, allocations: 0 / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.4146, allocations: 0.7502 MB / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4146, allocations: 0 / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.4146, allocations: 7.984 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.4146, allocations: 0 / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.738e-05/0.4147, allocations: 19.97 kB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4147, allocations: 0 / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4147, allocations: 3.938 kB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.4165, allocations: 474.8 kB / 1.063 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.4168, allocations: 204.5 kB / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-05/0.4169, allocations: 8 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005008/0.4174, allocations: 35.97 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.4174, allocations: 7.984 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.152e-05/0.4175, allocations: 55.97 kB / 1.063 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002914/0.4178, allocations: 299.1 kB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.4178, allocations: 0 / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003776/0.4182, allocations: 64 kB / 1.063 GB, free: 12.78 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.0001485/0.4184, allocations: 111.2 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.4197, allocations: 446.5 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4197, allocations: 0 / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008397/0.4206, allocations: 123.9 kB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.421, allocations: 33.48 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.4227, allocations: 0.6702 MB / 1.065 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.4231, allocations: 0.7749 MB / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.927e-05/0.4232, allocations: 25 kB / 1.066 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.4232, allocations: 15.42 kB / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.4232, allocations: 0 / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of Templates: time 0.009186/0.4324, allocations: 4.966 MB / 1.07 GB, free: 5.453 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