Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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.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.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 110.7 kB / 16.42 MB, free: 6.465 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.002192/0.002192, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.549/1.549, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.854/2.854, allocations: 469.4 MB / 0.7428 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 67.89 kB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 159.1 MB / 1.221 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003919/1.01, allocations: 1.515 MB / 1.222 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001681/1.011, allocations: 0.5423 MB / 1.223 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/1.011, allocations: 3.938 kB / 1.223 GB, free: 320 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001572/1.012, allocations: 7.922 kB / 1.223 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001843/1.012, allocations: 31.86 kB / 1.223 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/1.013, allocations: 314.6 kB / 1.223 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007449/1.014, allocations: 0.5033 MB / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.107e-05/1.014, allocations: 4 kB / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005497/1.014, allocations: 279.6 kB / 1.224 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004505/1.015, allocations: 147.4 kB / 1.224 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001743/1.015, allocations: 28 kB / 1.224 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/1.015, allocations: 28 kB / 1.224 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002265/1.015, allocations: 115.6 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003293/1.016, allocations: 179.1 kB / 1.224 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007346/1.017, allocations: 428.4 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/1.017, allocations: 0 / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.666e-06/1.017, allocations: 0 / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.769e-05/1.017, allocations: 0 / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.002394/1.019, allocations: 0.8664 MB / 1.226 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.832e-05/1.019, allocations: 8.625 kB / 1.226 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002665/1.019, allocations: 52.47 kB / 1.226 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006479/1.02, allocations: 310.3 kB / 1.226 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.621e-05/1.02, allocations: 16.31 kB / 1.226 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/1.02, allocations: 32.36 kB / 1.226 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/1.021, allocations: 214 kB / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/1.021, allocations: 4.188 kB / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/1.021, allocations: 3.938 kB / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/1.021, allocations: 0 / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008145/1.022, allocations: 99.92 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000695/1.023, allocations: 389.2 kB / 1.227 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/1.024, allocations: 190.4 kB / 1.227 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007724/1.025, allocations: 104.8 kB / 1.227 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.021e-05/1.025, allocations: 8 kB / 1.227 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/1.026, allocations: 215.2 kB / 1.227 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 4.198e-06/1.026, allocations: 0 / 1.227 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.002828/1.029, allocations: 487.3 kB / 1.228 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.133e-05/1.029, allocations: 63.39 kB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005224/1.03, allocations: 413.8 kB / 1.228 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.403e-05/1.03, allocations: 49.69 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.937e-05/1.03, allocations: 89.45 kB / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.826e-05/1.03, allocations: 47.47 kB / 1.228 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/1.03, allocations: 125.3 kB / 1.228 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.03, allocations: 322.8 kB / 1.229 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/1.03, allocations: 119.9 kB / 1.229 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/1.031, allocations: 177.9 kB / 1.229 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/1.031, allocations: 282.9 kB / 1.229 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.031, allocations: 0 / 1.229 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007969/1.032, allocations: 482.2 kB / 1.23 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.875e-05/1.032, allocations: 91.36 kB / 1.23 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/1.032, allocations: 3.938 kB / 1.23 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/1.032, allocations: 4 kB / 1.23 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/1.032, allocations: 27.86 kB / 1.23 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/1.032, allocations: 4 kB / 1.23 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005167/1.033, allocations: 63.98 kB / 1.23 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.801e-05/1.033, allocations: 59.97 kB / 1.23 GB, free: 8.613 MB / 0.9512 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002738/1.033, allocations: 188.5 kB / 1.23 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.066e-05/1.033, allocations: 39.53 kB / 1.23 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.911e-05/1.033, allocations: 47.62 kB / 1.23 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/1.033, allocations: 7.984 kB / 1.23 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.033, allocations: 0 / 1.23 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/1.034, allocations: 200.5 kB / 1.231 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.528e-05/1.034, allocations: 8 kB / 1.231 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004696/1.034, allocations: 31.95 kB / 1.231 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/1.034, allocations: 8 kB / 1.231 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00175/1.036, allocations: 428.6 kB / 1.231 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001821/1.038, allocations: 0.5371 MB / 1.231 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007615/1.039, allocations: 117.9 kB / 1.232 GB, free: 6.977 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003518/1.039, allocations: 295.1 kB / 1.232 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of Backend: time 7.82e-07/1.039, allocations: 0 / 1.232 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001062/1.04, allocations: 422.7 kB / 1.232 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001327/1.042, allocations: 0.9267 MB / 1.233 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of Templates: time 0.01079/1.052, allocations: 5.051 MB / 1.238 GB, free: 132 kB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches