Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001236, allocations: 116.4 kB / 16.37 MB, free: 6.012 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.00117/0.001171, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.525/2.525, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 58.78 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2912, allocations: 151.6 MB / 1.019 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002808/0.294, allocations: 1.728 MB / 1.021 GB, free: 8.086 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2953, allocations: 0.6339 MB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.894e-05/0.2954, allocations: 4 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.286e-05/0.2955, allocations: 11.86 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.2956, allocations: 31.78 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007544/0.2964, allocations: 364.4 kB / 1.022 GB, free: 7.055 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005871/0.297, allocations: 0.632 MB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2971, allocations: 33.11 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.2975, allocations: 323.5 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.2977, allocations: 151.4 kB / 1.023 GB, free: 5.922 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.517e-05/0.2978, allocations: 40 kB / 1.023 GB, free: 5.883 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.323e-05/0.2979, allocations: 40 kB / 1.023 GB, free: 5.844 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.298, allocations: 127.6 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.2982, allocations: 218.9 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005773/0.2988, allocations: 0.592 MB / 1.024 GB, free: 4.91 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2988, allocations: 4 kB / 1.024 GB, free: 4.906 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2988, allocations: 0 / 1.024 GB, free: 4.906 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.2989, allocations: 0 / 1.024 GB, free: 4.906 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001259/0.3001, allocations: 0.9131 MB / 1.025 GB, free: 3.902 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.3002, allocations: 16.88 kB / 1.025 GB, free: 3.887 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.3003, allocations: 56.41 kB / 1.025 GB, free: 3.832 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.3007, allocations: 330.1 kB / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.3008, allocations: 24.36 kB / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.781e-05/0.3009, allocations: 36.36 kB / 1.025 GB, free: 3.41 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009371/0.3018, allocations: 226 kB / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3018, allocations: 4.172 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.3019, allocations: 11.94 kB / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3019, allocations: 0 / 1.025 GB, free: 3.168 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007405/0.3026, allocations: 119.9 kB / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.3039, allocations: 0.6719 MB / 1.026 GB, free: 2.328 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009787/0.3049, allocations: 190.4 kB / 1.026 GB, free: 2.133 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006837/0.3056, allocations: 112.8 kB / 1.026 GB, free: 2.02 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.3057, allocations: 4 kB / 1.026 GB, free: 2.016 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008564/0.3065, allocations: 231.1 kB / 1.026 GB, free: 1.777 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.3065, allocations: 0 / 1.026 GB, free: 1.777 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.002389/0.3089, allocations: 498.8 kB / 1.027 GB, free: 1.285 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.309, allocations: 59.41 kB / 1.027 GB, free: 1.215 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.3094, allocations: 445.8 kB / 1.027 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/0.3095, allocations: 37.7 kB / 1.027 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/0.3095, allocations: 101.3 kB / 1.028 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.3096, allocations: 43.55 kB / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/0.3098, allocations: 141.3 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3099, allocations: 326.8 kB / 1.028 GB, free: 116 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.3102, allocations: 143.8 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.3105, allocations: 191.6 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.3109, allocations: 299 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3109, allocations: 0 / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008201/0.3117, allocations: 0.5214 MB / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.974e-05/0.3118, allocations: 99.36 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3118, allocations: 0 / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3119, allocations: 4 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.312, allocations: 23.92 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3121, allocations: 4 kB / 1.029 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/0.3125, allocations: 63.98 kB / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.605e-05/0.3126, allocations: 59.97 kB / 1.029 GB, free: 14.64 MB / 0.8106 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002306/0.3129, allocations: 220.3 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.3129, allocations: 35.53 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.637e-05/0.313, allocations: 43.78 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.313, allocations: 4 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.313, allocations: 0 / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.313, allocations: 4 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/0.3152, allocations: 0.7872 MB / 1.03 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3152, allocations: 3.938 kB / 1.03 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.3152, allocations: 8 kB / 1.03 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3152, allocations: 4 kB / 1.03 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.3153, allocations: 19.97 kB / 1.03 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.3153, allocations: 7.938 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3153, allocations: 0 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.3169, allocations: 489.6 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003349/0.3173, allocations: 236.5 kB / 1.031 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.986e-05/0.3173, allocations: 23.98 kB / 1.031 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/0.3178, allocations: 27.91 kB / 1.031 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.3178, allocations: 15.92 kB / 1.031 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-05/0.3179, allocations: 55.98 kB / 1.031 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003066/0.3182, allocations: 327.1 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3182, allocations: 0 / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003668/0.3186, allocations: 67.98 kB / 1.032 GB, free: 12.19 MB / 0.8106 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0001953/0.3188, allocations: 123.5 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.32, allocations: 482.5 kB / 1.032 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3201, allocations: 0 / 1.032 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007151/0.3208, allocations: 115.9 kB / 1.032 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.3212, allocations: 37.42 kB / 1.032 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.3226, allocations: 0.5948 MB / 1.033 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.323, allocations: 0.7825 MB / 1.034 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.41e-05/0.3231, allocations: 17.41 kB / 1.034 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.3232, allocations: 27.42 kB / 1.034 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.3232, allocations: 0 / 1.034 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of Templates: time 0.009119/0.3323, allocations: 5.417 MB / 1.039 GB, free: 4.441 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches