Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.009036/0.009036, allocations: 96.73 kB / 15.73 MB, free: 6.039 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.002487/0.002487, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.838/2.838, allocations: 469.8 MB / 0.7425 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 67.89 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3955, allocations: 159.1 MB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002895/0.3984, allocations: 1.74 MB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.3998, allocations: 0.6321 MB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.3998, allocations: 0 / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.3999, allocations: 11.88 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.4001, allocations: 43.77 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007909/0.4009, allocations: 355.4 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000567/0.4014, allocations: 0.5892 MB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.866e-05/0.4015, allocations: 21.11 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003742/0.4019, allocations: 323.5 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.4022, allocations: 156.3 kB / 1.225 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.932e-05/0.4022, allocations: 48 kB / 1.225 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.4024, allocations: 40 kB / 1.225 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.4025, allocations: 127.5 kB / 1.225 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.4027, allocations: 219 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006024/0.4033, allocations: 0.5995 MB / 1.226 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4033, allocations: 0 / 1.226 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4033, allocations: 3.938 kB / 1.226 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.4033, allocations: 0 / 1.226 GB, free: 8.789 MB / 0.9825 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.001265/0.4046, allocations: 0.917 MB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.4046, allocations: 12.03 kB / 1.226 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.4047, allocations: 60.66 kB / 1.226 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.4051, allocations: 338.5 kB / 1.227 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.4052, allocations: 16.38 kB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.699e-05/0.4052, allocations: 32.36 kB / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.4063, allocations: 234 kB / 1.227 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4063, allocations: 192 / 1.227 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.4063, allocations: 7.938 kB / 1.227 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.4063, allocations: 4 kB / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000797/0.4071, allocations: 111.9 kB / 1.227 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.4085, allocations: 0.6798 MB / 1.228 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.4095, allocations: 174.5 kB / 1.228 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007452/0.4103, allocations: 109 kB / 1.228 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.4103, allocations: 3.938 kB / 1.228 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009542/0.4112, allocations: 231.2 kB / 1.228 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.532e-06/0.4112, allocations: 0 / 1.228 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002647/0.4139, allocations: 499.8 kB / 1.229 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.4139, allocations: 63.39 kB / 1.229 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/0.4145, allocations: 449.9 kB / 1.229 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/0.4145, allocations: 37.7 kB / 1.229 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.4146, allocations: 105.3 kB / 1.229 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.4147, allocations: 43.62 kB / 1.23 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.4149, allocations: 137.5 kB / 1.23 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.415, allocations: 330.8 kB / 1.23 GB, free: 4 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.4153, allocations: 139.9 kB / 1.23 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003099/0.4156, allocations: 190.9 kB / 1.23 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.416, allocations: 300.7 kB / 1.231 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.416, allocations: 0 / 1.231 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008587/0.4169, allocations: 0.5241 MB / 1.231 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.896e-05/0.417, allocations: 91.38 kB / 1.231 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.417, allocations: 4 kB / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.417, allocations: 0 / 1.231 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.4172, allocations: 28.11 kB / 1.231 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.4172, allocations: 8 kB / 1.231 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005006/0.4177, allocations: 55.78 kB / 1.231 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.954e-05/0.4178, allocations: 63.97 kB / 1.231 GB, free: 2.531 MB / 0.9825 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.0002634/0.418, allocations: 226.5 kB / 1.232 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.4181, allocations: 39.77 kB / 1.232 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.366e-05/0.4182, allocations: 43.78 kB / 1.232 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4182, allocations: 7.938 kB / 1.232 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4182, allocations: 0 / 1.232 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4182, allocations: 0 / 1.232 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.4204, allocations: 0.7912 MB / 1.232 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4204, allocations: 0 / 1.232 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.4204, allocations: 4 kB / 1.232 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4204, allocations: 0 / 1.232 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.4204, allocations: 19.97 kB / 1.232 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.4204, allocations: 3.938 kB / 1.232 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4204, allocations: 0 / 1.232 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.4222, allocations: 493.7 kB / 1.233 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.4224, allocations: 236.7 kB / 1.233 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.372e-05/0.4225, allocations: 23.98 kB / 1.233 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004897/0.423, allocations: 43.84 kB / 1.233 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.423, allocations: 7.984 kB / 1.233 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.383e-05/0.4231, allocations: 59.92 kB / 1.233 GB, free: 468 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003221/0.4234, allocations: 319.1 kB / 1.234 GB, free: 148 kB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4234, allocations: 0 / 1.234 GB, free: 148 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003865/0.4238, allocations: 75.94 kB / 1.234 GB, free: 72 kB / 0.9825 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.0002426/0.4241, allocations: 135.4 kB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.4254, allocations: 438.5 kB / 1.234 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4254, allocations: 0 / 1.234 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007714/0.4261, allocations: 112.2 kB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.4266, allocations: 44.06 kB / 1.234 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.4282, allocations: 0.6128 MB / 1.235 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.4286, allocations: 0.7864 MB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.643e-05/0.4286, allocations: 13.44 kB / 1.236 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.4287, allocations: 19.42 kB / 1.236 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.4287, allocations: 0 / 1.236 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.00978/0.4385, allocations: 5.424 MB / 1.241 GB, free: 8.332 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches