Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 210.6 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.342/3.342, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 72.81 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3316, allocations: 181.8 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003099/0.3347, allocations: 1.533 MB / 1.366 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.3361, allocations: 0.5346 MB / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.459e-05/0.3362, allocations: 0 / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.991e-05/0.3363, allocations: 7.875 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.3364, allocations: 27.64 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009115/0.3373, allocations: 317 kB / 1.367 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006499/0.338, allocations: 487.5 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.338, allocations: 4 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005354/0.3385, allocations: 283.6 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.3389, allocations: 132.2 kB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.339, allocations: 24 kB / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.573e-05/0.3391, allocations: 28 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.3392, allocations: 119.6 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.3394, allocations: 155.3 kB / 1.368 GB, free: 9.961 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.3399, allocations: 430.4 kB / 1.369 GB, free: 9.539 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3399, allocations: 4 kB / 1.369 GB, free: 9.535 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3399, allocations: 0 / 1.369 GB, free: 9.535 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.3399, allocations: 0 / 1.369 GB, free: 9.535 MB / 1.061 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.001357/0.3413, allocations: 0.7911 MB / 1.369 GB, free: 8.672 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3413, allocations: 12.03 kB / 1.369 GB, free: 8.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.3414, allocations: 48.7 kB / 1.369 GB, free: 8.613 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.3419, allocations: 268.6 kB / 1.37 GB, free: 8.328 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/0.342, allocations: 20.36 kB / 1.37 GB, free: 8.309 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.876e-05/0.342, allocations: 24.38 kB / 1.37 GB, free: 8.285 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000947/0.343, allocations: 216.6 kB / 1.37 GB, free: 8.07 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.343, allocations: 192 / 1.37 GB, free: 8.07 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.343, allocations: 7.938 kB / 1.37 GB, free: 8.062 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.343, allocations: 0 / 1.37 GB, free: 8.062 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007361/0.3438, allocations: 107.8 kB / 1.37 GB, free: 7.957 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.3442, allocations: 277.1 kB / 1.37 GB, free: 7.656 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.3452, allocations: 162.6 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007438/0.3459, allocations: 104.8 kB / 1.37 GB, free: 7.383 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.346, allocations: 4 kB / 1.37 GB, free: 7.379 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009294/0.3469, allocations: 223.2 kB / 1.371 GB, free: 7.148 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.3469, allocations: 0 / 1.371 GB, free: 7.148 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002535/0.3494, allocations: 496.9 kB / 1.371 GB, free: 6.656 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.3495, allocations: 59.41 kB / 1.371 GB, free: 6.586 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/0.3499, allocations: 409.9 kB / 1.372 GB, free: 6.172 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.943e-05/0.35, allocations: 41.7 kB / 1.372 GB, free: 6.125 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/0.3501, allocations: 93.44 kB / 1.372 GB, free: 6.031 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/0.3502, allocations: 47.67 kB / 1.372 GB, free: 5.984 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.3503, allocations: 129.5 kB / 1.372 GB, free: 5.852 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3505, allocations: 322.8 kB / 1.372 GB, free: 5.527 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003349/0.3508, allocations: 191.3 kB / 1.372 GB, free: 5.328 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/0.3512, allocations: 245.8 kB / 1.373 GB, free: 5.055 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004084/0.3516, allocations: 282.7 kB / 1.373 GB, free: 4.746 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3516, allocations: 0 / 1.373 GB, free: 4.746 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001058/0.3527, allocations: 0.5485 MB / 1.373 GB, free: 4.168 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.431e-05/0.3528, allocations: 79.38 kB / 1.374 GB, free: 4.078 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3528, allocations: 0 / 1.374 GB, free: 4.078 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.3528, allocations: 7.938 kB / 1.374 GB, free: 4.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.3529, allocations: 27.92 kB / 1.374 GB, free: 4.043 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.353, allocations: 0 / 1.374 GB, free: 4.043 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.3534, allocations: 60.03 kB / 1.374 GB, free: 3.984 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.3535, allocations: 63.97 kB / 1.374 GB, free: 3.922 MB / 1.061 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.0002402/0.3538, allocations: 196.8 kB / 1.374 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/0.3538, allocations: 35.77 kB / 1.374 GB, free: 3.688 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.628e-05/0.3539, allocations: 47.61 kB / 1.374 GB, free: 3.645 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3539, allocations: 4 kB / 1.374 GB, free: 3.641 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3539, allocations: 4 kB / 1.374 GB, free: 3.637 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3539, allocations: 0 / 1.374 GB, free: 3.637 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.3561, allocations: 0.6763 MB / 1.375 GB, free: 2.922 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3561, allocations: 7.875 kB / 1.375 GB, free: 2.914 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.3562, allocations: 4 kB / 1.375 GB, free: 2.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3562, allocations: 7.984 kB / 1.375 GB, free: 2.902 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.3562, allocations: 19.98 kB / 1.375 GB, free: 2.883 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3562, allocations: 4 kB / 1.375 GB, free: 2.879 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3562, allocations: 3.938 kB / 1.375 GB, free: 2.875 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.3579, allocations: 475.5 kB / 1.375 GB, free: 2.395 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003296/0.3583, allocations: 145.5 kB / 1.375 GB, free: 2.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.06e-05/0.3583, allocations: 8 kB / 1.375 GB, free: 2.242 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/0.3588, allocations: 31.97 kB / 1.375 GB, free: 2.211 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.3588, allocations: 11.97 kB / 1.375 GB, free: 2.199 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.928e-05/0.3589, allocations: 51.98 kB / 1.375 GB, free: 2.148 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004198/0.3593, allocations: 299.1 kB / 1.376 GB, free: 1.855 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3593, allocations: 0 / 1.376 GB, free: 1.855 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000359/0.3597, allocations: 67.98 kB / 1.376 GB, free: 1.789 MB / 1.061 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.0001896/0.3599, allocations: 120.8 kB / 1.376 GB, free: 1.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.3612, allocations: 476.1 kB / 1.376 GB, free: 1.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3612, allocations: 0 / 1.376 GB, free: 1.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000766/0.362, allocations: 116.2 kB / 1.376 GB, free: 1.047 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.3623, allocations: 35.08 kB / 1.376 GB, free: 1.016 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.3639, allocations: 0.581 MB / 1.377 GB, free: 412 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.3641, allocations: 167 kB / 1.377 GB, free: 224 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.3641, allocations: 19.42 kB / 1.377 GB, free: 204 kB / 1.061 GB Notification: Performance of SimCode: time 4.21e-07/0.3641, allocations: 0 / 1.377 GB, free: 204 kB / 1.061 GB Notification: Performance of Templates: time 0.006602/0.3707, allocations: 3.687 MB / 1.381 GB, free: 12.47 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 11.430354515090585]