Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001698/0.001698, allocations: 113 kB / 18.94 MB, free: 2.934 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.002104/0.002104, allocations: 209.8 kB / 22.25 MB, free: 5.086 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.604/1.604, allocations: 230.6 MB / 256 MB, free: 8.016 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.828/2.828, allocations: 476.7 MB / 0.7707 GB, free: 4.215 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: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.0021/0.0021, allocations: 68.23 kB / 1.117 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3344, allocations: 169.9 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002987/0.3374, allocations: 1.566 MB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.3389, allocations: 0.5502 MB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.339, allocations: 4 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.3391, allocations: 7.875 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.3392, allocations: 27.84 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008356/0.34, allocations: 309.3 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005781/0.3406, allocations: 487.4 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.354e-05/0.3406, allocations: 7.984 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004034/0.341, allocations: 275.7 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003387/0.3414, allocations: 151.6 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-05/0.3415, allocations: 28 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.3416, allocations: 28 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.3417, allocations: 115.7 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.3419, allocations: 187 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004889/0.3424, allocations: 422.7 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.3424, allocations: 4 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3424, allocations: 0 / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.3424, allocations: 0 / 1.287 GB, free: 7.512 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.001398/0.3438, allocations: 0.8066 MB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.3439, allocations: 12.03 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.145e-05/0.3439, allocations: 42.73 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.344, allocations: 52.66 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/0.3445, allocations: 252.8 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/0.3446, allocations: 20.3 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.862e-05/0.3446, allocations: 28.36 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009464/0.3456, allocations: 213.6 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3456, allocations: 7.938 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.3456, allocations: 11.92 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3456, allocations: 0 / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006892/0.3463, allocations: 103.9 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.3468, allocations: 360.3 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009495/0.3477, allocations: 162.5 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006869/0.3484, allocations: 100.8 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.3484, allocations: 4 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009381/0.3494, allocations: 223.1 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.3494, allocations: 0 / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002367/0.3517, allocations: 493.1 kB / 1.29 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.3518, allocations: 59.39 kB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.3523, allocations: 417.9 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/0.3523, allocations: 41.7 kB / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.3524, allocations: 97.44 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.091e-05/0.3525, allocations: 39.73 kB / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.3527, allocations: 129.4 kB / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3528, allocations: 326.8 kB / 1.291 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.3531, allocations: 115.9 kB / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.3534, allocations: 171.1 kB / 1.291 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.3538, allocations: 277 kB / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3538, allocations: 4 kB / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009106/0.3547, allocations: 492.6 kB / 1.292 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.171e-05/0.3548, allocations: 91.31 kB / 1.292 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3548, allocations: 0 / 1.292 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3548, allocations: 4 kB / 1.292 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.355, allocations: 27.97 kB / 1.292 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.355, allocations: 3.938 kB / 1.292 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/0.3555, allocations: 64.03 kB / 1.292 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.31e-05/0.3556, allocations: 59.98 kB / 1.292 GB, free: 1.984 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.0002658/0.3559, allocations: 191.7 kB / 1.293 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/0.3559, allocations: 43.69 kB / 1.293 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.232e-05/0.356, allocations: 39.69 kB / 1.293 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.356, allocations: 4 kB / 1.293 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.356, allocations: 0 / 1.293 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.356, allocations: 4 kB / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.3582, allocations: 0.7113 MB / 1.293 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3582, allocations: 4 kB / 1.293 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.3582, allocations: 11.94 kB / 1.293 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.3582, allocations: 4 kB / 1.293 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.3583, allocations: 19.91 kB / 1.293 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3583, allocations: 4 kB / 1.293 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3583, allocations: 0 / 1.293 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.3599, allocations: 475.4 kB / 1.294 GB, free: 424 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.3602, allocations: 133.6 kB / 1.294 GB, free: 288 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.49e-05/0.3603, allocations: 15.92 kB / 1.294 GB, free: 272 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/0.3608, allocations: 27.97 kB / 1.294 GB, free: 244 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.3608, allocations: 15.98 kB / 1.294 GB, free: 228 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.949e-05/0.3609, allocations: 55.97 kB / 1.294 GB, free: 172 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003456/0.3612, allocations: 295.1 kB / 1.294 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3612, allocations: 0 / 1.294 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003814/0.3616, allocations: 64 kB / 1.295 GB, free: 15.82 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.001988/0.3636, allocations: 1.025 MB / 1.296 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001232/0.3648, allocations: 413 kB / 1.296 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3648, allocations: 0 / 1.296 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000722/0.3655, allocations: 111.8 kB / 1.296 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.3659, allocations: 29.58 kB / 1.296 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004292/0.3702, allocations: 2.784 MB / 1.299 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.3706, allocations: 0.7708 MB / 1.3 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.593e-05/0.3707, allocations: 17.06 kB / 1.3 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.3708, allocations: 27.42 kB / 1.3 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.3708, allocations: 3.938 kB / 1.3 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03552/0.4063, allocations: 6.33 MB / 1.306 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.71, allocations: 7.922 kB / 1.306 GB, free: 4.141 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.56062267906964]