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.001626/0.001626, allocations: 103 kB / 16.37 MB, free: 6.438 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.001822/0.001822, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.511/1.511, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.705/2.705, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 63.81 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3908, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003121/0.3939, allocations: 1.746 MB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.3953, allocations: 0.6285 MB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.007e-05/0.3955, allocations: 0 / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.3956, allocations: 15.8 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.3957, allocations: 31.84 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000826/0.3966, allocations: 358.5 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000598/0.3972, allocations: 0.6321 MB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3973, allocations: 37.09 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.3977, allocations: 315.5 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.398, allocations: 155.5 kB / 1.031 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.885e-05/0.3981, allocations: 44 kB / 1.031 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.323e-05/0.3982, allocations: 40 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.3983, allocations: 123.6 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.3985, allocations: 219 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005176/0.399, allocations: 0.592 MB / 1.032 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.399, allocations: 4 kB / 1.032 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.004e-06/0.399, allocations: 0 / 1.032 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.3991, allocations: 0 / 1.032 GB, free: 13.11 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.001402/0.4005, allocations: 0.9092 MB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/0.4005, allocations: 12.02 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.4007, allocations: 52.47 kB / 1.033 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000489/0.4012, allocations: 330.2 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.073e-05/0.4012, allocations: 20.36 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.607e-05/0.4013, allocations: 28.38 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009034/0.4022, allocations: 234 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.4022, allocations: 8.109 kB / 1.033 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.4023, allocations: 7.938 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4023, allocations: 4 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007006/0.403, allocations: 113.6 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.4043, allocations: 0.6758 MB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009346/0.4053, allocations: 190.4 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006697/0.406, allocations: 112.8 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.406, allocations: 3.938 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009067/0.4069, allocations: 227.2 kB / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.4069, allocations: 0 / 1.034 GB, free: 10 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002384/0.4093, allocations: 0.4997 MB / 1.035 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.4094, allocations: 55.41 kB / 1.035 GB, free: 9.434 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005412/0.4099, allocations: 445.8 kB / 1.035 GB, free: 8.992 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/0.41, allocations: 41.69 kB / 1.035 GB, free: 8.945 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.541e-05/0.4101, allocations: 105.3 kB / 1.035 GB, free: 8.836 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.4101, allocations: 31.55 kB / 1.036 GB, free: 8.805 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.4104, allocations: 145.3 kB / 1.036 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4105, allocations: 330.8 kB / 1.036 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.4109, allocations: 139.9 kB / 1.036 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.4113, allocations: 182.9 kB / 1.036 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004209/0.4117, allocations: 311.1 kB / 1.037 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4117, allocations: 0 / 1.037 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008049/0.4125, allocations: 0.5123 MB / 1.037 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.761e-05/0.4126, allocations: 99.38 kB / 1.037 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.4126, allocations: 3.984 kB / 1.037 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.4127, allocations: 4 kB / 1.037 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.4128, allocations: 27.91 kB / 1.037 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.4128, allocations: 0 / 1.037 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004579/0.4133, allocations: 63.98 kB / 1.037 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.569e-05/0.4134, allocations: 55.98 kB / 1.037 GB, free: 6.859 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.0002416/0.4137, allocations: 224.2 kB / 1.038 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.4137, allocations: 43.52 kB / 1.038 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.469e-05/0.4138, allocations: 39.8 kB / 1.038 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4138, allocations: 0 / 1.038 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4138, allocations: 0 / 1.038 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4138, allocations: 4 kB / 1.038 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.4159, allocations: 0.7911 MB / 1.038 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4159, allocations: 0 / 1.038 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.4159, allocations: 4 kB / 1.038 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4159, allocations: 3.984 kB / 1.038 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/0.416, allocations: 23.98 kB / 1.038 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.416, allocations: 7.875 kB / 1.038 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.416, allocations: 0 / 1.038 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.4175, allocations: 483.2 kB / 1.039 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/0.4179, allocations: 244.5 kB / 1.039 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.943e-05/0.418, allocations: 16 kB / 1.039 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000426/0.4184, allocations: 31.91 kB / 1.039 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.4184, allocations: 7.984 kB / 1.039 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.588e-05/0.4185, allocations: 59.97 kB / 1.039 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002932/0.4188, allocations: 323 kB / 1.04 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4188, allocations: 4 kB / 1.04 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003637/0.4192, allocations: 67.98 kB / 1.04 GB, free: 4.406 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.0002204/0.4194, allocations: 134.1 kB / 1.04 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.4207, allocations: 478.7 kB / 1.04 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4208, allocations: 0 / 1.04 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007226/0.4215, allocations: 123.8 kB / 1.04 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.4219, allocations: 37.53 kB / 1.04 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.4235, allocations: 0.5869 MB / 1.041 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.4239, allocations: 0.7941 MB / 1.042 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.563e-05/0.424, allocations: 13.42 kB / 1.042 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.4241, allocations: 11.44 kB / 1.042 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of SimCode: time 8.02e-07/0.4241, allocations: 8 kB / 1.042 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of Templates: time 0.00953/0.4336, allocations: 5.406 MB / 1.047 GB, free: 12.66 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 cvode -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