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.001815/0.001815, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002366/0.002366, allocations: 210 kB / 22.24 MB, free: 5.262 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.785 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.887/2.887, allocations: 476 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_11_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.00214/0.00214, allocations: 69.95 kB / 1.117 GB, free: 41.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3439, allocations: 170 MB / 1.283 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002909/0.3468, allocations: 1.543 MB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.3482, allocations: 0.5265 MB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.05e-05/0.3483, allocations: 0 / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.3484, allocations: 7.875 kB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.3485, allocations: 31.84 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009284/0.3494, allocations: 316.5 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006456/0.35, allocations: 487.4 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.3501, allocations: 3.984 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004823/0.3506, allocations: 279.7 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000336/0.3509, allocations: 127.7 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.351, allocations: 32 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.874e-05/0.3511, allocations: 28 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.3513, allocations: 119.6 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.3514, allocations: 155.3 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004734/0.3519, allocations: 428.1 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3519, allocations: 3.984 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3519, allocations: 0 / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.3519, allocations: 0 / 1.286 GB, free: 8.539 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.001299/0.3532, allocations: 0.7911 MB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3533, allocations: 12.03 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.867e-05/0.3533, allocations: 42.73 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.3535, allocations: 52.66 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.3539, allocations: 252.8 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.3539, allocations: 20.31 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-05/0.354, allocations: 28.36 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009629/0.355, allocations: 225.9 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.355, allocations: 3.938 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.355, allocations: 4 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.355, allocations: 0 / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007387/0.3557, allocations: 99.92 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.3562, allocations: 304.5 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.3572, allocations: 170.4 kB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007179/0.3579, allocations: 100.8 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.358, allocations: 4 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009944/0.3589, allocations: 231 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.3589, allocations: 0 / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002532/0.3615, allocations: 485.1 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.3615, allocations: 55.41 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004722/0.362, allocations: 417.9 kB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.52e-05/0.3621, allocations: 41.69 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.402e-05/0.3622, allocations: 89.45 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/0.3622, allocations: 43.67 kB / 1.29 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.3624, allocations: 129.4 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3626, allocations: 326.8 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.3629, allocations: 195.2 kB / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/0.3633, allocations: 246.5 kB / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.3637, allocations: 275 kB / 1.291 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3637, allocations: 0 / 1.291 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009407/0.3647, allocations: 0.5567 MB / 1.291 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.845e-05/0.3648, allocations: 83.31 kB / 1.292 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3648, allocations: 0 / 1.292 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3648, allocations: 4 kB / 1.292 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.365, allocations: 23.92 kB / 1.292 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.365, allocations: 0 / 1.292 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000481/0.3654, allocations: 63.83 kB / 1.292 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.825e-05/0.3655, allocations: 60.05 kB / 1.292 GB, free: 2.84 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.0002524/0.3658, allocations: 197 kB / 1.292 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.3658, allocations: 39.7 kB / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.653e-05/0.3659, allocations: 43.67 kB / 1.292 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.3659, allocations: 4 kB / 1.292 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3659, allocations: 4 kB / 1.292 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3659, allocations: 0 / 1.292 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.3684, allocations: 0.7083 MB / 1.293 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3684, allocations: 0 / 1.293 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.796e-05/0.3685, allocations: 4 kB / 1.293 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.3685, allocations: 3.984 kB / 1.293 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.331e-05/0.3685, allocations: 27.91 kB / 1.293 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.3685, allocations: 0 / 1.293 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3685, allocations: 0 / 1.293 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.3704, allocations: 490.6 kB / 1.293 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.3707, allocations: 125.6 kB / 1.293 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.455e-05/0.3708, allocations: 15.98 kB / 1.293 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000466/0.3713, allocations: 35.97 kB / 1.293 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.3713, allocations: 3.984 kB / 1.293 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-05/0.3714, allocations: 63.91 kB / 1.293 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003817/0.3718, allocations: 299.1 kB / 1.294 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3718, allocations: 0 / 1.294 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004328/0.3722, allocations: 63.98 kB / 1.294 GB, free: 0.6758 MB / 0.9825 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.002224/0.3744, allocations: 1.028 MB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.3758, allocations: 477.8 kB / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3758, allocations: 384 / 1.295 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007424/0.3765, allocations: 115.8 kB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.377, allocations: 35.97 kB / 1.295 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004948/0.3819, allocations: 3.074 MB / 1.298 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.3821, allocations: 167 kB / 1.299 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.298e-05/0.3822, allocations: 13.08 kB / 1.299 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.23e-05/0.3823, allocations: 19.44 kB / 1.299 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/0.3823, allocations: 0 / 1.299 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03976/0.422, allocations: 7.978 MB / 1.306 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.97, allocations: 5.828 kB / 1.306 GB, free: 3.594 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 420.0] 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] Reference file matches [Calling sys.exit(0), Time elapsed: 19.07091484637931]