Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 106.7 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002227/0.002227, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.173/3.173, allocations: 497.2 MB / 0.7811 GB, free: 33.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 69.11 kB / 1.134 GB, free: 33.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3693, allocations: 173.9 MB / 1.304 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003562/0.3729, allocations: 1.533 MB / 1.305 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.3744, allocations: 0.5383 MB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.205e-05/0.3745, allocations: 0 / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.3746, allocations: 7.875 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.3747, allocations: 31.84 kB / 1.306 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.3757, allocations: 318.7 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007093/0.3765, allocations: 479.4 kB / 1.307 GB, free: 14.53 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.474e-05/0.3765, allocations: 8 kB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004999/0.377, allocations: 279.6 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003569/0.3774, allocations: 147.4 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.988e-05/0.3775, allocations: 28 kB / 1.307 GB, free: 14.07 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.823e-05/0.3775, allocations: 32 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.3777, allocations: 115.6 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.3779, allocations: 183.1 kB / 1.308 GB, free: 13.75 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005221/0.3784, allocations: 422.7 kB / 1.308 GB, free: 13.34 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3784, allocations: 0 / 1.308 GB, free: 13.34 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3784, allocations: 3.938 kB / 1.308 GB, free: 13.33 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.3784, allocations: 0 / 1.308 GB, free: 13.33 MB / 1.014 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.001558/0.38, allocations: 0.8781 MB / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.38, allocations: 12.92 kB / 1.309 GB, free: 12.35 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.07e-05/0.3801, allocations: 42.73 kB / 1.309 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.3803, allocations: 56.66 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.3808, allocations: 310.5 kB / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.522e-05/0.3808, allocations: 16.38 kB / 1.309 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.308e-05/0.3809, allocations: 28.36 kB / 1.309 GB, free: 11.86 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000963/0.3819, allocations: 210 kB / 1.309 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3819, allocations: 11.88 kB / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.3819, allocations: 4 kB / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3819, allocations: 0 / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007083/0.3826, allocations: 95.92 kB / 1.31 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.3832, allocations: 385.3 kB / 1.31 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009862/0.3842, allocations: 174.4 kB / 1.31 GB, free: 10.94 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006796/0.3849, allocations: 103.4 kB / 1.31 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.3849, allocations: 4 kB / 1.31 GB, free: 10.83 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009387/0.3858, allocations: 235 kB / 1.31 GB, free: 10.59 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 2.374e-06/0.3858, allocations: 0 / 1.31 GB, free: 10.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.002478/0.3883, allocations: 483.5 kB / 1.311 GB, free: 10.11 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.3884, allocations: 63.39 kB / 1.311 GB, free: 10.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/0.3889, allocations: 409.9 kB / 1.311 GB, free: 9.625 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.987e-05/0.3889, allocations: 49.69 kB / 1.311 GB, free: 9.57 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.627e-05/0.389, allocations: 89.45 kB / 1.311 GB, free: 9.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.085e-05/0.3891, allocations: 39.67 kB / 1.311 GB, free: 9.441 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.3893, allocations: 137.4 kB / 1.312 GB, free: 9.301 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002334/0.3896, allocations: 322.8 kB / 1.312 GB, free: 8.977 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.3898, allocations: 115.9 kB / 1.312 GB, free: 8.863 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.3901, allocations: 174.9 kB / 1.312 GB, free: 8.672 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.3905, allocations: 270.5 kB / 1.312 GB, free: 8.375 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3905, allocations: 0 / 1.312 GB, free: 8.375 MB / 1.014 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008976/0.3914, allocations: 498.2 kB / 1.313 GB, free: 7.871 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.723e-05/0.3915, allocations: 89.19 kB / 1.313 GB, free: 7.773 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3915, allocations: 3.984 kB / 1.313 GB, free: 7.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3916, allocations: 4 kB / 1.313 GB, free: 7.766 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.3917, allocations: 31.92 kB / 1.313 GB, free: 7.734 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3917, allocations: 0 / 1.313 GB, free: 7.734 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.3922, allocations: 64.03 kB / 1.313 GB, free: 7.672 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.065e-05/0.3923, allocations: 55.98 kB / 1.313 GB, free: 7.617 MB / 1.014 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.0002597/0.3926, allocations: 195.9 kB / 1.313 GB, free: 7.414 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.3927, allocations: 47.7 kB / 1.313 GB, free: 7.367 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.363e-05/0.3927, allocations: 39.69 kB / 1.313 GB, free: 7.332 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3927, allocations: 4 kB / 1.313 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3927, allocations: 0 / 1.313 GB, free: 7.328 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3928, allocations: 3.984 kB / 1.313 GB, free: 7.324 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.395, allocations: 0.7405 MB / 1.314 GB, free: 6.523 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.395, allocations: 4 kB / 1.314 GB, free: 6.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.395, allocations: 7.938 kB / 1.314 GB, free: 6.512 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.395, allocations: 0 / 1.314 GB, free: 6.512 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.3951, allocations: 23.97 kB / 1.314 GB, free: 6.488 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.185e-06/0.3951, allocations: 0 / 1.314 GB, free: 6.488 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3951, allocations: 4 kB / 1.314 GB, free: 6.484 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.3968, allocations: 481.8 kB / 1.315 GB, free: 6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/0.3971, allocations: 196.7 kB / 1.315 GB, free: 5.789 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.198e-05/0.3972, allocations: 8 kB / 1.315 GB, free: 5.781 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.3976, allocations: 35.95 kB / 1.315 GB, free: 5.746 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.3976, allocations: 15.92 kB / 1.315 GB, free: 5.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.271e-05/0.3977, allocations: 59.98 kB / 1.315 GB, free: 5.672 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003352/0.3981, allocations: 291.1 kB / 1.315 GB, free: 5.387 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3981, allocations: 0 / 1.315 GB, free: 5.387 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004225/0.3985, allocations: 71.92 kB / 1.315 GB, free: 5.316 MB / 1.014 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.002035/0.4005, allocations: 1.017 MB / 1.316 GB, free: 4.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001375/0.4019, allocations: 406.5 kB / 1.317 GB, free: 3.848 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4019, allocations: 0 / 1.317 GB, free: 3.848 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006928/0.4026, allocations: 114 kB / 1.317 GB, free: 3.738 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.403, allocations: 25.53 kB / 1.317 GB, free: 3.711 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00467/0.4077, allocations: 2.801 MB / 1.32 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.4081, allocations: 0.7708 MB / 1.32 GB, free: 15.98 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.527e-05/0.4082, allocations: 25 kB / 1.32 GB, free: 15.96 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.783e-05/0.4083, allocations: 23.44 kB / 1.32 GB, free: 15.93 MB / 1.029 GB Notification: Performance of SimCode: time 9.52e-07/0.4083, allocations: 0 / 1.32 GB, free: 15.93 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03534/0.4436, allocations: 6.143 MB / 1.326 GB, free: 9.812 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.649/9.092, allocations: 4.938 kB / 1.326 GB, free: 9.812 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.84559069480747]