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.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.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.001875/0.001875, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 198.3 kB / 16.79 MB, free: 6.809 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 / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.771/2.771, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 62.84 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2608, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002895/0.2638, allocations: 1.582 MB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.2651, allocations: 0.5945 MB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.2652, allocations: 0 / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.2653, allocations: 11.92 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.2654, allocations: 15.94 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007513/0.2662, allocations: 286.7 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004411/0.2666, allocations: 443.4 kB / 1.056 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.952e-05/0.2667, allocations: 7.938 kB / 1.056 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004454/0.2672, allocations: 311 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.2675, allocations: 167.2 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.2676, allocations: 16 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-05/0.2677, allocations: 12 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.2678, allocations: 115.5 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.2681, allocations: 190.8 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.2684, allocations: 311.7 kB / 1.057 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.251e-05/0.2684, allocations: 4 kB / 1.057 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2684, allocations: 0 / 1.057 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.2684, allocations: 0 / 1.057 GB, free: 4.293 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.001297/0.2697, allocations: 0.8665 MB / 1.058 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.2697, allocations: 11.97 kB / 1.058 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.2699, allocations: 52.47 kB / 1.058 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.2703, allocations: 314.1 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/0.2703, allocations: 16.36 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-05/0.2704, allocations: 32.36 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.2714, allocations: 210 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.2715, allocations: 8.109 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.2715, allocations: 7.922 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2715, allocations: 4 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008197/0.2724, allocations: 95.92 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.2728, allocations: 385.3 kB / 1.059 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.2739, allocations: 182.5 kB / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007826/0.2747, allocations: 112.8 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.2747, allocations: 0 / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.2758, allocations: 231.3 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.2758, allocations: 0 / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.00277/0.2785, allocations: 477 kB / 1.06 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.2786, allocations: 59.41 kB / 1.06 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.279, allocations: 417.8 kB / 1.06 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.827e-05/0.2791, allocations: 41.7 kB / 1.06 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.2792, allocations: 89.44 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.208e-05/0.2793, allocations: 47.47 kB / 1.06 GB, free: 456 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.2795, allocations: 129.3 kB / 1.06 GB, free: 320 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.2796, allocations: 318.8 kB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.2799, allocations: 123.9 kB / 1.061 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.2802, allocations: 177.9 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.2806, allocations: 274.5 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2806, allocations: 0 / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008425/0.2815, allocations: 0.4901 MB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.032e-05/0.2816, allocations: 91.31 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2816, allocations: 4 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2816, allocations: 0 / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.2818, allocations: 23.92 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.2818, allocations: 8.188 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/0.2823, allocations: 59.73 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.532e-05/0.2824, allocations: 63.97 kB / 1.062 GB, free: 14.61 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.0002223/0.2826, allocations: 192 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.2827, allocations: 43.47 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.489e-05/0.2828, allocations: 43.73 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.2828, allocations: 4 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2828, allocations: 3.938 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2828, allocations: 0 / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.285, allocations: 0.7421 MB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.285, allocations: 0 / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.2851, allocations: 15.92 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.2851, allocations: 3.984 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.2851, allocations: 19.98 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.2851, allocations: 3.984 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2851, allocations: 0 / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.287, allocations: 470.8 kB / 1.063 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.2872, allocations: 192.5 kB / 1.064 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.041e-05/0.2873, allocations: 19.98 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005079/0.2879, allocations: 31.97 kB / 1.064 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.2879, allocations: 7.984 kB / 1.064 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-05/0.288, allocations: 59.97 kB / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002832/0.2883, allocations: 295.1 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2883, allocations: 0 / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003801/0.2887, allocations: 60 kB / 1.064 GB, free: 12.34 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.0001486/0.2888, allocations: 123.9 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.2901, allocations: 449.3 kB / 1.065 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2902, allocations: 0 / 1.065 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000808/0.291, allocations: 112.3 kB / 1.065 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.2913, allocations: 33.48 kB / 1.065 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.293, allocations: 0.7109 MB / 1.065 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.2933, allocations: 0.7749 MB / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.2934, allocations: 19.38 kB / 1.066 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.2934, allocations: 0 / 1.066 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of Templates: time 0.005679/0.299, allocations: 3.677 MB / 1.07 GB, free: 6.312 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time