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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 443.4 MB / 0.7304 GB, free: 13.92 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.89 kB / 1.059 GB, free: 408 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3393, allocations: 160.7 MB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00271/0.342, allocations: 1.528 MB / 1.218 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.3433, allocations: 0.5525 MB / 1.218 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.796e-05/0.3434, allocations: 7.938 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.3435, allocations: 7.875 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.3436, allocations: 31.62 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000809/0.3444, allocations: 310.1 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000521/0.3449, allocations: 487.4 kB / 1.219 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.345, allocations: 8 kB / 1.219 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003777/0.3454, allocations: 279.6 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.3456, allocations: 147.6 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.604e-05/0.3457, allocations: 24 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.114e-05/0.3458, allocations: 28 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.3459, allocations: 119.6 kB / 1.22 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.3461, allocations: 183.1 kB / 1.22 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004781/0.3466, allocations: 418.4 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3466, allocations: 0 / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.133e-06/0.3466, allocations: 0 / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.3466, allocations: 4 kB / 1.22 GB, free: 11.27 MB / 0.9669 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.001507/0.3481, allocations: 0.8875 MB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3481, allocations: 12.03 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.3483, allocations: 48.7 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.3487, allocations: 322.5 kB / 1.221 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.344e-05/0.3487, allocations: 20.36 kB / 1.221 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.651e-05/0.3488, allocations: 24.36 kB / 1.221 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009604/0.3498, allocations: 213.6 kB / 1.222 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3498, allocations: 192 / 1.222 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.3498, allocations: 7.938 kB / 1.222 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3498, allocations: 4 kB / 1.222 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007163/0.3505, allocations: 99.91 kB / 1.222 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.351, allocations: 397.3 kB / 1.222 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.352, allocations: 166.4 kB / 1.222 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006952/0.3527, allocations: 104.8 kB / 1.222 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.3528, allocations: 0 / 1.222 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009447/0.3537, allocations: 223.2 kB / 1.223 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.3537, allocations: 4 kB / 1.223 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002506/0.3562, allocations: 493 kB / 1.223 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.3563, allocations: 63.34 kB / 1.223 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/0.3568, allocations: 405.9 kB / 1.223 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.773e-05/0.3568, allocations: 41.69 kB / 1.223 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/0.3569, allocations: 97.44 kB / 1.224 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.357, allocations: 43.62 kB / 1.224 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.3572, allocations: 133.5 kB / 1.224 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3574, allocations: 318.8 kB / 1.224 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.3576, allocations: 115.9 kB / 1.224 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/0.3579, allocations: 174.9 kB / 1.224 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.3583, allocations: 279.8 kB / 1.225 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3583, allocations: 0 / 1.225 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009285/0.3593, allocations: 484.7 kB / 1.225 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.54e-05/0.3594, allocations: 91.31 kB / 1.225 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3594, allocations: 4.188 kB / 1.225 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.3594, allocations: 8 kB / 1.225 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.3596, allocations: 23.92 kB / 1.225 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3596, allocations: 4 kB / 1.225 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004704/0.3601, allocations: 59.78 kB / 1.225 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.152e-05/0.3602, allocations: 63.98 kB / 1.225 GB, free: 5.59 MB / 0.9669 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.000239/0.3604, allocations: 192 kB / 1.225 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/0.3605, allocations: 43.69 kB / 1.226 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.214e-05/0.3605, allocations: 43.73 kB / 1.226 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3605, allocations: 4 kB / 1.226 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3605, allocations: 3.938 kB / 1.226 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3605, allocations: 0 / 1.226 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.3627, allocations: 0.75 MB / 1.226 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3627, allocations: 0 / 1.226 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.213e-05/0.3628, allocations: 7.984 kB / 1.226 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3628, allocations: 0 / 1.226 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.3628, allocations: 19.97 kB / 1.226 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.3628, allocations: 0 / 1.226 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3628, allocations: 0 / 1.226 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.3645, allocations: 480.9 kB / 1.227 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/0.3648, allocations: 208.7 kB / 1.227 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.189e-05/0.3649, allocations: 8 kB / 1.227 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/0.3653, allocations: 35.97 kB / 1.227 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.3654, allocations: 7.984 kB / 1.227 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.439e-05/0.3654, allocations: 59.97 kB / 1.227 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000332/0.3658, allocations: 295.1 kB / 1.227 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3658, allocations: 0 / 1.227 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000404/0.3662, allocations: 68 kB / 1.227 GB, free: 3.297 MB / 0.9669 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.0001837/0.3664, allocations: 115.2 kB / 1.228 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001354/0.3677, allocations: 410.4 kB / 1.228 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3677, allocations: 0 / 1.228 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007104/0.3684, allocations: 112.2 kB / 1.228 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.3688, allocations: 31.17 kB / 1.228 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.3704, allocations: 0.5511 MB / 1.229 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.3709, allocations: 0.7747 MB / 1.229 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.167e-05/0.371, allocations: 17.08 kB / 1.229 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.371, allocations: 15.42 kB / 1.229 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of SimCode: time 6.51e-07/0.371, allocations: 0 / 1.229 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of Templates: time 0.01038/0.3814, allocations: 4.993 MB / 1.234 GB, free: 12.11 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.182643722742796]