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.00104/0.00104, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008981/0.008981, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.581/1.581, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.925/2.925, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0006045/0.0006046, allocations: 8.875 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.4705, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002061/0.4727, allocations: 1.454 MB / 1.06 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.4741, allocations: 0.6832 MB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.446e-05/0.4742, allocations: 4 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.995e-05/0.4743, allocations: 7.922 kB / 1.061 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.4745, allocations: 27.86 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008171/0.4753, allocations: 331.5 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006203/0.4759, allocations: 0.5344 MB / 1.062 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.4761, allocations: 29.09 kB / 1.062 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004968/0.4766, allocations: 322.8 kB / 1.062 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.4769, allocations: 171.1 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.941e-05/0.477, allocations: 16 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.402e-05/0.4771, allocations: 12 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.4773, allocations: 111.7 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.4775, allocations: 228.4 kB / 1.063 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005767/0.4781, allocations: 0.5763 MB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4781, allocations: 0 / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.575e-06/0.4781, allocations: 0 / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.4781, allocations: 0 / 1.063 GB, free: 0.9609 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.001295/0.4794, allocations: 0.7731 MB / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.4795, allocations: 8.031 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.4796, allocations: 60.31 kB / 1.064 GB, free: 32 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.4801, allocations: 338.2 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.992e-05/0.4802, allocations: 24.55 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-05/0.4803, allocations: 28.36 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.4814, allocations: 243.5 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4814, allocations: 7.938 kB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.4814, allocations: 4 kB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.4815, allocations: 4 kB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008218/0.4823, allocations: 127.8 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.4836, allocations: 0.6797 MB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.4847, allocations: 202.4 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007941/0.4855, allocations: 124.8 kB / 1.066 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.188e-05/0.4856, allocations: 11.97 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009853/0.4865, allocations: 237.1 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.4866, allocations: 0 / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002728/0.4893, allocations: 0.5204 MB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.4894, allocations: 63.33 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.4899, allocations: 445.8 kB / 1.067 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.41e-05/0.4899, allocations: 37.7 kB / 1.067 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.4901, allocations: 113.3 kB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.4901, allocations: 31.55 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.997e-05/0.4902, allocations: 45.69 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4903, allocations: 326.8 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.4906, allocations: 143.9 kB / 1.068 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.4909, allocations: 188 kB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000402/0.4914, allocations: 298.8 kB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4914, allocations: 0 / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000902/0.4923, allocations: 0.5253 MB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.412e-05/0.4924, allocations: 95.38 kB / 1.069 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.4924, allocations: 4 kB / 1.069 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.4924, allocations: 0 / 1.069 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.4926, allocations: 27.91 kB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.4926, allocations: 4 kB / 1.069 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005377/0.4932, allocations: 71.92 kB / 1.069 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.29e-05/0.4933, allocations: 63.92 kB / 1.069 GB, free: 10.82 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.0002974/0.4936, allocations: 212.3 kB / 1.069 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.4937, allocations: 43.53 kB / 1.069 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.267e-05/0.4937, allocations: 43.8 kB / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.4938, allocations: 4 kB / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4938, allocations: 0 / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.4938, allocations: 3.984 kB / 1.069 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.496, allocations: 0.8124 MB / 1.07 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4961, allocations: 3.984 kB / 1.07 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.4961, allocations: 4 kB / 1.07 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4961, allocations: 4 kB / 1.07 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.4962, allocations: 27.91 kB / 1.07 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.4962, allocations: 0 / 1.07 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.4962, allocations: 0 / 1.07 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.498, allocations: 498.7 kB / 1.07 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.4983, allocations: 248.4 kB / 1.071 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.623e-05/0.4984, allocations: 27.92 kB / 1.071 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005047/0.4989, allocations: 39.08 kB / 1.071 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.499, allocations: 11.98 kB / 1.071 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.834e-05/0.499, allocations: 55.98 kB / 1.071 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003412/0.4994, allocations: 319.1 kB / 1.071 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4994, allocations: 0 / 1.071 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004577/0.4999, allocations: 68 kB / 1.071 GB, free: 8.328 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.0002337/0.5001, allocations: 131.4 kB / 1.071 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001421/0.5015, allocations: 492.7 kB / 1.072 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5016, allocations: 0 / 1.072 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008047/0.5024, allocations: 132.2 kB / 1.072 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.5028, allocations: 41.53 kB / 1.072 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.5045, allocations: 0.7264 MB / 1.073 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.505, allocations: 0.7905 MB / 1.073 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.764e-05/0.5051, allocations: 13.42 kB / 1.073 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.5052, allocations: 15.44 kB / 1.073 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.5052, allocations: 0 / 1.073 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of Templates: time 0.01129/0.5165, allocations: 5.428 MB / 1.079 GB, free: 400 kB / 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