Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.001343/0.001343, allocations: 103 kB / 16.45 MB, free: 6.449 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.001446/0.001446, allocations: 212.9 kB / 19.43 MB, free: 3.637 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 / 252.8 MB, free: 9.145 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.204/3.204, allocations: 0.49 GB / 0.7916 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.CalendarTimeMonths,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.002085/0.002085, allocations: 66 kB / 1.149 GB, free: 26.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3701, allocations: 176.1 MB / 1.321 GB, free: 3.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002951/0.3731, allocations: 1.548 MB / 1.322 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.3744, allocations: 0.5345 MB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.068e-05/0.3745, allocations: 0 / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.3746, allocations: 7.875 kB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.3747, allocations: 35.73 kB / 1.323 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008275/0.3756, allocations: 310 kB / 1.323 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005573/0.3761, allocations: 487.4 kB / 1.324 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.3762, allocations: 4 kB / 1.324 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003721/0.3765, allocations: 279.6 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.3768, allocations: 151.3 kB / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.978e-05/0.3769, allocations: 28 kB / 1.324 GB, free: 64 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.134e-05/0.3769, allocations: 28 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.3771, allocations: 115.7 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.3773, allocations: 187 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000469/0.3778, allocations: 422.7 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3778, allocations: 0 / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3778, allocations: 0 / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.3778, allocations: 0 / 1.325 GB, free: 15.32 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.001377/0.3791, allocations: 0.882 MB / 1.326 GB, free: 14.35 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.3792, allocations: 15.98 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.612e-05/0.3793, allocations: 38.73 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.3794, allocations: 52.7 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.3798, allocations: 318.5 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.3798, allocations: 12.38 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.911e-05/0.3799, allocations: 32.36 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.381, allocations: 217.1 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.381, allocations: 3.938 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.381, allocations: 0 / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.381, allocations: 0 / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008514/0.3819, allocations: 103.9 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.3823, allocations: 393.2 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.3835, allocations: 174.4 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008123/0.3843, allocations: 96.78 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.3843, allocations: 8 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.3853, allocations: 219.1 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.532e-06/0.3853, allocations: 0 / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0028/0.3881, allocations: 489 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.3882, allocations: 59.39 kB / 1.328 GB, free: 12.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00046/0.3887, allocations: 417.9 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.143e-05/0.3887, allocations: 41.69 kB / 1.328 GB, free: 11.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.659e-05/0.3888, allocations: 93.45 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.3889, allocations: 47.67 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.3891, allocations: 121.5 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3892, allocations: 326.8 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.3895, allocations: 119.9 kB / 1.329 GB, free: 10.85 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.3898, allocations: 174.5 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.3902, allocations: 274.8 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3902, allocations: 0 / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008846/0.3911, allocations: 496.9 kB / 1.33 GB, free: 9.859 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.93e-05/0.3912, allocations: 97.17 kB / 1.33 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3912, allocations: 0 / 1.33 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.3913, allocations: 4 kB / 1.33 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.3914, allocations: 23.92 kB / 1.33 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3914, allocations: 192 / 1.33 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.3919, allocations: 63.84 kB / 1.33 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.171e-05/0.392, allocations: 63.97 kB / 1.33 GB, free: 9.602 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.0002497/0.3923, allocations: 192 kB / 1.33 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.3924, allocations: 43.66 kB / 1.33 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.106e-05/0.3924, allocations: 43.75 kB / 1.33 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3924, allocations: 0 / 1.33 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.3924, allocations: 11.97 kB / 1.33 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3924, allocations: 0 / 1.33 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.3949, allocations: 0.7408 MB / 1.331 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3949, allocations: 0 / 1.331 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.3949, allocations: 8 kB / 1.331 GB, free: 8.492 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.3949, allocations: 3.984 kB / 1.331 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/0.3949, allocations: 15.98 kB / 1.331 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.395, allocations: 4 kB / 1.331 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.395, allocations: 0 / 1.331 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.3969, allocations: 479.4 kB / 1.332 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.3971, allocations: 204.7 kB / 1.332 GB, free: 7.766 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.526e-05/0.3972, allocations: 11.98 kB / 1.332 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005205/0.3977, allocations: 27.97 kB / 1.332 GB, free: 7.727 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.3978, allocations: 19.98 kB / 1.332 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.157e-05/0.3978, allocations: 55.98 kB / 1.332 GB, free: 7.652 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000321/0.3981, allocations: 295.1 kB / 1.332 GB, free: 7.367 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3981, allocations: 0 / 1.332 GB, free: 7.367 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003687/0.3985, allocations: 63.98 kB / 1.332 GB, free: 7.305 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.002321/0.4008, allocations: 1.03 MB / 1.333 GB, free: 6.246 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001377/0.4022, allocations: 402.5 kB / 1.334 GB, free: 5.828 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4022, allocations: 0 / 1.334 GB, free: 5.828 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008478/0.4031, allocations: 107.9 kB / 1.334 GB, free: 5.723 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.4034, allocations: 35.72 kB / 1.334 GB, free: 5.688 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004495/0.4079, allocations: 2.8 MB / 1.336 GB, free: 2.754 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.4084, allocations: 0.7708 MB / 1.337 GB, free: 1.953 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.354e-05/0.4084, allocations: 17.08 kB / 1.337 GB, free: 1.934 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.4085, allocations: 23.42 kB / 1.337 GB, free: 1.91 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.4085, allocations: 0 / 1.337 GB, free: 1.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.4408, allocations: 6.138 MB / 1.343 GB, free: 11.77 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/8.601, allocations: 6.141 kB / 1.343 GB, free: 11.77 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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: 15.237828525016084]