Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.CalendarTimeMonthsMinus,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.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_10_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.001677/0.001677, allocations: 108.6 kB / 16.41 MB, free: 6.504 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.001558/0.001558, allocations: 188 kB / 17.34 MB, free: 5.738 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.473/1.473, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.655/2.655, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 71.89 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9862/0.9881, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003906/0.9921, allocations: 1.529 MB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.9939, allocations: 0.5461 MB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.93e-05/0.9941, allocations: 0 / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.9942, allocations: 11.86 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.9945, allocations: 31.62 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.9957, allocations: 306.3 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007991/0.9965, allocations: 0.5072 MB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.855e-05/0.9966, allocations: 7.984 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004862/0.997, allocations: 279.6 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/0.9974, allocations: 140.2 kB / 1.171 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.547e-05/0.9975, allocations: 28 kB / 1.171 GB, free: 492 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-05/0.9976, allocations: 28 kB / 1.171 GB, free: 464 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.9978, allocations: 119.6 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002512/0.998, allocations: 179.1 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0006221/0.9987, allocations: 430.9 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.9987, allocations: 0 / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.062e-06/0.9987, allocations: 0 / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.9987, allocations: 3.938 kB / 1.171 GB, free: 15.74 MB / 0.9044 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.001885/1.001, allocations: 0.8743 MB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/1.001, allocations: 12.61 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/1.001, allocations: 52.7 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005474/1.001, allocations: 318.5 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.972e-05/1.001, allocations: 12.38 kB / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.612e-05/1.002, allocations: 32.34 kB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/1.003, allocations: 217.9 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/1.003, allocations: 192 / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/1.003, allocations: 7.938 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/1.003, allocations: 4 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007219/1.003, allocations: 92.55 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006179/1.004, allocations: 397.2 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009899/1.005, allocations: 174.5 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006999/1.006, allocations: 112.8 kB / 1.174 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/1.006, allocations: 0 / 1.174 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009516/1.007, allocations: 223.4 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/1.007, allocations: 0 / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002478/1.009, allocations: 489 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/1.009, allocations: 63.41 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/1.01, allocations: 417.8 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/1.01, allocations: 37.7 kB / 1.175 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.143e-05/1.01, allocations: 93.44 kB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/1.01, allocations: 47.67 kB / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/1.01, allocations: 121.5 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.01, allocations: 322.8 kB / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/1.011, allocations: 119.9 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/1.011, allocations: 178.4 kB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/1.011, allocations: 271.5 kB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.011, allocations: 0 / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008819/1.012, allocations: 494.9 kB / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.012, allocations: 91.31 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.012, allocations: 3.938 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/1.012, allocations: 8.172 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/1.013, allocations: 27.92 kB / 1.176 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/1.013, allocations: 0 / 1.176 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/1.013, allocations: 63.8 kB / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.12e-05/1.013, allocations: 55.98 kB / 1.177 GB, free: 10.05 MB / 0.9044 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.0002485/1.013, allocations: 204 kB / 1.177 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.109e-05/1.014, allocations: 43.64 kB / 1.177 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.734e-05/1.014, allocations: 35.75 kB / 1.177 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/1.014, allocations: 0 / 1.177 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.014, allocations: 0 / 1.177 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/1.014, allocations: 7.984 kB / 1.177 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/1.016, allocations: 0.75 MB / 1.178 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/1.016, allocations: 0 / 1.178 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-05/1.016, allocations: 4 kB / 1.178 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/1.016, allocations: 0 / 1.178 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/1.016, allocations: 27.97 kB / 1.178 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/1.016, allocations: 4 kB / 1.178 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.016, allocations: 0 / 1.178 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/1.018, allocations: 475.4 kB / 1.178 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/1.018, allocations: 200.7 kB / 1.178 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.51e-05/1.018, allocations: 12 kB / 1.178 GB, free: 8.211 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/1.018, allocations: 35.95 kB / 1.178 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/1.019, allocations: 7.984 kB / 1.178 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.084e-05/1.019, allocations: 59.98 kB / 1.178 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003445/1.019, allocations: 295 kB / 1.179 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.019, allocations: 0 / 1.179 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003824/1.019, allocations: 67.98 kB / 1.179 GB, free: 7.758 MB / 0.9044 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.0001797/1.02, allocations: 116.4 kB / 1.179 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001325/1.021, allocations: 452.8 kB / 1.179 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.021, allocations: 0 / 1.179 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007175/1.022, allocations: 116.3 kB / 1.179 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/1.022, allocations: 35.23 kB / 1.179 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/1.024, allocations: 0.5546 MB / 1.18 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/1.024, allocations: 0.7669 MB / 1.181 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.38e-05/1.024, allocations: 21.02 kB / 1.181 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/1.024, allocations: 15.44 kB / 1.181 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/1.024, allocations: 0 / 1.181 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of Templates: time 0.01068/1.035, allocations: 4.942 MB / 1.186 GB, free: 0.5742 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches