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.001073/0.001074, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001477/0.001477, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.3 MB / 240 MB, free: 5.316 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.852/2.852, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004006, allocations: 8 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9032/0.9037, allocations: 153.8 MB / 1.022 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002531/0.9063, allocations: 1.216 MB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.9078, allocations: 0.5268 MB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.9079, allocations: 0 / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.9081, allocations: 7.922 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.9082, allocations: 27.84 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.9092, allocations: 259.5 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000572/0.9098, allocations: 379.4 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.9099, allocations: 7.984 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007717/0.9107, allocations: 319.4 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005538/0.9113, allocations: 183.7 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002035/0.9115, allocations: 16 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.9116, allocations: 12 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002382/0.9119, allocations: 123.7 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.9121, allocations: 93.52 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.9126, allocations: 309.3 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.305e-05/0.9126, allocations: 4 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.286e-06/0.9126, allocations: 0 / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.073e-05/0.9127, allocations: 0 / 1.026 GB, free: 12.56 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.001446/0.9141, allocations: 0.7535 MB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.9142, allocations: 8.562 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.9144, allocations: 51.53 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.9148, allocations: 289.3 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.631e-05/0.9149, allocations: 19.92 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-05/0.915, allocations: 28 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009532/0.916, allocations: 225.4 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.916, allocations: 3.938 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.916, allocations: 0 / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.916, allocations: 4 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006775/0.9167, allocations: 111.9 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.9173, allocations: 397.1 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009426/0.9182, allocations: 198.4 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00066/0.9189, allocations: 120.8 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.9189, allocations: 0 / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000888/0.9198, allocations: 239.1 kB / 1.028 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 3.697e-06/0.9199, allocations: 3.984 kB / 1.028 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002318/0.9222, allocations: 0.5029 MB / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.9222, allocations: 67.33 kB / 1.029 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004696/0.9227, allocations: 401.9 kB / 1.029 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.042e-05/0.9228, allocations: 45.69 kB / 1.029 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.017e-05/0.9229, allocations: 97.34 kB / 1.029 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.321e-05/0.923, allocations: 35.55 kB / 1.029 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.923, allocations: 19.98 kB / 1.029 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.9232, allocations: 322.8 kB / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.9234, allocations: 119.9 kB / 1.03 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.9237, allocations: 173.9 kB / 1.03 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.924, allocations: 188.9 kB / 1.03 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.924, allocations: 0 / 1.03 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000797/0.9248, allocations: 488.6 kB / 1.03 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-05/0.9249, allocations: 88.62 kB / 1.031 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.9249, allocations: 7.984 kB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.925, allocations: 4.188 kB / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.9251, allocations: 27.92 kB / 1.031 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.9252, allocations: 7.953 kB / 1.031 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004743/0.9256, allocations: 71.67 kB / 1.031 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.748e-05/0.9257, allocations: 63.97 kB / 1.031 GB, free: 7.145 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002352/0.926, allocations: 192 kB / 1.031 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.9261, allocations: 39.53 kB / 1.031 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.167e-05/0.9261, allocations: 43.73 kB / 1.031 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.9261, allocations: 0 / 1.031 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.9262, allocations: 0 / 1.031 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.9262, allocations: 3.953 kB / 1.031 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.9282, allocations: 0.7637 MB / 1.032 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.9282, allocations: 8 kB / 1.032 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.9283, allocations: 3.984 kB / 1.032 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.9283, allocations: 4 kB / 1.032 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.9283, allocations: 19.98 kB / 1.032 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.9283, allocations: 7.891 kB / 1.032 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9283, allocations: 0 / 1.032 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.9299, allocations: 496.5 kB / 1.032 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.9301, allocations: 196.5 kB / 1.032 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.082e-05/0.9302, allocations: 11.98 kB / 1.032 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/0.9306, allocations: 35.97 kB / 1.032 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.9307, allocations: 15.94 kB / 1.033 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-05/0.9307, allocations: 59.98 kB / 1.033 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003047/0.9311, allocations: 295 kB / 1.033 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9311, allocations: 0 / 1.033 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000388/0.9315, allocations: 63.98 kB / 1.033 GB, free: 4.812 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001592/0.9316, allocations: 119.8 kB / 1.033 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00118/0.9328, allocations: 454.4 kB / 1.033 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.9328, allocations: 0 / 1.033 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000682/0.9335, allocations: 133.5 kB / 1.034 GB, free: 4.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.9339, allocations: 25.48 kB / 1.034 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.9354, allocations: 0.6595 MB / 1.034 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.9357, allocations: 0.7711 MB / 1.035 GB, free: 2.582 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.748e-05/0.9358, allocations: 17.06 kB / 1.035 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.9358, allocations: 11.44 kB / 1.035 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.9358, allocations: 4 kB / 1.035 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of Templates: time 0.009519/0.9454, allocations: 4.838 MB / 1.04 GB, free: 13.62 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=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/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