Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001668/0.001668, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001744/0.001744, allocations: 212 kB / 22.99 MB, free: 4.984 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.402/3.402, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002004/0.002004, allocations: 67.56 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3355, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002818/0.3383, allocations: 1.524 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.3396, allocations: 0.5267 MB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.3396, allocations: 7.938 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.65e-05/0.3397, allocations: 7.922 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001116/0.3398, allocations: 23.86 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008177/0.3407, allocations: 322.1 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005462/0.3412, allocations: 487.4 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.3413, allocations: 12 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000388/0.3416, allocations: 279.7 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.3419, allocations: 147.6 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.158e-05/0.342, allocations: 28 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-05/0.3421, allocations: 24 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.3423, allocations: 115.6 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.3425, allocations: 159.3 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004846/0.3429, allocations: 430.4 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3429, allocations: 4 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3429, allocations: 8 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.343, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 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.00138/0.3443, allocations: 0.7911 MB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.3444, allocations: 11.97 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.3445, allocations: 52.7 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004718/0.345, allocations: 260.7 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.207e-05/0.345, allocations: 12.38 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.092e-05/0.3451, allocations: 28.36 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.3462, allocations: 214 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3462, allocations: 192 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.3463, allocations: 11.88 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.3463, allocations: 4 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008787/0.3472, allocations: 91.92 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.3476, allocations: 285.1 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.3487, allocations: 174.3 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008507/0.3496, allocations: 100.8 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.3496, allocations: 8 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/0.3508, allocations: 219.2 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.923e-06/0.3508, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002934/0.3537, allocations: 498.8 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.3538, allocations: 55.41 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005047/0.3543, allocations: 413.9 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.939e-05/0.3543, allocations: 41.69 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.3544, allocations: 97.44 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.3545, allocations: 51.67 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.3547, allocations: 121.5 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3549, allocations: 326.8 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.3552, allocations: 187.3 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.3556, allocations: 245.2 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.356, allocations: 266.3 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.356, allocations: 4 kB / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009556/0.357, allocations: 0.5447 MB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.562e-05/0.3571, allocations: 89.41 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3571, allocations: 0 / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.958e-05/0.3571, allocations: 7.938 kB / 1.336 GB, free: 7.504 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.3573, allocations: 23.91 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3573, allocations: 4 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005572/0.3579, allocations: 67.97 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.358, allocations: 55.98 kB / 1.336 GB, free: 7.355 MB / 1.029 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.0002506/0.3582, allocations: 196.2 kB / 1.336 GB, free: 7.156 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.3583, allocations: 47.7 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.232e-05/0.3584, allocations: 39.62 kB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3584, allocations: 0 / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.3584, allocations: 0 / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3584, allocations: 4 kB / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.3608, allocations: 0.6781 MB / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.3608, allocations: 3.938 kB / 1.337 GB, free: 6.344 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/0.3609, allocations: 4 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3609, allocations: 4 kB / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.3609, allocations: 23.97 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3609, allocations: 0 / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3609, allocations: 0 / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/0.3629, allocations: 493.8 kB / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/0.3632, allocations: 133.5 kB / 1.338 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.3633, allocations: 19.98 kB / 1.338 GB, free: 5.664 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005362/0.3638, allocations: 30.97 kB / 1.338 GB, free: 5.637 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.3639, allocations: 7.984 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.787e-05/0.364, allocations: 63.91 kB / 1.338 GB, free: 5.566 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003285/0.3643, allocations: 295.1 kB / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3643, allocations: 0 / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003859/0.3647, allocations: 63.98 kB / 1.338 GB, free: 5.219 MB / 1.029 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.0001629/0.3648, allocations: 120 kB / 1.338 GB, free: 5.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001467/0.3663, allocations: 481.8 kB / 1.339 GB, free: 4.582 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3663, allocations: 0 / 1.339 GB, free: 4.582 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008618/0.3672, allocations: 116.2 kB / 1.339 GB, free: 4.469 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.3676, allocations: 29.58 kB / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.3692, allocations: 0.5431 MB / 1.339 GB, free: 3.871 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.3694, allocations: 167 kB / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.544e-05/0.3694, allocations: 13.09 kB / 1.34 GB, free: 3.672 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.3695, allocations: 19.42 kB / 1.34 GB, free: 3.656 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3695, allocations: 0 / 1.34 GB, free: 3.656 MB / 1.029 GB Notification: Performance of Templates: time 0.01204/0.3815, allocations: 6.082 MB / 1.346 GB, free: 13.52 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.1477808119962]