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.001907/0.001907, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002205/0.002205, allocations: 219 kB / 23.01 MB, free: 4.566 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.238/3.238, allocations: 0.505 GB / 0.8108 GB, free: 22.08 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: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [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.002284/0.002284, allocations: 67.88 kB / 1.178 GB, free: 16.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.345, allocations: 180.2 MB / 1.354 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003062/0.348, allocations: 1.542 MB / 1.356 GB, free: 6.461 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.3495, allocations: 0.5556 MB / 1.356 GB, free: 5.906 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.3495, allocations: 0 / 1.356 GB, free: 5.906 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.3496, allocations: 3.938 kB / 1.356 GB, free: 5.902 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.3498, allocations: 39.56 kB / 1.356 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008547/0.3506, allocations: 319.6 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005982/0.3512, allocations: 487.4 kB / 1.357 GB, free: 5.078 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.3513, allocations: 7.984 kB / 1.357 GB, free: 5.07 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004175/0.3517, allocations: 275.6 kB / 1.357 GB, free: 4.801 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/0.352, allocations: 152.9 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.57e-05/0.3521, allocations: 28 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.505e-05/0.3522, allocations: 28 kB / 1.357 GB, free: 4.598 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001627/0.3523, allocations: 115.7 kB / 1.358 GB, free: 4.484 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.3525, allocations: 183.1 kB / 1.358 GB, free: 4.305 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004908/0.353, allocations: 430.3 kB / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.353, allocations: 0 / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.413e-06/0.353, allocations: 0 / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.353, allocations: 0 / 1.358 GB, free: 3.883 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.001356/0.3544, allocations: 0.8028 MB / 1.359 GB, free: 3.008 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3544, allocations: 16.03 kB / 1.359 GB, free: 2.992 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.3546, allocations: 48.7 kB / 1.359 GB, free: 2.945 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.355, allocations: 260.7 kB / 1.359 GB, free: 2.668 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.3551, allocations: 20.36 kB / 1.359 GB, free: 2.648 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.085e-05/0.3551, allocations: 20.38 kB / 1.359 GB, free: 2.629 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009535/0.3561, allocations: 218 kB / 1.359 GB, free: 2.41 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3561, allocations: 4.188 kB / 1.359 GB, free: 2.406 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.3561, allocations: 7.938 kB / 1.359 GB, free: 2.398 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3561, allocations: 0 / 1.359 GB, free: 2.398 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006925/0.3568, allocations: 95.92 kB / 1.36 GB, free: 2.305 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.3573, allocations: 364.3 kB / 1.36 GB, free: 1.906 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009615/0.3583, allocations: 174.5 kB / 1.36 GB, free: 1.727 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006788/0.3589, allocations: 100.8 kB / 1.36 GB, free: 1.625 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.359, allocations: 4 kB / 1.36 GB, free: 1.621 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009027/0.3599, allocations: 219.2 kB / 1.36 GB, free: 1.395 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.794e-06/0.3599, allocations: 0 / 1.36 GB, free: 1.395 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.002401/0.3623, allocations: 491.6 kB / 1.361 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.3623, allocations: 63.39 kB / 1.361 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005302/0.3629, allocations: 409.9 kB / 1.361 GB, free: 436 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.89e-05/0.3629, allocations: 49.62 kB / 1.361 GB, free: 380 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.684e-05/0.363, allocations: 93.45 kB / 1.361 GB, free: 284 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.511e-05/0.3631, allocations: 43.67 kB / 1.361 GB, free: 240 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.3633, allocations: 129.5 kB / 1.362 GB, free: 104 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3634, allocations: 322.8 kB / 1.362 GB, free: 15.78 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.3637, allocations: 115.9 kB / 1.362 GB, free: 15.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.364, allocations: 174.5 kB / 1.362 GB, free: 15.47 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003997/0.3644, allocations: 273.2 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3644, allocations: 4 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008764/0.3653, allocations: 492.7 kB / 1.363 GB, free: 14.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.3654, allocations: 91.31 kB / 1.363 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3654, allocations: 0 / 1.363 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3654, allocations: 4 kB / 1.363 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.3656, allocations: 23.92 kB / 1.363 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.3656, allocations: 7.938 kB / 1.363 GB, free: 14.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.3661, allocations: 64.03 kB / 1.363 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.249e-05/0.3662, allocations: 59.97 kB / 1.363 GB, free: 14.41 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.000259/0.3664, allocations: 191.7 kB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.3665, allocations: 47.66 kB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.444e-05/0.3666, allocations: 39.69 kB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.3666, allocations: 7.984 kB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3666, allocations: 0 / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3666, allocations: 0 / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.3687, allocations: 0.7161 MB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3687, allocations: 4 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/0.3688, allocations: 4 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3688, allocations: 0 / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.163e-05/0.3688, allocations: 23.97 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.3688, allocations: 4 kB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3688, allocations: 0 / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.3705, allocations: 481.3 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.3708, allocations: 129.5 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.553e-05/0.3709, allocations: 16 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.3713, allocations: 35.97 kB / 1.365 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.3714, allocations: 7.922 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-05/0.3715, allocations: 67.97 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003316/0.3718, allocations: 295.1 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3718, allocations: 0 / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003462/0.3721, allocations: 63.98 kB / 1.365 GB, free: 12.23 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.0001648/0.3723, allocations: 119.2 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.3735, allocations: 402.5 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3735, allocations: 0 / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006792/0.3742, allocations: 115.8 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.3745, allocations: 33.56 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.3761, allocations: 0.59 MB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.3765, allocations: 0.7669 MB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.107e-05/0.3765, allocations: 23.42 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.3765, allocations: 0 / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of Templates: time 0.006221/0.3828, allocations: 3.672 MB / 1.371 GB, free: 6.371 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 800] 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] "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time [Calling sys.exit(0), Time elapsed: 11.383198683004593]