Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001289/0.001289, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.001579/0.001579, allocations: 218.5 kB / 22.26 MB, free: 5.125 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.988 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.334/3.334, allocations: 0.49 GB / 0.7951 GB, free: 33.38 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: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) [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.001931/0.001931, allocations: 66.95 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.435, allocations: 176.1 MB / 1.326 GB, free: 1.996 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002938/0.4379, allocations: 1.556 MB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.4393, allocations: 0.5384 MB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.4394, allocations: 0 / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.4395, allocations: 11.86 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.4396, allocations: 31.84 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009057/0.4405, allocations: 314.3 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005699/0.4411, allocations: 491.4 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.4411, allocations: 8 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004073/0.4416, allocations: 271.7 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.4419, allocations: 161 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.476e-05/0.442, allocations: 28 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.601e-05/0.442, allocations: 28 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.4422, allocations: 111.7 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.4424, allocations: 187 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005072/0.4429, allocations: 438.6 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.4429, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4429, allocations: 0 / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.4429, allocations: 0 / 1.33 GB, free: 13.86 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.001401/0.4443, allocations: 0.795 MB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.4444, allocations: 12.03 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.84e-05/0.4444, allocations: 38.73 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.4445, allocations: 52.7 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.445, allocations: 256.7 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.999e-05/0.445, allocations: 20.36 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.486e-05/0.4451, allocations: 28.38 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009277/0.446, allocations: 213.9 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.446, allocations: 3.938 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.4461, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.4461, allocations: 4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000691/0.4468, allocations: 111.7 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/0.4473, allocations: 356.3 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009697/0.4482, allocations: 170.4 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006507/0.4489, allocations: 104.8 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.4489, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009041/0.4498, allocations: 227.1 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.4498, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002315/0.4521, allocations: 491.4 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.4522, allocations: 59.39 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004683/0.4527, allocations: 413.9 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.286e-05/0.4527, allocations: 41.69 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.439e-05/0.4528, allocations: 93.44 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.4529, allocations: 35.7 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.4531, allocations: 133.5 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.4533, allocations: 322.8 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.4535, allocations: 115.9 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.4538, allocations: 173.9 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.4543, allocations: 278.4 kB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4543, allocations: 4 kB / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008561/0.4551, allocations: 494.4 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.4552, allocations: 93.19 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.4552, allocations: 4 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.4553, allocations: 3.984 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.4555, allocations: 23.92 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.4555, allocations: 4 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004567/0.4559, allocations: 60 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.171e-05/0.456, allocations: 59.97 kB / 1.335 GB, free: 8.352 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.0002541/0.4563, allocations: 196.2 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/0.4563, allocations: 43.66 kB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.522e-05/0.4564, allocations: 39.67 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.4564, allocations: 4 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4564, allocations: 0 / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.4564, allocations: 0 / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.4586, allocations: 0.7165 MB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.4586, allocations: 4 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.4586, allocations: 4 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.4586, allocations: 3.984 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/0.4587, allocations: 23.98 kB / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.4587, allocations: 0 / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4587, allocations: 3.938 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.4603, allocations: 489.6 kB / 1.336 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002893/0.4606, allocations: 133.6 kB / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.162e-05/0.4606, allocations: 11.94 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/0.4611, allocations: 27.97 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.4611, allocations: 11.98 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.181e-05/0.4612, allocations: 55.97 kB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003156/0.4615, allocations: 295.1 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4615, allocations: 4 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003454/0.4618, allocations: 67.98 kB / 1.337 GB, free: 6.168 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.002007/0.4638, allocations: 1.028 MB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.465, allocations: 405.9 kB / 1.338 GB, free: 4.691 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.465, allocations: 384 / 1.338 GB, free: 4.691 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006682/0.4657, allocations: 115.8 kB / 1.339 GB, free: 4.578 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.4661, allocations: 29.58 kB / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/0.4704, allocations: 2.788 MB / 1.341 GB, free: 1.629 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.4708, allocations: 0.7747 MB / 1.342 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.361e-05/0.4709, allocations: 17.06 kB / 1.342 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.953e-05/0.4709, allocations: 15.44 kB / 1.342 GB, free: 0.7969 MB / 1.029 GB Notification: Performance of SimCode: time 7.42e-07/0.4709, allocations: 4 kB / 1.342 GB, free: 0.793 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03615/0.5071, allocations: 6.331 MB / 1.348 GB, free: 10.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.92, allocations: 8.062 kB / 1.348 GB, free: 10.49 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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: 19.079631595872343]