Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 110.1 kB / 16.42 MB, free: 6.453 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.0017/0.0017, 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.457/1.457, allocations: 222.9 MB / 241.1 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.649/2.649, allocations: 469.4 MB / 0.7428 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 59.91 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.063, allocations: 159.1 MB / 1.221 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.004284/1.067, allocations: 1.519 MB / 1.222 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00179/1.069, allocations: 0.5493 MB / 1.223 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/1.069, allocations: 0 / 1.223 GB, free: 304 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001635/1.069, allocations: 11.92 kB / 1.223 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001909/1.069, allocations: 23.86 kB / 1.223 GB, free: 268 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001265/1.071, allocations: 319.3 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007262/1.071, allocations: 0.4955 MB / 1.224 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.496e-05/1.071, allocations: 7.984 kB / 1.224 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005774/1.072, allocations: 279.6 kB / 1.224 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000398/1.072, allocations: 151.4 kB / 1.224 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001387/1.073, allocations: 24 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/1.073, allocations: 31.94 kB / 1.224 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/1.073, allocations: 111.7 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002307/1.073, allocations: 187 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000477/1.074, allocations: 416.5 kB / 1.225 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.074, allocations: 3.938 kB / 1.225 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.964e-06/1.074, allocations: 0 / 1.225 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.82e-05/1.074, allocations: 0 / 1.225 GB, free: 14.27 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.001387/1.075, allocations: 0.8665 MB / 1.226 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/1.075, allocations: 12.62 kB / 1.226 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/1.075, allocations: 52.45 kB / 1.226 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/1.076, allocations: 306.2 kB / 1.226 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.101e-05/1.076, allocations: 16.36 kB / 1.226 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.182e-05/1.076, allocations: 28.36 kB / 1.226 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/1.077, allocations: 219.8 kB / 1.226 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.077, allocations: 192 / 1.226 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/1.077, allocations: 7.922 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/1.077, allocations: 4 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000813/1.078, allocations: 95.92 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/1.078, allocations: 389.2 kB / 1.227 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/1.079, allocations: 190.3 kB / 1.227 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007871/1.08, allocations: 108.8 kB / 1.227 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/1.08, allocations: 7.984 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/1.081, allocations: 223.2 kB / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.954e-06/1.081, allocations: 0 / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.002672/1.084, allocations: 484.8 kB / 1.228 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/1.084, allocations: 63.34 kB / 1.228 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/1.084, allocations: 417.8 kB / 1.228 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.104e-05/1.084, allocations: 41.64 kB / 1.228 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.101e-05/1.085, allocations: 93.44 kB / 1.228 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.487e-05/1.085, allocations: 39.55 kB / 1.228 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/1.085, allocations: 125.3 kB / 1.228 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.085, allocations: 322.8 kB / 1.229 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/1.085, allocations: 119.9 kB / 1.229 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/1.086, allocations: 177.9 kB / 1.229 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/1.086, allocations: 279.4 kB / 1.229 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.086, allocations: 4 kB / 1.229 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007812/1.087, allocations: 482.1 kB / 1.23 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.532e-05/1.087, allocations: 87.38 kB / 1.23 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.087, allocations: 3.938 kB / 1.23 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/1.087, allocations: 4 kB / 1.23 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/1.087, allocations: 27.91 kB / 1.23 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/1.087, allocations: 4.188 kB / 1.23 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/1.088, allocations: 59.8 kB / 1.23 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.029e-05/1.088, allocations: 63.92 kB / 1.23 GB, free: 8.598 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.0002489/1.088, allocations: 200.5 kB / 1.23 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/1.088, allocations: 35.53 kB / 1.23 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.859e-05/1.088, allocations: 47.69 kB / 1.23 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/1.088, allocations: 0 / 1.23 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.088, allocations: 0 / 1.23 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002946/1.088, allocations: 200.5 kB / 1.231 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.268e-05/1.088, allocations: 12 kB / 1.231 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/1.089, allocations: 27.97 kB / 1.231 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/1.089, allocations: 7.984 kB / 1.231 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001791/1.091, allocations: 431 kB / 1.231 GB, free: 7.629 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001826/1.093, allocations: 0.541 MB / 1.232 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007645/1.093, allocations: 114.4 kB / 1.232 GB, free: 6.961 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003293/1.094, allocations: 295.1 kB / 1.232 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of Backend: time 5.11e-07/1.094, allocations: 4 kB / 1.232 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009018/1.095, allocations: 413 kB / 1.232 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001159/1.096, allocations: 0.9422 MB / 1.233 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of Templates: time 0.0101/1.106, allocations: 5.056 MB / 1.238 GB, free: 104 kB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches