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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001194/0.001194, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001434/0.001434, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.793/2.793, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005276/0.0005278, allocations: 12 kB / 0.8708 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7619/0.7624, allocations: 153.6 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001722/0.7642, allocations: 1.184 MB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.7652, allocations: 396.7 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.532e-05/0.7653, allocations: 0 / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.85e-05/0.7654, allocations: 7.922 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.7655, allocations: 19.97 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007774/0.7663, allocations: 214.6 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.7665, allocations: 163.7 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.918e-05/0.7666, allocations: 8 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002896/0.7669, allocations: 163.7 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.7672, allocations: 131.7 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5e-05/0.7672, allocations: 8 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.916e-05/0.7673, allocations: 12 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.7674, allocations: 79.78 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.243e-05/0.7675, allocations: 65.58 kB / 1.023 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.7678, allocations: 209.5 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.7678, allocations: 4 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.026e-06/0.7678, allocations: 3.938 kB / 1.023 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.7678, allocations: 0 / 1.023 GB, free: 14.48 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.001113/0.7689, allocations: 0.6566 MB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.769, allocations: 11.98 kB / 1.024 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.7691, allocations: 39.62 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.7696, allocations: 250.6 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.239e-05/0.7697, allocations: 15.94 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.32e-05/0.7697, allocations: 24 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009591/0.7707, allocations: 207.1 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.7707, allocations: 0 / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.7707, allocations: 7.984 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.7708, allocations: 4 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007239/0.7715, allocations: 103.9 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.7719, allocations: 317.3 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009833/0.7729, allocations: 186.5 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.773, allocations: 7.953 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009073/0.7739, allocations: 237.6 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 3.206e-06/0.7739, allocations: 3.984 kB / 1.025 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.00236/0.7763, allocations: 473 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.7763, allocations: 63.39 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.7766, allocations: 290.9 kB / 1.026 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.7767, allocations: 37.7 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.158e-05/0.7768, allocations: 93.12 kB / 1.026 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.7768, allocations: 31.5 kB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.7768, allocations: 11.98 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.777, allocations: 322.8 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.7772, allocations: 91.94 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.7774, allocations: 141.8 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.7776, allocations: 147.4 kB / 1.027 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.7776, allocations: 7.953 kB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005986/0.7782, allocations: 386.3 kB / 1.027 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.784e-05/0.7783, allocations: 75.39 kB / 1.027 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.7783, allocations: 7.938 kB / 1.027 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.7783, allocations: 0 / 1.027 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.7785, allocations: 23.94 kB / 1.027 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.7785, allocations: 7.984 kB / 1.027 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.779, allocations: 71.84 kB / 1.028 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.7791, allocations: 43.98 kB / 1.028 GB, free: 9.848 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.7793, allocations: 168 kB / 1.028 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.7793, allocations: 23.72 kB / 1.028 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.7794, allocations: 26.3 kB / 1.028 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7794, allocations: 4 kB / 1.028 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.7794, allocations: 3.953 kB / 1.028 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7794, allocations: 3.938 kB / 1.028 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.7815, allocations: 0.7113 MB / 1.028 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.7815, allocations: 4 kB / 1.029 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.963e-05/0.7816, allocations: 4 kB / 1.029 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.7816, allocations: 0 / 1.029 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.7816, allocations: 23.92 kB / 1.029 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.7816, allocations: 3.938 kB / 1.029 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.7817, allocations: 4 kB / 1.029 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.7833, allocations: 467 kB / 1.029 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.7836, allocations: 152.7 kB / 1.029 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.025e-05/0.7836, allocations: 15.98 kB / 1.029 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004677/0.7841, allocations: 39.92 kB / 1.029 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.7842, allocations: 7.984 kB / 1.029 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-05/0.7842, allocations: 43.98 kB / 1.029 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001972/0.7844, allocations: 209.9 kB / 1.029 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7844, allocations: 0 / 1.029 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003506/0.7848, allocations: 51.98 kB / 1.029 GB, free: 7.805 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001493/0.785, allocations: 116.3 kB / 1.03 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.7861, allocations: 386.5 kB / 1.03 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7861, allocations: 0 / 1.03 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007519/0.7869, allocations: 138.8 kB / 1.03 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.7871, allocations: 12.64 kB / 1.03 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.7885, allocations: 0.4949 MB / 1.031 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.7888, allocations: 0.7543 MB / 1.031 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.814e-05/0.7888, allocations: 13.06 kB / 1.031 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/0.7889, allocations: 15.44 kB / 1.031 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.7889, allocations: 0 / 1.031 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of Templates: time 0.00679/0.7957, allocations: 3.487 MB / 1.035 GB, free: 2.344 MB / 0.7794 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","../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches