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.0008219/0.0008219, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.005429/0.005429, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.431/1.431, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.809/2.809, allocations: 462.6 MB / 0.7363 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003803, allocations: 7.406 kB / 0.9027 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3524, allocations: 159.6 MB / 1.059 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001761/0.3542, allocations: 1.234 MB / 1.06 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.3556, allocations: 0.5931 MB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/0.3556, allocations: 0 / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.629e-05/0.3557, allocations: 3.938 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.3558, allocations: 27.84 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006897/0.3565, allocations: 290.6 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.357, allocations: 447.4 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.238e-05/0.3571, allocations: 8 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004377/0.3575, allocations: 299 kB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.3578, allocations: 167.2 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.3579, allocations: 12 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.228e-05/0.358, allocations: 16 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.3582, allocations: 115.6 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.3584, allocations: 208.5 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004067/0.3588, allocations: 418.9 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3588, allocations: 0 / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3588, allocations: 3.938 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3588, allocations: 0 / 1.062 GB, free: 1.25 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.001118/0.36, allocations: 0.7459 MB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.36, allocations: 19.89 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.3601, allocations: 48.47 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.3605, allocations: 318.2 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.983e-05/0.3606, allocations: 20.31 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.478e-05/0.3607, allocations: 24.36 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.3617, allocations: 222 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.3617, allocations: 192 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.3617, allocations: 11.94 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3617, allocations: 4 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000813/0.3626, allocations: 103.9 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.363, allocations: 389.3 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.3641, allocations: 206.3 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008022/0.365, allocations: 116.8 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.365, allocations: 4 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009947/0.366, allocations: 239.1 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.964e-06/0.366, allocations: 4 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002727/0.3687, allocations: 0.5008 MB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.3688, allocations: 75.31 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/0.3693, allocations: 409.8 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.561e-05/0.3694, allocations: 41.69 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.3695, allocations: 89.45 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.3695, allocations: 39.55 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-05/0.3696, allocations: 37.69 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3697, allocations: 322.8 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.37, allocations: 119.9 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.3703, allocations: 173.9 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.3707, allocations: 278.5 kB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3708, allocations: 0 / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008499/0.3716, allocations: 497.9 kB / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.09e-05/0.3717, allocations: 91.31 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.3717, allocations: 0 / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3717, allocations: 4 kB / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.3719, allocations: 32.09 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.3719, allocations: 0 / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/0.3725, allocations: 71.73 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.249e-05/0.3726, allocations: 59.97 kB / 1.067 GB, free: 11.67 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.0002324/0.3728, allocations: 204 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/0.3729, allocations: 43.45 kB / 1.068 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.154e-05/0.3729, allocations: 39.69 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.373, allocations: 4 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.373, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.373, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.3753, allocations: 0.7699 MB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3753, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.3754, allocations: 4 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3754, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.3754, allocations: 23.97 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3754, allocations: 4 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3754, allocations: 0 / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.3773, allocations: 0.4909 MB / 1.069 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.3776, allocations: 196.5 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.365e-05/0.3776, allocations: 12 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005298/0.3782, allocations: 35.95 kB / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.3782, allocations: 4 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.025e-05/0.3783, allocations: 71.91 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003045/0.3786, allocations: 295.1 kB / 1.07 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3786, allocations: 0 / 1.07 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000391/0.379, allocations: 63.98 kB / 1.07 GB, free: 9.336 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.0001667/0.3792, allocations: 123.1 kB / 1.07 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001419/0.3806, allocations: 453.2 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3806, allocations: 0 / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008468/0.3815, allocations: 132.2 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.3819, allocations: 33.47 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.3836, allocations: 0.6716 MB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.384, allocations: 0.7827 MB / 1.072 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.075e-05/0.3841, allocations: 5.094 kB / 1.072 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.3841, allocations: 19.42 kB / 1.072 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3841, allocations: 0 / 1.072 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of Templates: time 0.009716/0.3939, allocations: 4.922 MB / 1.077 GB, free: 2.027 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches