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.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.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.001182/0.001182, allocations: 107.4 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.001138/0.001138, allocations: 193.1 kB / 16.14 MB, free: 6.715 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.483/1.483, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.837/2.837, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001343, allocations: 61.86 kB / 0.8984 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3667, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002991/0.3698, allocations: 1.573 MB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.3712, allocations: 0.6019 MB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.3713, allocations: 0 / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.3714, allocations: 7.922 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.3716, allocations: 23.86 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007098/0.3723, allocations: 278.6 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004273/0.3727, allocations: 451.4 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.467e-05/0.3728, allocations: 8 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003915/0.3732, allocations: 307 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.3735, allocations: 163.2 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.138e-05/0.3736, allocations: 16 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.622e-05/0.3737, allocations: 12 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.3738, allocations: 111.7 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.3741, allocations: 178.8 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004193/0.3745, allocations: 426.8 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3745, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3745, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3745, allocations: 4 kB / 1.056 GB, free: 4.715 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.001277/0.3758, allocations: 0.8704 MB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3758, allocations: 8.031 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.376, allocations: 48.47 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.3764, allocations: 314.2 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.877e-05/0.3764, allocations: 28.28 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.443e-05/0.3765, allocations: 24.31 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.3775, allocations: 218 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3775, allocations: 4.188 kB / 1.058 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.3776, allocations: 7.938 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3776, allocations: 0 / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008106/0.3784, allocations: 99.91 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.3789, allocations: 393.3 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.3799, allocations: 170.5 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007839/0.3807, allocations: 112.7 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.3808, allocations: 4 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.3818, allocations: 227.4 kB / 1.059 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.155e-06/0.3818, allocations: 4 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002624/0.3845, allocations: 483.3 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.3845, allocations: 55.41 kB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005111/0.385, allocations: 417.8 kB / 1.059 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.648e-05/0.3851, allocations: 41.69 kB / 1.059 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.3852, allocations: 97.44 kB / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.861e-05/0.3853, allocations: 43.53 kB / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002491/0.3856, allocations: 125.3 kB / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3857, allocations: 322.8 kB / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.386, allocations: 119.9 kB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.3863, allocations: 168 kB / 1.06 GB, free: 116 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.3867, allocations: 282.7 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3868, allocations: 0 / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008122/0.3876, allocations: 497.8 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.633e-05/0.3877, allocations: 91.31 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.3877, allocations: 192 / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3877, allocations: 8 kB / 1.061 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.3879, allocations: 31.91 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3879, allocations: 0 / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.3884, allocations: 59.8 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.3e-05/0.3885, allocations: 59.98 kB / 1.061 GB, free: 15.04 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.000223/0.3887, allocations: 203.9 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/0.3888, allocations: 39.47 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.392e-05/0.3889, allocations: 39.75 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.3889, allocations: 0 / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3889, allocations: 0 / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.3889, allocations: 11.97 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002241/0.3912, allocations: 0.7441 MB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3912, allocations: 0 / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.3912, allocations: 4 kB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.3912, allocations: 0 / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.3913, allocations: 23.91 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/0.3913, allocations: 4 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3913, allocations: 0 / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.3929, allocations: 477.7 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.3931, allocations: 200.5 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.889e-05/0.3932, allocations: 12 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004694/0.3937, allocations: 35.95 kB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.3937, allocations: 7.984 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.303e-05/0.3938, allocations: 55.98 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002836/0.3941, allocations: 299.1 kB / 1.063 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3941, allocations: 0 / 1.063 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003563/0.3944, allocations: 63.98 kB / 1.063 GB, free: 12.75 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.0001626/0.3946, allocations: 119.2 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.3959, allocations: 434.5 kB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3959, allocations: 0 / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007851/0.3967, allocations: 128.2 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.3971, allocations: 33.42 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.3987, allocations: 0.6663 MB / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.3991, allocations: 0.7749 MB / 1.066 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.864e-05/0.3992, allocations: 17.08 kB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.727e-05/0.3993, allocations: 15.44 kB / 1.066 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of SimCode: time 7.51e-07/0.3993, allocations: 0 / 1.066 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of Templates: time 0.009832/0.4091, allocations: 4.975 MB / 1.07 GB, free: 5.43 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