Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001175/0.001174, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001684/0.001684, allocations: 191.6 kB / 16.25 MB, free: 6.621 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.704/1.704, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.991/2.991, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 65.23 kB / 0.8986 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.448, allocations: 157.4 MB / 1.052 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003705/0.4517, allocations: 1.789 MB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.4533, allocations: 0.6299 MB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.4535, allocations: 0 / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.976e-05/0.4536, allocations: 11.86 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.4538, allocations: 23.91 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.4548, allocations: 350.4 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0009313/0.4558, allocations: 0.6398 MB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.4559, allocations: 33.09 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007158/0.4567, allocations: 386.9 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004576/0.4571, allocations: 175.1 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.4573, allocations: 44 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.4574, allocations: 40 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.4576, allocations: 127.6 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002732/0.4578, allocations: 226.8 kB / 1.057 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007154/0.4586, allocations: 0.6077 MB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4586, allocations: 0 / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4586, allocations: 8 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.762e-05/0.4586, allocations: 0 / 1.057 GB, free: 3.672 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.001723/0.4603, allocations: 0.9014 MB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.4604, allocations: 8.625 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.4606, allocations: 52.47 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/0.461, allocations: 338.1 kB / 1.059 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.263e-05/0.4611, allocations: 20.55 kB / 1.059 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.89e-05/0.4612, allocations: 32.36 kB / 1.059 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.4623, allocations: 235.5 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.4623, allocations: 3.938 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.4624, allocations: 4 kB / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.4624, allocations: 0 / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008147/0.4632, allocations: 123.8 kB / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.4646, allocations: 0.672 MB / 1.06 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.4658, allocations: 190.4 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007739/0.4665, allocations: 112.8 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.4666, allocations: 0 / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.4676, allocations: 235.2 kB / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.4676, allocations: 0 / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002675/0.4703, allocations: 499.4 kB / 1.061 GB, free: 76 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.982e-05/0.4704, allocations: 67.39 kB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005694/0.471, allocations: 441.8 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.4711, allocations: 41.7 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.4712, allocations: 109.3 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.4713, allocations: 39.53 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/0.4716, allocations: 137.3 kB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4718, allocations: 330.8 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.4721, allocations: 139.9 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.4725, allocations: 188 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004881/0.473, allocations: 302.6 kB / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.473, allocations: 0 / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001054/0.4741, allocations: 0.5279 MB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.4742, allocations: 91.38 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.4742, allocations: 4 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.4743, allocations: 0 / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.4744, allocations: 27.92 kB / 1.063 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.4745, allocations: 11.97 kB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/0.4751, allocations: 63.92 kB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.4752, allocations: 59.92 kB / 1.063 GB, free: 13.41 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.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.0003187/0.4755, allocations: 220.3 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.927e-05/0.4756, allocations: 39.52 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.701e-05/0.4757, allocations: 39.8 kB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.4757, allocations: 4 kB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4757, allocations: 4 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4757, allocations: 0 / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.4782, allocations: 0.787 MB / 1.064 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4782, allocations: 4 kB / 1.064 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.4782, allocations: 7.984 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-06/0.4782, allocations: 0 / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.412e-05/0.4783, allocations: 19.92 kB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4783, allocations: 0 / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4783, allocations: 4 kB / 1.064 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.4802, allocations: 488.7 kB / 1.065 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/0.4805, allocations: 240.5 kB / 1.065 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.91e-05/0.4806, allocations: 19.94 kB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004779/0.4811, allocations: 27.97 kB / 1.065 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.4811, allocations: 7.984 kB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.419e-05/0.4812, allocations: 71.97 kB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003739/0.4816, allocations: 315.1 kB / 1.065 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.983e-06/0.4816, allocations: 0 / 1.065 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004713/0.4821, allocations: 75.92 kB / 1.065 GB, free: 10.96 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.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.0002535/0.4824, allocations: 127.5 kB / 1.065 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001588/0.484, allocations: 490.7 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.484, allocations: 0 / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008084/0.4848, allocations: 119.9 kB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.4853, allocations: 38.53 kB / 1.066 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.487, allocations: 0.7232 MB / 1.067 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/0.4875, allocations: 0.7902 MB / 1.068 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.819e-05/0.4876, allocations: 17.42 kB / 1.068 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.4877, allocations: 15.42 kB / 1.068 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.4877, allocations: 0 / 1.068 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of Templates: time 0.01235/0.5001, allocations: 5.619 MB / 1.073 GB, free: 2.863 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches