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.0008739/0.0008739, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.006338/0.006338, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.85/2.85, allocations: 462.7 MB / 0.7364 GB, free: 320 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003321, allocations: 10.5 kB / 0.9028 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3596, allocations: 159.6 MB / 1.059 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001794/0.3615, allocations: 1.238 MB / 1.06 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.3628, allocations: 0.5861 MB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.482e-05/0.3629, allocations: 0 / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.392e-05/0.363, allocations: 7.922 kB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.3631, allocations: 31.8 kB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007088/0.3639, allocations: 282.7 kB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004056/0.3643, allocations: 447.5 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.3643, allocations: 4 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003891/0.3647, allocations: 310.9 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.365, allocations: 159.2 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.017e-05/0.365, allocations: 19.94 kB / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.956e-05/0.3651, allocations: 12 kB / 1.062 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.3652, allocations: 115.7 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.3655, allocations: 204.5 kB / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.3659, allocations: 414.9 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3659, allocations: 0 / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3659, allocations: 0 / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3659, allocations: 0 / 1.062 GB, free: 1.695 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.001138/0.367, allocations: 0.7589 MB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3671, allocations: 8.031 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.3672, allocations: 52.47 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.3676, allocations: 318.1 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.504e-05/0.3676, allocations: 16.36 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-05/0.3677, allocations: 32.36 kB / 1.064 GB, free: 404 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.3687, allocations: 218 kB / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3688, allocations: 192 / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.3688, allocations: 11.92 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.3688, allocations: 0 / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008064/0.3696, allocations: 111.9 kB / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.3701, allocations: 385.3 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.3712, allocations: 194.3 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000792/0.372, allocations: 132.8 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.3721, allocations: 4 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009871/0.3731, allocations: 241.8 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.3731, allocations: 0 / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002982/0.3761, allocations: 0.5047 MB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.3762, allocations: 59.41 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005844/0.3768, allocations: 413.8 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.167e-05/0.3768, allocations: 37.7 kB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.3769, allocations: 97.44 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.41e-05/0.377, allocations: 39.53 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-05/0.3771, allocations: 41.7 kB / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3772, allocations: 322.8 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.3775, allocations: 115.9 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.3778, allocations: 170.4 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004282/0.3782, allocations: 278.3 kB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3782, allocations: 0 / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008377/0.3791, allocations: 0.4937 MB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.188e-05/0.3792, allocations: 91.31 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.3792, allocations: 4 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3792, allocations: 4 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.3794, allocations: 19.92 kB / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.3794, allocations: 4 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/0.3799, allocations: 67.95 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-05/0.38, allocations: 67.97 kB / 1.067 GB, free: 12.12 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.0002768/0.3803, allocations: 188 kB / 1.068 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.3804, allocations: 39.47 kB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.545e-05/0.3805, allocations: 43.73 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3805, allocations: 8 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3805, allocations: 0 / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3805, allocations: 0 / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.3828, allocations: 0.7601 MB / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3828, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.851e-05/0.3829, allocations: 11.98 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3829, allocations: 0 / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.3829, allocations: 15.98 kB / 1.069 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3829, allocations: 7.984 kB / 1.069 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3829, allocations: 0 / 1.069 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.3847, allocations: 0.4896 MB / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.385, allocations: 200.4 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.082e-05/0.385, allocations: 19.98 kB / 1.069 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004757/0.3855, allocations: 39.91 kB / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.3856, allocations: 11.98 kB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.538e-05/0.3856, allocations: 55.97 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000269/0.3859, allocations: 295.1 kB / 1.07 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3859, allocations: 0 / 1.07 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004139/0.3864, allocations: 64 kB / 1.07 GB, free: 9.793 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.000167/0.3865, allocations: 125.2 kB / 1.07 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.3879, allocations: 450.7 kB / 1.07 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3879, allocations: 4.125 kB / 1.07 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007959/0.3887, allocations: 127.9 kB / 1.07 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.3891, allocations: 30.89 kB / 1.07 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.3909, allocations: 0.6794 MB / 1.071 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004755/0.3914, allocations: 0.7788 MB / 1.072 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.443e-05/0.3915, allocations: 17.08 kB / 1.072 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.3915, allocations: 15.44 kB / 1.072 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.3915, allocations: 0 / 1.072 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of Templates: time 0.009921/0.4014, allocations: 4.93 MB / 1.077 GB, free: 2.477 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