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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.01277/0.01277, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.002335/0.002335, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.456/1.456, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437 MB / 0.7106 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 71.89 kB / 0.8692 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6408/0.6423, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002724/0.645, allocations: 1.574 MB / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.6463, allocations: 0.5891 MB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.932e-05/0.6464, allocations: 0 / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.6465, allocations: 7.922 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.6466, allocations: 27.86 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006712/0.6473, allocations: 286.7 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003957/0.6477, allocations: 447.5 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/0.6478, allocations: 8 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003855/0.6482, allocations: 306.9 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.6484, allocations: 163.2 kB / 1.021 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.895e-05/0.6485, allocations: 12 kB / 1.021 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.398e-05/0.6486, allocations: 19.94 kB / 1.021 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.6488, allocations: 107.7 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.649, allocations: 182.8 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.6493, allocations: 309.4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.6493, allocations: 7.938 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.11e-07/0.6493, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.6493, allocations: 0 / 1.021 GB, free: 14.78 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.001186/0.6505, allocations: 0.8721 MB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.6505, allocations: 12.03 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.6507, allocations: 48.47 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.651, allocations: 314.1 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.726e-05/0.6511, allocations: 20.36 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.391e-05/0.6512, allocations: 32.36 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.6522, allocations: 206 kB / 1.023 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.6523, allocations: 192 / 1.023 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.483e-05/0.6523, allocations: 11.92 kB / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.6523, allocations: 0 / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008367/0.6531, allocations: 103.9 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.6536, allocations: 385.2 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.6547, allocations: 174.5 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008035/0.6555, allocations: 116.8 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.6556, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/0.6566, allocations: 223.2 kB / 1.024 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.6566, allocations: 0 / 1.024 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002726/0.6593, allocations: 491 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.6594, allocations: 59.41 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004159/0.6598, allocations: 413.8 kB / 1.025 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.649e-05/0.6599, allocations: 41.64 kB / 1.025 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/0.66, allocations: 97.44 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.66, allocations: 43.47 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.6602, allocations: 129.3 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.6604, allocations: 326.8 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.6607, allocations: 123.9 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.661, allocations: 165.9 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.6613, allocations: 283 kB / 1.026 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.6613, allocations: 4 kB / 1.026 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000809/0.6622, allocations: 488.8 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.426e-05/0.6623, allocations: 91.34 kB / 1.026 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.309e-06/0.6623, allocations: 4 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.6623, allocations: 4 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.6625, allocations: 23.92 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.6625, allocations: 7.984 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005329/0.663, allocations: 63.78 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.784e-05/0.6631, allocations: 59.92 kB / 1.026 GB, free: 9.098 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.0002253/0.6634, allocations: 200.5 kB / 1.027 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.6634, allocations: 43.47 kB / 1.027 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.51e-05/0.6635, allocations: 39.73 kB / 1.027 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.6635, allocations: 0 / 1.027 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6635, allocations: 0 / 1.027 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.6635, allocations: 0 / 1.027 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.6658, allocations: 0.7442 MB / 1.027 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.6658, allocations: 0 / 1.027 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/0.6659, allocations: 11.98 kB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.6659, allocations: 0 / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.6659, allocations: 19.98 kB / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.6659, allocations: 7.984 kB / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.6659, allocations: 3.938 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.6678, allocations: 476.6 kB / 1.028 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.668, allocations: 196.5 kB / 1.028 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.296e-05/0.6681, allocations: 15.98 kB / 1.028 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005033/0.6686, allocations: 27.97 kB / 1.028 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.6687, allocations: 7.984 kB / 1.028 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.628e-05/0.6688, allocations: 59.97 kB / 1.028 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002799/0.6691, allocations: 295.1 kB / 1.028 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6691, allocations: 0 / 1.028 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003748/0.6695, allocations: 68 kB / 1.029 GB, free: 6.809 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.0001725/0.6696, allocations: 123.9 kB / 1.029 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001355/0.671, allocations: 442.4 kB / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.671, allocations: 384 / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00083/0.6718, allocations: 128.5 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.6722, allocations: 39.98 kB / 1.029 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.6739, allocations: 0.7039 MB / 1.03 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.6743, allocations: 0.775 MB / 1.031 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.6743, allocations: 15.44 kB / 1.031 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.6743, allocations: 0 / 1.031 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of Templates: time 0.006301/0.6806, allocations: 3.682 MB / 1.034 GB, free: 0.7734 MB / 0.7794 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches