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.001389/0.001389, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001305/0.001305, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.489/1.489, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.498/2.498, allocations: 437 MB / 0.711 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 69.19 kB / 0.8699 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3182, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003277/0.3215, allocations: 1.518 MB / 1.019 GB, free: 9.09 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.323, allocations: 0.5437 MB / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.604e-05/0.3231, allocations: 0 / 1.02 GB, free: 8.547 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.3232, allocations: 11.86 kB / 1.02 GB, free: 8.535 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.3234, allocations: 27.84 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009516/0.3244, allocations: 311.7 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006109/0.325, allocations: 0.5072 MB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.824e-05/0.325, allocations: 8 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004237/0.3255, allocations: 267.7 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.3258, allocations: 135.6 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.3259, allocations: 28 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.3261, allocations: 24 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.3262, allocations: 115.7 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.3264, allocations: 191 kB / 1.022 GB, free: 6.945 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004616/0.3269, allocations: 422.9 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.3269, allocations: 7.938 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3269, allocations: 0 / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.327, allocations: 4 kB / 1.022 GB, free: 6.52 MB / 0.795 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.001451/0.3284, allocations: 0.8626 MB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.3285, allocations: 8.922 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.3286, allocations: 52.47 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.3291, allocations: 314.1 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.343e-05/0.3291, allocations: 16.36 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-05/0.3292, allocations: 36.36 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.3304, allocations: 206 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3305, allocations: 192 / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.3305, allocations: 7.938 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3305, allocations: 3.938 kB / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009852/0.3315, allocations: 103.9 kB / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.3321, allocations: 385.3 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.3333, allocations: 174.6 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008639/0.3342, allocations: 108.8 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.3343, allocations: 11.97 kB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/0.3354, allocations: 227 kB / 1.024 GB, free: 3.828 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.3354, allocations: 0 / 1.024 GB, free: 3.828 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.003035/0.3384, allocations: 487.2 kB / 1.025 GB, free: 3.348 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.3385, allocations: 59.39 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004901/0.339, allocations: 417.8 kB / 1.025 GB, free: 2.867 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.118e-05/0.3391, allocations: 41.69 kB / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.3392, allocations: 97.44 kB / 1.025 GB, free: 2.719 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.3393, allocations: 35.55 kB / 1.025 GB, free: 2.684 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.3395, allocations: 125.3 kB / 1.026 GB, free: 2.555 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3397, allocations: 326.8 kB / 1.026 GB, free: 2.227 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.34, allocations: 127.8 kB / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/0.3403, allocations: 175.5 kB / 1.026 GB, free: 1.91 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/0.3408, allocations: 271.4 kB / 1.026 GB, free: 1.613 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.3408, allocations: 0 / 1.026 GB, free: 1.613 MB / 0.795 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009767/0.3418, allocations: 498.6 kB / 1.027 GB, free: 1.109 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.128e-05/0.3419, allocations: 95.34 kB / 1.027 GB, free: 1.004 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3419, allocations: 0 / 1.027 GB, free: 1.004 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3419, allocations: 4 kB / 1.027 GB, free: 1 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.3421, allocations: 23.97 kB / 1.027 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3421, allocations: 3.938 kB / 1.027 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006009/0.3428, allocations: 63.73 kB / 1.027 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.3429, allocations: 67.95 kB / 1.027 GB, free: 0.8438 MB / 0.795 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.0002576/0.3431, allocations: 196 kB / 1.027 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.3432, allocations: 39.47 kB / 1.027 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.085e-05/0.3433, allocations: 39.75 kB / 1.027 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.3433, allocations: 4 kB / 1.027 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.3433, allocations: 0 / 1.027 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3433, allocations: 3.984 kB / 1.027 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/0.346, allocations: 0.7402 MB / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.346, allocations: 4 kB / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.346, allocations: 7.938 kB / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3461, allocations: 4 kB / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/0.3461, allocations: 23.97 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3461, allocations: 0 / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3461, allocations: 0 / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.3482, allocations: 473.1 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.3485, allocations: 200.5 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.976e-05/0.3486, allocations: 15.98 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005585/0.3491, allocations: 23.97 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.3492, allocations: 15.98 kB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.3493, allocations: 51.98 kB / 1.029 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003489/0.3496, allocations: 295.1 kB / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3496, allocations: 0 / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004586/0.3501, allocations: 71.98 kB / 1.029 GB, free: 14.57 MB / 0.8106 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.0001745/0.3503, allocations: 123.1 kB / 1.029 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.3518, allocations: 450.4 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3518, allocations: 4.375 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009198/0.3528, allocations: 119.8 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.3532, allocations: 39.36 kB / 1.03 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.3551, allocations: 0.5924 MB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.3555, allocations: 0.7786 MB / 1.031 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.3555, allocations: 15.44 kB / 1.031 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3555, allocations: 0 / 1.031 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of Templates: time 0.007344/0.3629, allocations: 3.676 MB / 1.035 GB, free: 8.648 MB / 0.8106 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time