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.001925/0.001925, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002193/0.002193, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.502/1.502, allocations: 222.9 MB / 239.9 MB, free: 4.461 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.754/2.754, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.89 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6072/0.6092, allocations: 151.6 MB / 1.017 GB, free: 2.855 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002738/0.612, allocations: 1.578 MB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.6132, allocations: 0.5384 MB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.551e-05/0.6133, allocations: 0 / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.6134, allocations: 7.938 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.941e-05/0.6135, allocations: 23.91 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007044/0.6142, allocations: 286.6 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0005649/0.6148, allocations: 0.5111 MB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.019e-05/0.6149, allocations: 8 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004575/0.6153, allocations: 331 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.6156, allocations: 167.2 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.473e-05/0.6157, allocations: 31.94 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-05/0.6158, allocations: 28 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.6159, allocations: 119.6 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.6161, allocations: 194.8 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004488/0.6166, allocations: 436.6 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6166, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6166, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.6166, allocations: 0 / 1.021 GB, free: 14.61 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.001332/0.618, allocations: 0.8664 MB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.618, allocations: 12.03 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.6181, allocations: 52.41 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.6185, allocations: 306.2 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.3e-05/0.6186, allocations: 20.36 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.946e-05/0.6187, allocations: 28.38 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.6197, allocations: 214 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.6197, allocations: 192 / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.6198, allocations: 7.938 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.6198, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008424/0.6206, allocations: 107.9 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.6211, allocations: 385.2 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.6223, allocations: 182.4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008291/0.6231, allocations: 112.8 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.6232, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.6242, allocations: 223.2 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.694e-06/0.6242, allocations: 0 / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002743/0.627, allocations: 494.7 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.627, allocations: 59.39 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004302/0.6275, allocations: 413.8 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.727e-05/0.6275, allocations: 41.69 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.741e-05/0.6276, allocations: 101.4 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.6277, allocations: 27.56 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.6279, allocations: 133.3 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6281, allocations: 326.8 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.6283, allocations: 123.9 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.6287, allocations: 169.9 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.6291, allocations: 274.8 kB / 1.025 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.6291, allocations: 4 kB / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008918/0.63, allocations: 490.3 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.994e-05/0.6301, allocations: 101.5 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.6301, allocations: 4 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.6301, allocations: 7.938 kB / 1.026 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.6303, allocations: 19.97 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.6303, allocations: 11.88 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/0.6308, allocations: 59.8 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.713e-05/0.631, allocations: 59.98 kB / 1.026 GB, free: 8.934 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.0002257/0.6312, allocations: 188 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.6313, allocations: 47.45 kB / 1.026 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.736e-05/0.6313, allocations: 39.75 kB / 1.026 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.6313, allocations: 0 / 1.026 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6314, allocations: 0 / 1.026 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.6314, allocations: 0 / 1.026 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/0.6337, allocations: 0.748 MB / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.6337, allocations: 0 / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/0.6338, allocations: 4 kB / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.6338, allocations: 0 / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.6338, allocations: 27.91 kB / 1.027 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6338, allocations: 4 kB / 1.027 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6338, allocations: 0 / 1.027 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/0.6357, allocations: 479.8 kB / 1.028 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/0.636, allocations: 200.5 kB / 1.028 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.302e-05/0.6361, allocations: 11.94 kB / 1.028 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005093/0.6366, allocations: 31.95 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.6366, allocations: 8 kB / 1.028 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.21e-05/0.6367, allocations: 55.97 kB / 1.028 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003087/0.637, allocations: 295.1 kB / 1.028 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.637, allocations: 0 / 1.028 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004036/0.6374, allocations: 71.98 kB / 1.028 GB, free: 6.648 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.0001711/0.6376, allocations: 131.4 kB / 1.028 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00141/0.639, allocations: 450.8 kB / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.639, allocations: 384 / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000831/0.6399, allocations: 128.5 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.6403, allocations: 26.19 kB / 1.029 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.6419, allocations: 0.6647 MB / 1.03 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.6423, allocations: 0.7708 MB / 1.03 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.038e-05/0.6424, allocations: 13.08 kB / 1.03 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.6424, allocations: 15.44 kB / 1.03 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of SimCode: time 3.9e-07/0.6425, allocations: 0 / 1.03 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of Templates: time 0.01107/0.6535, allocations: 5.124 MB / 1.035 GB, free: 15.16 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