Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.CalendarTimeMonthsMinus,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.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_10_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.001397/0.001397, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001736/0.001736, allocations: 192.3 kB / 16.13 MB, free: 6.703 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 / 239.8 MB, free: 4.633 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.623/2.623, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 75.86 kB / 0.8685 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6892/0.6905, allocations: 151.6 MB / 1.017 GB, free: 2.965 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00286/0.6934, allocations: 1.586 MB / 1.018 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.6947, allocations: 0.5775 MB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.397e-05/0.6948, allocations: 4 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.6949, allocations: 7.938 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.6951, allocations: 19.92 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007416/0.6958, allocations: 285.7 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0004675/0.6963, allocations: 451.3 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.432e-05/0.6964, allocations: 4 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005089/0.6969, allocations: 303 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.6972, allocations: 171.1 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.6974, allocations: 12 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.852e-05/0.6975, allocations: 16 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.6976, allocations: 115.6 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.6979, allocations: 186.8 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004998/0.6984, allocations: 416.6 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.6984, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6984, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.6984, allocations: 0 / 1.021 GB, free: 14.84 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.001998/0.7004, allocations: 0.8704 MB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/0.7005, allocations: 8.031 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.7007, allocations: 52.47 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005237/0.7012, allocations: 310.2 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.422e-05/0.7013, allocations: 20.36 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.542e-05/0.7014, allocations: 28.36 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.7025, allocations: 209.9 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.7025, allocations: 192 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.032e-05/0.7026, allocations: 11.92 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.7026, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007962/0.7034, allocations: 95.92 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.7038, allocations: 397.2 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.7049, allocations: 174.5 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008087/0.7057, allocations: 112.8 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.7058, allocations: 7.938 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.7068, allocations: 227 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.214e-06/0.7068, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002813/0.7096, allocations: 487.3 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.7097, allocations: 59.41 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004286/0.7101, allocations: 413.8 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.969e-05/0.7102, allocations: 41.69 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.961e-05/0.7103, allocations: 93.45 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/0.7103, allocations: 43.53 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.7105, allocations: 129.3 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.7107, allocations: 326.8 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.7109, allocations: 123.9 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.7112, allocations: 165.9 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/0.7116, allocations: 283 kB / 1.025 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.7116, allocations: 0 / 1.025 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008076/0.7124, allocations: 0.4905 MB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.509e-05/0.7125, allocations: 93.66 kB / 1.026 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.7126, allocations: 0 / 1.026 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.7126, allocations: 4 kB / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.7128, allocations: 19.92 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.7128, allocations: 4 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005261/0.7133, allocations: 71.91 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.067e-05/0.7134, allocations: 55.98 kB / 1.026 GB, free: 9.156 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.0002163/0.7136, allocations: 196.5 kB / 1.026 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.7137, allocations: 39.47 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.484e-05/0.7137, allocations: 43.72 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.7138, allocations: 0 / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.7138, allocations: 0 / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.7138, allocations: 8 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.716, allocations: 0.7363 MB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.7161, allocations: 0 / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.7161, allocations: 11.98 kB / 1.027 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.7161, allocations: 0 / 1.027 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/0.7162, allocations: 23.97 kB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.7162, allocations: 4 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7162, allocations: 0 / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.718, allocations: 472.4 kB / 1.027 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.7183, allocations: 200.5 kB / 1.028 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.7184, allocations: 12 kB / 1.028 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004978/0.7189, allocations: 32.97 kB / 1.028 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.7189, allocations: 11.92 kB / 1.028 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.771e-05/0.719, allocations: 67.97 kB / 1.028 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003275/0.7194, allocations: 295 kB / 1.028 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.513e-06/0.7194, allocations: 0 / 1.028 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003855/0.7198, allocations: 67.94 kB / 1.028 GB, free: 6.863 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.0001512/0.7199, allocations: 119.2 kB / 1.028 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.7213, allocations: 454.4 kB / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7213, allocations: 0 / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007914/0.7221, allocations: 113.2 kB / 1.029 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.7225, allocations: 32.48 kB / 1.029 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.7241, allocations: 0.6627 MB / 1.029 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.7246, allocations: 0.775 MB / 1.03 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.504e-05/0.7247, allocations: 9.094 kB / 1.03 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.7247, allocations: 19.42 kB / 1.03 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of SimCode: time 1.433e-06/0.7247, allocations: 0 / 1.03 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of Templates: time 0.01079/0.7355, allocations: 4.968 MB / 1.035 GB, free: 15.54 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches