Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008445/0.0008444, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008385/0.0008385, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.837/2.837, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.0004976, allocations: 12.84 kB / 0.9022 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4596, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002013/0.4617, allocations: 1.419 MB / 1.059 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.4632, allocations: 0.617 MB / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.4633, allocations: 0 / 1.06 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.4634, allocations: 3.938 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.4635, allocations: 27.84 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008895/0.4644, allocations: 270.2 kB / 1.06 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007071/0.4652, allocations: 483.2 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.4653, allocations: 33.08 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006073/0.4659, allocations: 323.4 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000389/0.4663, allocations: 191.5 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-05/0.4664, allocations: 12 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.728e-05/0.4665, allocations: 16 kB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.4667, allocations: 119.7 kB / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.4668, allocations: 109.5 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004626/0.4673, allocations: 471.1 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4673, allocations: 0 / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4673, allocations: 0 / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.4673, allocations: 4 kB / 1.062 GB, free: 1.234 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.001274/0.4686, allocations: 0.7768 MB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.4687, allocations: 12.03 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.4688, allocations: 59.44 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.4693, allocations: 317.2 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.537e-05/0.4694, allocations: 19.95 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.878e-05/0.4695, allocations: 31.98 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.4706, allocations: 247.1 kB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.4706, allocations: 0 / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.4706, allocations: 3.984 kB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.4706, allocations: 4 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006991/0.4713, allocations: 131.8 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.4726, allocations: 0.6799 MB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009574/0.4736, allocations: 194.5 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006596/0.4742, allocations: 128.7 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-05/0.4743, allocations: 4 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008783/0.4752, allocations: 239.2 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.515e-06/0.4752, allocations: 0 / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002354/0.4775, allocations: 0.5267 MB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.148e-05/0.4776, allocations: 67.39 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005726/0.4782, allocations: 437.8 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.248e-05/0.4783, allocations: 41.69 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.4784, allocations: 101.3 kB / 1.066 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.566e-05/0.4785, allocations: 43.48 kB / 1.066 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.4786, allocations: 12 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4787, allocations: 326.8 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.479, allocations: 135.9 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.4794, allocations: 193.9 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.4797, allocations: 212.7 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.4797, allocations: 0 / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009853/0.4807, allocations: 0.5239 MB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.4809, allocations: 95.38 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.4809, allocations: 4 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.4809, allocations: 192 / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.4811, allocations: 27.92 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.4811, allocations: 4 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005174/0.4816, allocations: 67.78 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.4817, allocations: 63.97 kB / 1.068 GB, free: 11.25 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 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003041/0.4821, allocations: 224.3 kB / 1.068 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.4821, allocations: 39.48 kB / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.092e-05/0.4822, allocations: 39.78 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.4822, allocations: 4 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.4822, allocations: 0 / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4822, allocations: 0 / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.4844, allocations: 0.8105 MB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4844, allocations: 3.938 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.4844, allocations: 4 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.4844, allocations: 3.938 kB / 1.069 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.4845, allocations: 23.97 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.4845, allocations: 4 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4845, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.4862, allocations: 0.4937 MB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.4865, allocations: 244.4 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.652e-05/0.4866, allocations: 19.98 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/0.487, allocations: 31.97 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.487, allocations: 11.98 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.106e-05/0.4871, allocations: 59.97 kB / 1.07 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003593/0.4875, allocations: 315.1 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4875, allocations: 3.938 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003907/0.4879, allocations: 71.92 kB / 1.07 GB, free: 8.773 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002442/0.4882, allocations: 131.7 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001267/0.4894, allocations: 490.4 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4894, allocations: 0 / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006874/0.4901, allocations: 132.3 kB / 1.071 GB, free: 8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.4905, allocations: 35.36 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.4921, allocations: 0.7145 MB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.4924, allocations: 0.7943 MB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.186e-05/0.4925, allocations: 13.44 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.4926, allocations: 19.42 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.4926, allocations: 0 / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of Templates: time 0.009489/0.5021, allocations: 5.314 MB / 1.077 GB, free: 0.9727 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches