Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001821/0.001821, allocations: 114.3 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.002886/0.002886, allocations: 215.5 kB / 22.26 MB, free: 5.078 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.345/3.345, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_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.002098/0.002098, allocations: 63 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3537, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003239/0.3569, allocations: 1.559 MB / 1.354 GB, free: 6.91 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.3583, allocations: 0.5438 MB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.387e-05/0.3584, allocations: 8 kB / 1.355 GB, free: 6.359 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.071e-05/0.3585, allocations: 11.86 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.3586, allocations: 23.66 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000897/0.3595, allocations: 313.4 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006956/0.3602, allocations: 483.5 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.603e-05/0.3602, allocations: 7.938 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00052/0.3608, allocations: 279.7 kB / 1.356 GB, free: 5.266 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004316/0.3612, allocations: 152.2 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.3613, allocations: 28 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.962e-05/0.3614, allocations: 24 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.3616, allocations: 115.7 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.3618, allocations: 187 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004865/0.3623, allocations: 430.6 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3623, allocations: 4 kB / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3623, allocations: 0 / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.3623, allocations: 3.984 kB / 1.357 GB, free: 4.34 MB / 1.045 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.001378/0.3637, allocations: 0.8028 MB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3637, allocations: 8.031 kB / 1.358 GB, free: 3.457 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.531e-05/0.3638, allocations: 38.73 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.3639, allocations: 48.7 kB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/0.3643, allocations: 260.8 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/0.3644, allocations: 16.38 kB / 1.358 GB, free: 3.07 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.891e-05/0.3644, allocations: 24.36 kB / 1.358 GB, free: 3.047 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009798/0.3654, allocations: 225.9 kB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3654, allocations: 3.938 kB / 1.358 GB, free: 2.816 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.3655, allocations: 4 kB / 1.358 GB, free: 2.812 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.3655, allocations: 0 / 1.358 GB, free: 2.812 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007611/0.3662, allocations: 95.92 kB / 1.358 GB, free: 2.719 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.3667, allocations: 372.3 kB / 1.359 GB, free: 2.312 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.3677, allocations: 166.6 kB / 1.359 GB, free: 2.141 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007055/0.3684, allocations: 104.8 kB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.3685, allocations: 4 kB / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009499/0.3694, allocations: 223 kB / 1.359 GB, free: 1.801 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 3.817e-06/0.3694, allocations: 4 kB / 1.359 GB, free: 1.797 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.002454/0.3719, allocations: 478.8 kB / 1.36 GB, free: 1.324 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.3719, allocations: 67.34 kB / 1.36 GB, free: 1.246 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/0.3724, allocations: 413.9 kB / 1.36 GB, free: 0.832 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.476e-05/0.3725, allocations: 37.7 kB / 1.36 GB, free: 0.7891 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.779e-05/0.3725, allocations: 97.44 kB / 1.36 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.3726, allocations: 47.67 kB / 1.36 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.3728, allocations: 125.5 kB / 1.36 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3729, allocations: 322.8 kB / 1.361 GB, free: 196 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.3732, allocations: 119.9 kB / 1.361 GB, free: 76 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.3735, allocations: 173.9 kB / 1.361 GB, free: 15.88 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.3739, allocations: 271 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3739, allocations: 0 / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008501/0.3748, allocations: 498.5 kB / 1.362 GB, free: 15.08 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.111e-05/0.3749, allocations: 87.31 kB / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3749, allocations: 3.938 kB / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.3749, allocations: 12.17 kB / 1.362 GB, free: 14.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.3751, allocations: 27.92 kB / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3751, allocations: 0 / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.3755, allocations: 59.84 kB / 1.362 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.661e-05/0.3756, allocations: 55.98 kB / 1.362 GB, free: 14.83 MB / 1.061 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.0002719/0.3759, allocations: 203.9 kB / 1.362 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.376, allocations: 43.66 kB / 1.362 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.019e-05/0.376, allocations: 39.69 kB / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.376, allocations: 0 / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.376, allocations: 0 / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3761, allocations: 7.984 kB / 1.362 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.3783, allocations: 0.7187 MB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3783, allocations: 3.984 kB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-05/0.3783, allocations: 4 kB / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3783, allocations: 0 / 1.363 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/0.3784, allocations: 23.97 kB / 1.363 GB, free: 13.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.3784, allocations: 4 kB / 1.363 GB, free: 13.72 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3784, allocations: 4 kB / 1.363 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.3801, allocations: 475.4 kB / 1.363 GB, free: 13.23 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.3804, allocations: 133.5 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.503e-05/0.3805, allocations: 19.98 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004728/0.3809, allocations: 31.97 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.381, allocations: 7.984 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-05/0.3811, allocations: 59.97 kB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003731/0.3814, allocations: 299 kB / 1.364 GB, free: 12.7 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3814, allocations: 0 / 1.364 GB, free: 12.7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003938/0.3818, allocations: 63.98 kB / 1.364 GB, free: 12.64 MB / 1.061 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.00207/0.3839, allocations: 1.017 MB / 1.365 GB, free: 11.59 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.3852, allocations: 412.3 kB / 1.365 GB, free: 11.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3852, allocations: 0 / 1.365 GB, free: 11.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007551/0.386, allocations: 116.2 kB / 1.365 GB, free: 11.05 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.3864, allocations: 25.64 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004603/0.391, allocations: 2.786 MB / 1.368 GB, free: 8.102 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.3915, allocations: 0.7669 MB / 1.369 GB, free: 7.309 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.917e-05/0.3916, allocations: 17.08 kB / 1.369 GB, free: 7.293 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.882e-05/0.3916, allocations: 27.42 kB / 1.369 GB, free: 7.266 MB / 1.061 GB Notification: Performance of SimCode: time 6.81e-07/0.3916, allocations: 0 / 1.369 GB, free: 7.266 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03721/0.4288, allocations: 6.328 MB / 1.375 GB, free: 0.9727 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.01, allocations: 6.141 kB / 1.375 GB, free: 0.9727 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.94923553802073]