Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Utilities.Time.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_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.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_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001973/0.001974, allocations: 195.6 kB / 16.14 MB, free: 6.633 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.488/1.488, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.003/3.003, allocations: 437 MB / 0.71 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003196/0.003196, allocations: 67.89 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6977/0.7009, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002815/0.7037, allocations: 1.59 MB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.7051, allocations: 0.583 MB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.7051, allocations: 0 / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.859e-05/0.7052, allocations: 3.938 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.7054, allocations: 27.91 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000689/0.7061, allocations: 288.6 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000483/0.7065, allocations: 443.4 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.392e-05/0.7066, allocations: 11.98 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004289/0.707, allocations: 303 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.7073, allocations: 171.2 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.687e-05/0.7074, allocations: 16 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.705e-05/0.7075, allocations: 16 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.7077, allocations: 107.6 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002531/0.7079, allocations: 182.8 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004658/0.7084, allocations: 420.4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.7084, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7084, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.7084, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 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.001331/0.7098, allocations: 0.8665 MB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.7098, allocations: 16.03 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.71, allocations: 52.41 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.7104, allocations: 310.2 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/0.7104, allocations: 20.36 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.359e-05/0.7105, allocations: 28.36 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.7117, allocations: 206 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.7117, allocations: 192 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.7117, allocations: 7.938 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.7117, allocations: 4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008766/0.7126, allocations: 107.8 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.7131, allocations: 385.2 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.7143, allocations: 184.1 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008721/0.7152, allocations: 112.8 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.7152, allocations: 7.922 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.7163, allocations: 219.2 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.654e-06/0.7163, allocations: 0 / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002839/0.7191, allocations: 495.2 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.7192, allocations: 59.41 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.7197, allocations: 413.8 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.049e-05/0.7197, allocations: 37.7 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.77e-05/0.7198, allocations: 101.4 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.7199, allocations: 35.55 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.7201, allocations: 133.3 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.7203, allocations: 322.8 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.7205, allocations: 123.9 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.7209, allocations: 169.9 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.7213, allocations: 278.8 kB / 1.025 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.7213, allocations: 4 kB / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008994/0.7222, allocations: 488.6 kB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-05/0.7223, allocations: 89.19 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.7223, allocations: 4 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.7223, allocations: 7.984 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.7225, allocations: 23.92 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.7226, allocations: 4 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005577/0.7231, allocations: 67.92 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-05/0.7232, allocations: 59.97 kB / 1.026 GB, free: 8.953 MB / 0.7794 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.0002328/0.7235, allocations: 192 kB / 1.026 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/0.7235, allocations: 39.47 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.676e-05/0.7236, allocations: 39.75 kB / 1.026 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.7236, allocations: 4 kB / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7236, allocations: 3.984 kB / 1.026 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.7236, allocations: 0 / 1.026 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.726, allocations: 0.7442 MB / 1.027 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.7261, allocations: 4 kB / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.7261, allocations: 4 kB / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.7261, allocations: 3.984 kB / 1.027 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/0.7262, allocations: 19.98 kB / 1.027 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.7262, allocations: 0 / 1.027 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7262, allocations: 3.938 kB / 1.027 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.7281, allocations: 480.5 kB / 1.027 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002622/0.7284, allocations: 196.5 kB / 1.028 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.001e-05/0.7284, allocations: 19.97 kB / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005048/0.729, allocations: 27.97 kB / 1.028 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.729, allocations: 11.98 kB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.388e-05/0.7291, allocations: 59.92 kB / 1.028 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003193/0.7294, allocations: 299 kB / 1.028 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7294, allocations: 0 / 1.028 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003617/0.7298, allocations: 67.98 kB / 1.028 GB, free: 6.66 MB / 0.7794 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.000155/0.7299, allocations: 126.7 kB / 1.028 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.7313, allocations: 442.4 kB / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7313, allocations: 0 / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008364/0.7322, allocations: 124.7 kB / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.7326, allocations: 29.86 kB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.7342, allocations: 0.6624 MB / 1.029 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.7346, allocations: 0.7672 MB / 1.03 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.507e-05/0.7347, allocations: 13.08 kB / 1.03 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.7348, allocations: 19.44 kB / 1.03 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of SimCode: time 5.11e-07/0.7348, allocations: 0 / 1.03 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of Templates: time 0.00952/0.7443, allocations: 4.974 MB / 1.035 GB, free: 15.33 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches