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.001789/0.001789, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002136/0.002137, allocations: 193.9 kB / 16.14 MB, free: 6.711 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.48/1.48, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.723/2.723, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 63.89 kB / 0.8686 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6641/0.666, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003261/0.6694, allocations: 1.578 MB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.6709, allocations: 0.5891 MB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.801e-05/0.671, allocations: 4 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.6711, allocations: 3.938 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.6712, allocations: 27.84 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007536/0.672, allocations: 279.4 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004886/0.6725, allocations: 447.5 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.6726, allocations: 8 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004279/0.673, allocations: 310.9 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.6733, allocations: 163.2 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.203e-05/0.6734, allocations: 15.94 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.098e-05/0.6735, allocations: 16 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.6736, allocations: 107.7 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.6739, allocations: 182.8 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005081/0.6744, allocations: 420.5 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6744, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6744, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.6744, allocations: 0 / 1.021 GB, free: 14.65 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.001434/0.6759, allocations: 0.8703 MB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.6759, allocations: 12.03 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.6761, allocations: 52.45 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/0.6765, allocations: 310.2 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.167e-05/0.6766, allocations: 24.3 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.402e-05/0.6767, allocations: 28.36 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.6778, allocations: 210 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.6778, allocations: 4.172 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.6779, allocations: 7.922 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.6779, allocations: 4 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008617/0.6787, allocations: 107.8 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000508/0.6793, allocations: 389.2 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.6804, allocations: 178.5 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008648/0.6813, allocations: 112.8 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.6814, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/0.6825, allocations: 221.8 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 4.288e-06/0.6825, allocations: 4 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002873/0.6854, allocations: 488.7 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.6854, allocations: 63.39 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004802/0.6859, allocations: 413.8 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.763e-05/0.686, allocations: 41.69 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.6861, allocations: 89.45 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.6862, allocations: 39.53 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.6864, allocations: 133.3 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6865, allocations: 318.8 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.6868, allocations: 123.9 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.6872, allocations: 173.9 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.6876, allocations: 279.3 kB / 1.025 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.6876, allocations: 0 / 1.025 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008826/0.6885, allocations: 496.5 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.6886, allocations: 91.31 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.6886, allocations: 7.938 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.6886, allocations: 8.188 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.6888, allocations: 15.98 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.6889, allocations: 4 kB / 1.026 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005518/0.6894, allocations: 67.72 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.384e-05/0.6895, allocations: 59.98 kB / 1.026 GB, free: 8.961 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.0002716/0.6898, allocations: 188 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.6899, allocations: 39.47 kB / 1.026 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.61e-05/0.69, allocations: 47.73 kB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.69, allocations: 0 / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.69, allocations: 0 / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.69, allocations: 0 / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.6924, allocations: 0.7402 MB / 1.027 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.6924, allocations: 3.984 kB / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.695e-05/0.6925, allocations: 7.938 kB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.6925, allocations: 0 / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.6925, allocations: 23.97 kB / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.6925, allocations: 3.938 kB / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.6925, allocations: 3.984 kB / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.6944, allocations: 476.7 kB / 1.027 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.6947, allocations: 208.4 kB / 1.028 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.857e-05/0.6948, allocations: 8 kB / 1.028 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005147/0.6953, allocations: 31.97 kB / 1.028 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.6954, allocations: 7.984 kB / 1.028 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.63e-05/0.6955, allocations: 63.97 kB / 1.028 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003334/0.6958, allocations: 295.1 kB / 1.028 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6958, allocations: 0 / 1.028 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003962/0.6962, allocations: 67.98 kB / 1.028 GB, free: 6.672 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.0001917/0.6964, allocations: 123.7 kB / 1.028 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001437/0.6979, allocations: 442.4 kB / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6979, allocations: 0 / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008574/0.6987, allocations: 121.5 kB / 1.029 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.6992, allocations: 41.41 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.7009, allocations: 0.6624 MB / 1.029 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.7014, allocations: 0.7675 MB / 1.03 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.185e-05/0.7015, allocations: 13.09 kB / 1.03 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.7015, allocations: 23.42 kB / 1.03 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of SimCode: time 5.51e-07/0.7015, allocations: 0 / 1.03 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of Templates: time 0.01045/0.712, allocations: 4.962 MB / 1.035 GB, free: 15.35 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=400 -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