Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.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.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00196/0.001959, allocations: 113.8 kB / 16.42 MB, free: 6.492 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.002275/0.002276, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.669/1.669, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.841/2.841, allocations: 469.4 MB / 0.7428 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001603, allocations: 59.89 kB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9821/0.9837, allocations: 159.1 MB / 1.221 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.003154/0.9869, allocations: 1.511 MB / 1.222 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.9884, allocations: 0.5462 MB / 1.223 GB, free: 332 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.959e-05/0.9885, allocations: 4 kB / 1.223 GB, free: 328 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.9886, allocations: 15.8 kB / 1.223 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.9888, allocations: 27.84 kB / 1.223 GB, free: 284 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009656/0.9897, allocations: 303.4 kB / 1.223 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007069/0.9905, allocations: 0.4994 MB / 1.224 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.218e-05/0.9905, allocations: 7.984 kB / 1.224 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004923/0.991, allocations: 279.6 kB / 1.224 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003672/0.9914, allocations: 151.4 kB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.9915, allocations: 24 kB / 1.224 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.9916, allocations: 28 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.9918, allocations: 115.7 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.992, allocations: 183 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000565/0.9926, allocations: 420.4 kB / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.9926, allocations: 0 / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9926, allocations: 0 / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.9926, allocations: 4 kB / 1.225 GB, free: 14.3 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.00162/0.9942, allocations: 0.8625 MB / 1.226 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.9943, allocations: 12.62 kB / 1.226 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.9945, allocations: 48.47 kB / 1.226 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.995, allocations: 314.2 kB / 1.226 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.118e-05/0.995, allocations: 12.38 kB / 1.226 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.048e-05/0.9951, allocations: 28.36 kB / 1.226 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.9962, allocations: 221.6 kB / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.9962, allocations: 192 / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-05/0.9963, allocations: 7.938 kB / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.9963, allocations: 7.984 kB / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008336/0.9971, allocations: 99.86 kB / 1.226 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.9977, allocations: 393.2 kB / 1.227 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.9988, allocations: 174.5 kB / 1.227 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007893/0.9996, allocations: 112.8 kB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.9996, allocations: 3.984 kB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/1.001, allocations: 225.7 kB / 1.227 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 4.098e-06/1.001, allocations: 4 kB / 1.227 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.002742/1.003, allocations: 492.7 kB / 1.228 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/1.004, allocations: 59.39 kB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000465/1.004, allocations: 413.8 kB / 1.228 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.38e-05/1.004, allocations: 41.69 kB / 1.228 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.575e-05/1.004, allocations: 89.45 kB / 1.228 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.627e-05/1.004, allocations: 39.55 kB / 1.228 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/1.004, allocations: 121.3 kB / 1.228 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.005, allocations: 326.8 kB / 1.229 GB, free: 10 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/1.005, allocations: 123.9 kB / 1.229 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/1.005, allocations: 181.3 kB / 1.229 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004342/1.006, allocations: 279.1 kB / 1.229 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/1.006, allocations: 4 kB / 1.229 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009265/1.007, allocations: 482.6 kB / 1.23 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.33e-05/1.007, allocations: 91.36 kB / 1.23 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.007, allocations: 4.125 kB / 1.23 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.007, allocations: 8 kB / 1.23 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/1.007, allocations: 23.92 kB / 1.23 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/1.007, allocations: 0 / 1.23 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005309/1.008, allocations: 63.73 kB / 1.23 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.134e-05/1.008, allocations: 59.98 kB / 1.23 GB, free: 8.629 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.000259/1.008, allocations: 206.2 kB / 1.23 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/1.008, allocations: 35.53 kB / 1.23 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/1.008, allocations: 43.69 kB / 1.23 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/1.008, allocations: 3.984 kB / 1.23 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.008, allocations: 0 / 1.23 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/1.008, allocations: 196.5 kB / 1.231 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.254e-05/1.008, allocations: 8 kB / 1.231 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000475/1.009, allocations: 31.97 kB / 1.231 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/1.009, allocations: 11.98 kB / 1.231 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001856/1.011, allocations: 424.6 kB / 1.231 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001947/1.013, allocations: 0.5429 MB / 1.231 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008281/1.014, allocations: 115.9 kB / 1.232 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005029/1.014, allocations: 299 kB / 1.232 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of Backend: time 7.21e-07/1.014, allocations: 0 / 1.232 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001012/1.015, allocations: 416 kB / 1.232 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001094/1.016, allocations: 0.9383 MB / 1.233 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of Templates: time 0.01085/1.027, allocations: 5.12 MB / 1.238 GB, free: 60 kB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches