Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,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.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001714, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.398 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 2.575/2.575, allocations: 437 MB / 0.7104 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.89 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6646/0.6658, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002989/0.6688, allocations: 1.513 MB / 1.019 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.6701, allocations: 0.5402 MB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/0.6701, allocations: 0 / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.97e-05/0.6702, allocations: 7.875 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.6704, allocations: 23.86 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006812/0.6711, allocations: 315.2 kB / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.6715, allocations: 0.5034 MB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.63e-05/0.6716, allocations: 11.98 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000304/0.6719, allocations: 271.5 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.6721, allocations: 143.6 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.333e-05/0.6722, allocations: 24 kB / 1.021 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.422e-05/0.6723, allocations: 28 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.6725, allocations: 111.6 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.6727, allocations: 187 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.673, allocations: 424.9 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6731, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6731, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.6731, allocations: 0 / 1.021 GB, free: 14.59 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.001151/0.6742, allocations: 0.8664 MB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.6743, allocations: 12.03 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.6744, allocations: 52.45 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.6748, allocations: 318.1 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.6748, allocations: 20.38 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-05/0.6749, allocations: 24.36 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009692/0.6759, allocations: 210 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.6759, allocations: 192 / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.6759, allocations: 11.94 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.6759, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000777/0.6767, allocations: 103.9 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.6772, allocations: 389.2 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.6783, allocations: 178.4 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007632/0.679, allocations: 113.2 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.6791, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000945/0.68, allocations: 233.4 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.68, allocations: 0 / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002495/0.6825, allocations: 488.7 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.6826, allocations: 59.39 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.683, allocations: 413.8 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.21e-05/0.683, allocations: 41.69 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.388e-05/0.6831, allocations: 93.45 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.6832, allocations: 43.47 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.6834, allocations: 129.3 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.6835, allocations: 330.8 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.6838, allocations: 123.9 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/0.6841, allocations: 161.9 kB / 1.025 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.6844, allocations: 279 kB / 1.026 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.6844, allocations: 4 kB / 1.026 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007846/0.6852, allocations: 494.5 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.162e-05/0.6853, allocations: 95.31 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.6853, allocations: 0 / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.6854, allocations: 4 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.6855, allocations: 23.92 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.6855, allocations: 4 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004786/0.686, allocations: 71.66 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.759e-05/0.6861, allocations: 64.02 kB / 1.026 GB, free: 8.898 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.000196/0.6863, allocations: 192.6 kB / 1.027 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.6864, allocations: 43.47 kB / 1.027 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.173e-05/0.6864, allocations: 43.73 kB / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.6864, allocations: 0 / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6864, allocations: 3.938 kB / 1.027 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.6865, allocations: 0 / 1.027 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.6886, allocations: 0.7494 MB / 1.027 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6886, allocations: 0 / 1.027 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.6886, allocations: 4 kB / 1.027 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6886, allocations: 0 / 1.027 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.6887, allocations: 23.97 kB / 1.027 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.6887, allocations: 0 / 1.027 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.6887, allocations: 7.938 kB / 1.027 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.6904, allocations: 475.7 kB / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/0.6906, allocations: 200.5 kB / 1.028 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.689e-05/0.6907, allocations: 8 kB / 1.028 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.6912, allocations: 31.97 kB / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.6912, allocations: 7.984 kB / 1.028 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-05/0.6913, allocations: 59.97 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000258/0.6916, allocations: 291.1 kB / 1.029 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6916, allocations: 0 / 1.029 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003511/0.6919, allocations: 75.98 kB / 1.029 GB, free: 6.613 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.0001397/0.6921, allocations: 111.8 kB / 1.029 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.6934, allocations: 455.2 kB / 1.029 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.6934, allocations: 4.375 kB / 1.029 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007559/0.6941, allocations: 111.9 kB / 1.029 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.6945, allocations: 34.59 kB / 1.029 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.696, allocations: 0.5535 MB / 1.03 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.6963, allocations: 0.7708 MB / 1.031 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.746e-05/0.6964, allocations: 13.08 kB / 1.031 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.6964, allocations: 15.44 kB / 1.031 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of SimCode: time 2.034e-06/0.6964, allocations: 0 / 1.031 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of Templates: time 0.008629/0.7051, allocations: 4.97 MB / 1.035 GB, free: 15.41 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches