Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 103.7 kB / 16.35 MB, free: 5.828 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.001911/0.001911, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.547/2.547, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 75.73 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3399, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003054/0.343, allocations: 1.734 MB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.3445, allocations: 0.6362 MB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.3445, allocations: 0 / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.3447, allocations: 11.86 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.3448, allocations: 35.78 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008082/0.3456, allocations: 362.6 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006193/0.3463, allocations: 0.6282 MB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.3464, allocations: 37.09 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004458/0.3469, allocations: 311.6 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/0.3472, allocations: 159.5 kB / 1.031 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.048e-05/0.3473, allocations: 40 kB / 1.031 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.028e-05/0.3474, allocations: 44 kB / 1.031 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.3476, allocations: 123.6 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002547/0.3479, allocations: 222.9 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006592/0.3485, allocations: 0.592 MB / 1.032 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3485, allocations: 0 / 1.032 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.005e-06/0.3486, allocations: 4 kB / 1.032 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.3486, allocations: 0 / 1.032 GB, free: 13.12 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001575/0.3502, allocations: 0.9015 MB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.3502, allocations: 12.02 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.3503, allocations: 52.47 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005622/0.3509, allocations: 338.1 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/0.351, allocations: 20.36 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.233e-05/0.3511, allocations: 28.38 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009824/0.3521, allocations: 239.7 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.3521, allocations: 4.172 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.3521, allocations: 3.938 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3521, allocations: 4 kB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007219/0.3529, allocations: 111.9 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.3544, allocations: 0.6797 MB / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009339/0.3554, allocations: 182.5 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006703/0.3561, allocations: 112.8 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.49e-05/0.3561, allocations: 3.984 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009315/0.3571, allocations: 237.8 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.705e-06/0.3571, allocations: 0 / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002307/0.3594, allocations: 0.4891 MB / 1.035 GB, free: 9.52 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.3594, allocations: 55.41 kB / 1.035 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004905/0.3599, allocations: 441.8 kB / 1.035 GB, free: 9.016 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.431e-05/0.36, allocations: 45.69 kB / 1.035 GB, free: 8.965 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.088e-05/0.3601, allocations: 109.3 kB / 1.035 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.3602, allocations: 39.48 kB / 1.036 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.3604, allocations: 141.3 kB / 1.036 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3605, allocations: 330.8 kB / 1.036 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.3608, allocations: 139.9 kB / 1.036 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.3611, allocations: 186.9 kB / 1.036 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.3615, allocations: 303.4 kB / 1.037 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3615, allocations: 0 / 1.037 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008492/0.3624, allocations: 0.5162 MB / 1.037 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.052e-05/0.3625, allocations: 99.38 kB / 1.037 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3625, allocations: 0 / 1.037 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.3625, allocations: 4 kB / 1.037 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.3627, allocations: 23.92 kB / 1.037 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.3627, allocations: 3.984 kB / 1.037 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004508/0.3632, allocations: 63.86 kB / 1.037 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.115e-05/0.3633, allocations: 63.98 kB / 1.037 GB, free: 6.867 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.0002452/0.3635, allocations: 220.2 kB / 1.038 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.3636, allocations: 43.52 kB / 1.038 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.017e-05/0.3637, allocations: 39.8 kB / 1.038 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3637, allocations: 0 / 1.038 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3637, allocations: 0 / 1.038 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3637, allocations: 0 / 1.038 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.3658, allocations: 0.7937 MB / 1.038 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3658, allocations: 4 kB / 1.038 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.3658, allocations: 4 kB / 1.038 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3658, allocations: 3.984 kB / 1.038 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.3659, allocations: 19.98 kB / 1.038 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.3659, allocations: 7.938 kB / 1.038 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3659, allocations: 0 / 1.038 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.3675, allocations: 479.2 kB / 1.039 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/0.3678, allocations: 244.5 kB / 1.039 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.909e-05/0.3679, allocations: 16 kB / 1.039 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.3684, allocations: 35.91 kB / 1.039 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.3684, allocations: 15.92 kB / 1.039 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.452e-05/0.3685, allocations: 55.97 kB / 1.039 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003604/0.3689, allocations: 319.1 kB / 1.04 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3689, allocations: 3.938 kB / 1.04 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000381/0.3693, allocations: 71.98 kB / 1.04 GB, free: 4.418 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.0002189/0.3695, allocations: 131.5 kB / 1.04 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.3707, allocations: 474.7 kB / 1.04 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3707, allocations: 4.062 kB / 1.04 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006816/0.3714, allocations: 119.9 kB / 1.04 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.3718, allocations: 45.5 kB / 1.04 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.3734, allocations: 0.5907 MB / 1.041 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.3738, allocations: 0.7941 MB / 1.042 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.429e-05/0.3738, allocations: 13.42 kB / 1.042 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.3739, allocations: 11.44 kB / 1.042 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.3739, allocations: 0 / 1.042 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of Templates: time 0.009258/0.3832, allocations: 5.414 MB / 1.047 GB, free: 12.68 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches