Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.001309/0.001309, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00156/0.00156, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.751/2.751, allocations: 476.8 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [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.002104/0.002104, allocations: 70.27 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4118, allocations: 169.9 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003977/0.4158, allocations: 1.565 MB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.4177, allocations: 0.5439 MB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.379e-05/0.4178, allocations: 4 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.4179, allocations: 7.938 kB / 1.287 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.4181, allocations: 35.78 kB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.4192, allocations: 305.2 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007663/0.42, allocations: 483.5 kB / 1.287 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.616e-05/0.4201, allocations: 7.938 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005644/0.4206, allocations: 291.6 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000429/0.4211, allocations: 151.6 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.4212, allocations: 28 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.914e-05/0.4213, allocations: 24 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.4214, allocations: 115.6 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002799/0.4217, allocations: 183.1 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006494/0.4224, allocations: 426.4 kB / 1.289 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.4224, allocations: 4 kB / 1.289 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4224, allocations: 0 / 1.289 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.4224, allocations: 0 / 1.289 GB, free: 7.094 MB / 0.9825 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.001727/0.4241, allocations: 0.8028 MB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.4242, allocations: 8.031 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.4244, allocations: 52.7 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005881/0.4249, allocations: 264.6 kB / 1.29 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.068e-05/0.425, allocations: 16.31 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.4251, allocations: 28.36 kB / 1.29 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.4264, allocations: 218 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4264, allocations: 192 / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-05/0.4265, allocations: 7.938 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4265, allocations: 0 / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.4275, allocations: 97.17 kB / 1.29 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006389/0.4281, allocations: 364.3 kB / 1.29 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.4295, allocations: 170.4 kB / 1.291 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000975/0.4305, allocations: 100.8 kB / 1.291 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.4305, allocations: 4 kB / 1.291 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001291/0.4318, allocations: 219.2 kB / 1.291 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.715e-06/0.4318, allocations: 4 kB / 1.291 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.003559/0.4354, allocations: 495.9 kB / 1.291 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/0.4354, allocations: 55.41 kB / 1.291 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007121/0.4361, allocations: 421.9 kB / 1.292 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.252e-05/0.4362, allocations: 37.7 kB / 1.292 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.4363, allocations: 93.44 kB / 1.292 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-05/0.4364, allocations: 51.61 kB / 1.292 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002984/0.4367, allocations: 125.4 kB / 1.292 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.4369, allocations: 326.8 kB / 1.292 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/0.4373, allocations: 115.9 kB / 1.293 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/0.4378, allocations: 171.2 kB / 1.293 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005832/0.4383, allocations: 275.3 kB / 1.293 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.4383, allocations: 4 kB / 1.293 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00126/0.4396, allocations: 488.7 kB / 1.293 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.4397, allocations: 91.31 kB / 1.294 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.4398, allocations: 4 kB / 1.294 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.4398, allocations: 0 / 1.294 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.44, allocations: 27.91 kB / 1.294 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.4401, allocations: 4.188 kB / 1.294 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00068/0.4407, allocations: 59.84 kB / 1.294 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.4409, allocations: 59.98 kB / 1.294 GB, free: 1.629 MB / 0.9825 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.0003675/0.4412, allocations: 195.7 kB / 1.294 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.933e-05/0.4413, allocations: 43.66 kB / 1.294 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.4414, allocations: 43.69 kB / 1.294 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.4414, allocations: 4 kB / 1.294 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4415, allocations: 0 / 1.294 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.4415, allocations: 3.984 kB / 1.294 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003162/0.4446, allocations: 0.72 MB / 1.295 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4446, allocations: 0 / 1.295 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.4447, allocations: 4 kB / 1.295 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4447, allocations: 3.938 kB / 1.295 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/0.4447, allocations: 19.97 kB / 1.295 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4447, allocations: 0 / 1.295 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4447, allocations: 0 / 1.295 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/0.4471, allocations: 490.5 kB / 1.295 GB, free: 44 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004501/0.4476, allocations: 125.6 kB / 1.295 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.4477, allocations: 11.98 kB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006644/0.4484, allocations: 27.97 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.4484, allocations: 15.98 kB / 1.295 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.4485, allocations: 55.97 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004747/0.449, allocations: 295.1 kB / 1.296 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.449, allocations: 0 / 1.296 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006576/0.4497, allocations: 71.98 kB / 1.296 GB, free: 15.46 MB / 0.9981 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.0002267/0.4499, allocations: 107.7 kB / 1.296 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001856/0.4517, allocations: 414.5 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4518, allocations: 0 / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.4528, allocations: 107.9 kB / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/0.4534, allocations: 29.95 kB / 1.296 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.4556, allocations: 0.5959 MB / 1.297 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.4561, allocations: 0.7669 MB / 1.298 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.709e-05/0.4562, allocations: 15.44 kB / 1.298 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/0.4562, allocations: 0 / 1.298 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of Templates: time 0.008939/0.4652, allocations: 3.684 MB / 1.301 GB, free: 9.605 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.442455323995091]