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.001967/0.001967, 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.001836/0.001836, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.458/1.458, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.822/2.822, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002926/0.002926, allocations: 63.89 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6158/0.6187, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002668/0.6214, allocations: 1.586 MB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.6226, allocations: 0.5358 MB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.083e-05/0.6227, allocations: 4 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 8.851e-05/0.6228, allocations: 3.938 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.874e-05/0.6229, allocations: 27.91 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007082/0.6236, allocations: 283.2 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0005686/0.6242, allocations: 0.5072 MB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.6243, allocations: 4 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004743/0.6248, allocations: 339 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.625, allocations: 167.2 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.831e-05/0.6251, allocations: 28 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-05/0.6252, allocations: 28 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.6253, allocations: 119.6 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.6256, allocations: 194.8 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004583/0.626, allocations: 436.4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.626, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6261, allocations: 3.938 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.6261, allocations: 0 / 1.021 GB, free: 14.48 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.001292/0.6274, allocations: 0.8704 MB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.6274, allocations: 8.031 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.6275, allocations: 48.47 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.6279, allocations: 314.2 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.835e-05/0.628, allocations: 16.38 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.183e-05/0.6281, allocations: 24.36 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.6291, allocations: 210 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.6292, allocations: 8.188 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.6292, allocations: 7.938 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.6292, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008321/0.6301, allocations: 99.86 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.6305, allocations: 397.2 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.6317, allocations: 178.4 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008049/0.6325, allocations: 108.8 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.6325, allocations: 7.938 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.6335, allocations: 225.6 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.6336, allocations: 0 / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002664/0.6362, allocations: 488.8 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.6363, allocations: 59.39 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.6367, allocations: 413.8 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.552e-05/0.6368, allocations: 45.69 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.6369, allocations: 97.44 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.637, allocations: 35.55 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.6372, allocations: 129.3 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6373, allocations: 326.8 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.6376, allocations: 123.9 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.6379, allocations: 173.9 kB / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.6383, allocations: 271.4 kB / 1.025 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.6383, allocations: 4 kB / 1.025 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008909/0.6392, allocations: 496.5 kB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.83e-05/0.6393, allocations: 91.31 kB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.6394, allocations: 0 / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.6394, allocations: 4 kB / 1.026 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.6396, allocations: 19.98 kB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.6396, allocations: 11.92 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005393/0.6401, allocations: 67.92 kB / 1.026 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.331e-05/0.6402, allocations: 59.98 kB / 1.026 GB, free: 8.793 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.0002493/0.6405, allocations: 188 kB / 1.026 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/0.6406, allocations: 47.39 kB / 1.026 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.457e-05/0.6406, allocations: 39.75 kB / 1.026 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6406, allocations: 4 kB / 1.026 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6407, allocations: 0 / 1.026 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6407, allocations: 4 kB / 1.026 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.643, allocations: 0.7415 MB / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.643, allocations: 0 / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.6431, allocations: 7.938 kB / 1.027 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.6431, allocations: 0 / 1.027 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.093e-05/0.6431, allocations: 19.97 kB / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.6432, allocations: 4 kB / 1.027 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6432, allocations: 0 / 1.027 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.6451, allocations: 474.7 kB / 1.028 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002795/0.6453, allocations: 200.5 kB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.632e-05/0.6454, allocations: 11.94 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005227/0.646, allocations: 27.97 kB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.646, allocations: 19.97 kB / 1.028 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.781e-05/0.6461, allocations: 59.97 kB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003147/0.6464, allocations: 291.1 kB / 1.028 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.014e-06/0.6464, allocations: 4 kB / 1.028 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003904/0.6468, allocations: 71.92 kB / 1.028 GB, free: 6.504 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.0001566/0.647, allocations: 120.7 kB / 1.028 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001385/0.6484, allocations: 458.8 kB / 1.029 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6484, allocations: 0 / 1.029 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008361/0.6492, allocations: 120.4 kB / 1.029 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.6496, allocations: 32.2 kB / 1.029 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.6512, allocations: 0.6686 MB / 1.03 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.6516, allocations: 0.7669 MB / 1.03 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.572e-05/0.6517, allocations: 13.08 kB / 1.03 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.6518, allocations: 15.44 kB / 1.03 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.6518, allocations: 0 / 1.03 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of Templates: time 0.009737/0.6615, allocations: 5.128 MB / 1.035 GB, free: 15.02 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=400 -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